Hide auto update setting for bundled app

This commit is contained in:
JonnyWong16 2020-04-25 20:30:02 -07:00
parent be38028244
commit c6bd1b06f2
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
2 changed files with 3 additions and 1 deletions

View file

@ -250,7 +250,7 @@ def check_github(scheduler=False, notify=False):
'plexpy_update_commit': plexpy.LATEST_VERSION,
'plexpy_update_behind': plexpy.COMMITS_BEHIND})
if scheduler and plexpy.CONFIG.PLEXPY_AUTO_UPDATE and not plexpy.DOCKER:
if scheduler and plexpy.CONFIG.PLEXPY_AUTO_UPDATE and not plexpy.DOCKER and not plexpy.FROZEN:
logger.info('Running automatic update.')
plexpy.shutdown(restart=True, update=True)