mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Launch browser on system startup based on setting
This commit is contained in:
parent
463ed2f46a
commit
1bca410bcb
2 changed files with 0 additions and 4 deletions
|
@ -63,8 +63,6 @@ def set_startup():
|
||||||
else:
|
else:
|
||||||
args = [exe, plexpy.FULL_PATH]
|
args = [exe, plexpy.FULL_PATH]
|
||||||
|
|
||||||
args += ['--nolaunch']
|
|
||||||
|
|
||||||
plist_dict = {
|
plist_dict = {
|
||||||
'Label': common.PRODUCT,
|
'Label': common.PRODUCT,
|
||||||
'ProgramArguments': args,
|
'ProgramArguments': args,
|
||||||
|
|
|
@ -119,8 +119,6 @@ def set_startup():
|
||||||
else:
|
else:
|
||||||
args = [exe, plexpy.FULL_PATH]
|
args = [exe, plexpy.FULL_PATH]
|
||||||
|
|
||||||
args += ['--nolaunch']
|
|
||||||
|
|
||||||
cmd = ' '.join(shlex.quote(arg) for arg in args).replace('python.exe', 'pythonw.exe').replace("'", '"')
|
cmd = ' '.join(shlex.quote(arg) for arg in args).replace('python.exe', 'pythonw.exe').replace("'", '"')
|
||||||
|
|
||||||
if plexpy.CONFIG.LAUNCH_STARTUP:
|
if plexpy.CONFIG.LAUNCH_STARTUP:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue