Don't remove pyc files when using desktop updater
This commit is contained in:
@@ -143,7 +143,7 @@ class Updater(Plugin):
|
|||||||
}
|
}
|
||||||
|
|
||||||
def doShutdown(self, *args, **kwargs):
|
def doShutdown(self, *args, **kwargs):
|
||||||
if not Env.get('dev'):
|
if not Env.get('dev') and not Env.get('desktop'):
|
||||||
removePyc(Env.get('app_dir'), show_logs = False)
|
removePyc(Env.get('app_dir'), show_logs = False)
|
||||||
|
|
||||||
return super(Updater, self).doShutdown(*args, **kwargs)
|
return super(Updater, self).doShutdown(*args, **kwargs)
|
||||||
|
|||||||
Reference in New Issue
Block a user