Commit 6c163ae9 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis

Set nwgui version when configuring

parent d4ebaddc
......@@ -7,6 +7,8 @@ def main():
get_nwjs.main()
import cacert_cp
cacert_cp.main()
import nwapp_version
nwapp_version.main()
print "Now run 'python setup.py install'."
......
import os
import json
import agkyra
VERSION = agkyra.__version__
SRC = "nwgui_package.json"
DIST = os.path.join("agkyra", "resources", "nwgui", "package.json")
def main():
with open(SRC) as f:
d = json.load(f)
d['version'] = agkyra.__version__
with open(DIST, 'w') as f:
json.dump(d, f)
if __name__ == '__main__':
main()
......@@ -2,7 +2,7 @@
"name": "Agkyra",
"main": "menu.html",
"description": "Agkyra is a Pithos+ Syncing Client and this is its GUI",
"version": 0.1,
"version": "placeholder",
"window": {
"show": false,
"toolbar": false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment