Launch browser on system startup based on setting
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user