Changeset View
Changeset View
Standalone View
Standalone View
bin/Packager/MacDMGPackager.py
Context not available. | |||||
39 | moveTargets = [ | 39 | moveTargets = [ | ||
---|---|---|---|---|---|
40 | (os.path.join(archive, "lib", "plugins"), os.path.join(appPath, "Contents", "PlugIns")), | 40 | (os.path.join(archive, "lib", "plugins"), os.path.join(appPath, "Contents", "PlugIns")), | ||
41 | (os.path.join(archive, "plugins"), os.path.join(appPath, "Contents", "PlugIns")), | 41 | (os.path.join(archive, "plugins"), os.path.join(appPath, "Contents", "PlugIns")), | ||
42 | (os.path.join(archive, "lib", "libexec", "kf5"), os.path.join(appPath, "Contents", "MacOS")), | | |||
43 | (os.path.join(archive, "lib"), targetLibdir), | 42 | (os.path.join(archive, "lib"), targetLibdir), | ||
44 | (os.path.join(archive, "share"), os.path.join(appPath, "Contents", "Resources"))] | 43 | (os.path.join(archive, "share"), os.path.join(appPath, "Contents", "Resources"))] | ||
45 | 44 | | |||
46 | if not appPath.startswith(archive): | 45 | if not appPath.startswith(archive): | ||
47 | moveTargets += [(os.path.join(archive, "bin"), os.path.join(appPath, "Contents", "MacOS"))] | 46 | moveTargets += [(os.path.join(archive, "bin"), os.path.join(appPath, "Contents", "MacOS"))] | ||
48 | 47 | | |||
48 | if os.path.exists(os.path.join(archive, "lib", "libexec", "kf5", "kioslave")): | ||||
49 | if not utils.copyFile(os.path.join(archive, "lib", "libexec", "kf5", "kioslave"), | ||||
50 | os.path.join(appPath, "Contents", "MacOS"), linkOnly=False): | ||||
51 | return False | ||||
52 | | ||||
49 | for src, dest in moveTargets: | 53 | for src, dest in moveTargets: | ||
50 | if os.path.exists(src): | 54 | if os.path.exists(src): | ||
51 | if not utils.mergeTree(src, dest): | 55 | if not utils.mergeTree(src, dest): | ||
Context not available. |