Browse Source

Solve some fringe issues for OSX.

pull/91/head
shypike 12 years ago
parent
commit
56a2e492b4
  1. 4
      SABnzbd.py
  2. 2
      package.py

4
SABnzbd.py

@ -1703,7 +1703,11 @@ def main():
sys.stdout.flush()
sabnzbd.pid_file()
if getattr(sys, 'frozen', None) == 'macosx_app':
try:
AppHelper.stopEventLoop()
except:
# Failing AppHelper libary!
os._exit(0)
else:
growler.send_notification('SABnzbd',T('SABnzbd shutdown finished'), 'startup')
os._exit(0)

2
package.py

@ -462,7 +462,7 @@ if target == 'app':
else:
print 'No SHARE variable set, build result not copied'
if OSX_ML:
if OSX_ML and dest_path:
print 'Create src %s' % fileOSr
delete_files(fileOSr)
os.system('tar -czf "%s" --exclude ".git*" --exclude "sab*.zip" --exclude "SAB*.tar.gz" --exclude "*.cmd" --exclude "*.pyc" '

Loading…
Cancel
Save