mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Add args to Windows and MacOS auto startup
This commit is contained in:
parent
56a9ccd818
commit
4787f42d2e
2 changed files with 6 additions and 4 deletions
|
@ -162,10 +162,11 @@ def set_startup():
|
|||
plist_file_path = os.path.join(launch_agents, plist_file)
|
||||
|
||||
exe = sys.executable
|
||||
run_args = [arg for arg in plexpy.ARGS if arg != '--nolaunch']
|
||||
if plexpy.FROZEN:
|
||||
args = [exe]
|
||||
args = [exe] + run_args
|
||||
else:
|
||||
args = [exe, plexpy.FULL_PATH]
|
||||
args = [exe, plexpy.FULL_PATH] + run_args
|
||||
|
||||
plist_dict = {
|
||||
'Label': common.PRODUCT,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue