Skip to content

Commit

Permalink
Fix issue with generating linux binaries.
Browse files Browse the repository at this point in the history
  • Loading branch information
prabhuramachandran committed Mar 18, 2017
1 parent 1b20c31 commit 3bae207
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions freeze.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ def make_bundle():
if sys.platform.startswith('linux'):
shutil.copy(os.path.join('installer', 'vixen'), package_dir)
shutil.copy(os.path.join('installer', 'ViXeN.desktop'), package_dir)
ssl_cert = os.path.join(sys.prefix, 'ssl', 'cert.pem')
if os.path.exists(ssl_cert):
d = os.path.join(package_dir, 'vixen_app', 'ssl')
if not os.path.exists(d):
os.makedirs(d)
shutil.copy(ssl_cert, d)
elif sys.platform.startswith('win32'):
shutil.copy(os.path.join('installer', 'vixen.bat'), package_dir)
shutil.copy(os.path.join('installer', 'vixen.lnk'), package_dir)
Expand Down

0 comments on commit 3bae207

Please sign in to comment.