added applications shortcut to dmg, prevented synergy from opening in /Volumes/, attempted fix for os x 10.8 would show assistive devices warning even if enabled.

This commit is contained in:
Nick Bolton
2014-01-28 11:33:54 +00:00
parent f050f04014
commit fd9abce229
2 changed files with 20 additions and 3 deletions

View File

@@ -662,11 +662,15 @@ class InternalCommands:
# ensure dist dir is clean
if os.path.exists(dist):
os.rmdir(dist)
shutil.rmtree(dist)
os.makedirs(dist)
shutil.copytree(dir + "/" + name + ".app", dist + "/" + name + ".app")
self.try_chdir(dist)
err = os.system("ln -s /Applications")
self.restore_chdir()
fileName = "%s-%s-%s.dmg" % (
self.project,
self.getVersionFromCmake(),