updating directories and related functions
This commit is contained in:
parent
1c728876e6
commit
e66a5f79a2
2 changed files with 34 additions and 26 deletions
|
@ -305,3 +305,11 @@ def get_out_dir():
|
|||
|
||||
def get_dist_dir():
|
||||
return os.path.join(get_out_dir(), 'gen', 'electron_dist')
|
||||
|
||||
def get_electron_exec():
|
||||
if sys.platform == 'darwin':
|
||||
return 'out/{0}/Electron.app/Contents/MacOS/Electron'.format(get_out_dir())
|
||||
elif sys.platform == 'win32':
|
||||
return 'out/{0}/electron.exe'.format(get_out_dir())
|
||||
elif sys.platform == 'linux':
|
||||
return 'out/{0}/electron'.format(get_out_dir())
|
Loading…
Add table
Add a link
Reference in a new issue