mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-25 15:00:27 -04:00
Oops, I can't have a variable called os
This commit is contained in:
parent
9f78e34d5b
commit
f926d15721
1 changed files with 4 additions and 4 deletions
8
setup.py
8
setup.py
|
@ -45,13 +45,13 @@ url = 'https://github.com/micahflee/onionshare'
|
||||||
license = 'GPL v3'
|
license = 'GPL v3'
|
||||||
keywords = 'onion, share, onionshare, tor, anonymous, web server'
|
keywords = 'onion, share, onionshare, tor, anonymous, web server'
|
||||||
|
|
||||||
os = platform.system()
|
p = platform.system()
|
||||||
|
|
||||||
# Windows and Mac
|
# Windows and Mac
|
||||||
if os == 'Windows' or os == 'Darwin':
|
if p == 'Windows' or p == 'Darwin':
|
||||||
from cx_Freeze import setup, Executable
|
from cx_Freeze import setup, Executable
|
||||||
|
|
||||||
if os == 'Windows':
|
if p == 'Windows':
|
||||||
executables = [
|
executables = [
|
||||||
Executable('install/scripts/onionshare',
|
Executable('install/scripts/onionshare',
|
||||||
icon='install/onionshare.ico',
|
icon='install/onionshare.ico',
|
||||||
|
@ -64,7 +64,7 @@ if os == 'Windows' or os == 'Darwin':
|
||||||
]
|
]
|
||||||
custom_info_plist = ''
|
custom_info_plist = ''
|
||||||
|
|
||||||
elif os == 'Darwin':
|
elif p == 'Darwin':
|
||||||
executables = [
|
executables = [
|
||||||
Executable('install/scripts/onionshare-gui'),
|
Executable('install/scripts/onionshare-gui'),
|
||||||
Executable('install/scripts/onionshare')
|
Executable('install/scripts/onionshare')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue