Require manual download and install for Windows / MacOS

This commit is contained in:
JonnyWong16 2020-04-15 17:43:09 -07:00
commit 5d8a7d80eb
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
5 changed files with 63 additions and 57 deletions

View file

@ -177,7 +177,7 @@ def main():
if args.datadir:
plexpy.DATA_DIR = args.datadir
elif plexpy.FROZEN:
plexpy.DATA_DIR = appdirs.user_data_dir("Tautulli", "Tautulli")
plexpy.DATA_DIR = appdirs.user_data_dir("Tautulli", False)
else:
plexpy.DATA_DIR = plexpy.PROG_DIR
@ -268,8 +268,11 @@ def main():
plexpy.shutdown(restart=True, checkout=True)
elif plexpy.SIGNAL == 'reset':
plexpy.shutdown(restart=True, reset=True)
else:
elif plexpy.SIGNAL == 'update':
plexpy.shutdown(restart=True, update=True)
else:
logger.error('Unknown signal. Shutting down...')
plexpy.shutdown()
plexpy.SIGNAL = None