Skip to main content

Get app bundle path (app.bundle_path)

Declaration

path = app.bundle_path(bid)

Parameters

  • bid
    String. App bundle identifier. You can find it in XXT App -> More -> App List.

Returns

  • path
    String | nil. The app bundle path, or nil if the app does not exist.

Notes

  • Get the app's bundle path.

Example

path = app.bundle_path("com.tencent.mqq") -- get QQ bundle path