mirror of
https://github.com/jaredtao/TaoQuick.git
synced 2025-01-19 20:22:56 +08:00
14 lines
282 B
Plaintext
14 lines
282 B
Plaintext
defineReplace(getBundlePath) {
|
|
appName = $$1
|
|
BundlePath =
|
|
macos{
|
|
CONFIG(debug, debug|release){
|
|
CONFIG -=app_bundle
|
|
} else {
|
|
BundlePath=$${appName}.app/Contents/MacOS/
|
|
}
|
|
}
|
|
export(CONFIG)
|
|
return ($$BundlePath)
|
|
}
|