1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 14:41:39 +00:00

Removed the 'build64' option and added a 'dev' configuration to all xcode projects.

This commit is contained in:
Virgil Dupras
2010-02-04 13:45:35 +01:00
parent fb711edeeb
commit 8551fc23fe
7 changed files with 150 additions and 50 deletions

10
run.py
View File

@@ -19,13 +19,15 @@ def main():
conf = yaml.load(open('conf.yaml'))
edition = conf['edition']
ui = conf['ui']
dev = conf['dev']
print "Running dupeGuru {0} with UI {1}".format(edition.upper(), ui)
if ui == 'cocoa':
subfolder = 'dev' if dev else 'release'
app_path = {
'se': 'cocoa/se/build/Release/dupeGuru.app',
'me': 'cocoa/me/build/Release/dupeGuru\\ ME.app',
'pe': 'cocoa/pe/build/Release/dupeGuru\\ PE.app',
}[edition]
'se': 'cocoa/se/build/{0}/dupeGuru.app',
'me': 'cocoa/me/build/{0}/dupeGuru\\ ME.app',
'pe': 'cocoa/pe/build/{0}/dupeGuru\\ PE.app',
}[edition].format(subfolder)
os.system('open {0}'.format(app_path))
elif ui == 'qt':
add_to_pythonpath('.')