fix path
This commit is contained in:
parent
5024414ed6
commit
98714e35e7
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ def get_app_version(app):
|
|||
def upgrade_app():
|
||||
if sys.platform == 'darwin':
|
||||
base = os.path.dirname(settings.base_dir)
|
||||
bundled_app = base + 'platform/Darwin/Applications/Open Media Library.app'
|
||||
bundled_app = os.path.join(base, 'platform/Darwin/Applications/Open Media Library.app')
|
||||
app = '/Applications/Open Media Library.app'
|
||||
version = get_app_version(app)
|
||||
current_version = get_app_version(bundled_app)
|
||||
|
|
Loading…
Reference in a new issue