From 27803ec1a4c2d9dba84865a8b538ac8385ee189b Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Mon, 9 Jul 2018 17:06:19 +0200 Subject: [pkg] use the version string from the systray --- osx/Makefile | 2 +- osx/generate.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'osx') diff --git a/osx/Makefile b/osx/Makefile index 9742135..de54385 100644 --- a/osx/Makefile +++ b/osx/Makefile @@ -1,2 +1,2 @@ generate: - python ./generate.py + python ./generate.py $(VERSION) diff --git a/osx/generate.py b/osx/generate.py index b9248cb..6d73e28 100644 --- a/osx/generate.py +++ b/osx/generate.py @@ -30,7 +30,7 @@ TEMPLATE_HELPER = 'template-helper.plist' TEMPLATE_PREINSTALL = 'template-preinstall' TEMPLATE_POSTINSTALL = 'template-postinstall' -VERSION = open(os.path.join(here, '..', 'version')).read().strip() +VERSION = sys.argv[1] APP_PATH = os.path.abspath(here + '/../dist/' + APP_NAME + ".app") STAGING = os.path.abspath(here + '/../staging/') -- cgit v1.2.3