跳到主要内容

获取应用程序安装路径(app.installPath)

函数

路径 = app.installPath(应用程序bundleId)

参数

  • 应用程序bundleId 文本型

返回值

  • 路径 文本型

说明

用于获取 app 的安装路径

示例

print(string.format("应用的安装路径是:%s" ,app.installPath("com.ss.iphone.ugc.aweme.lite")))