Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
agkyra
Commits
6c163ae9
Commit
6c163ae9
authored
Nov 13, 2015
by
Giorgos Korfiatis
Browse files
Set nwgui version when configuring
parent
d4ebaddc
Changes
3
Hide whitespace changes
Inline
Side-by-side
configure.py
View file @
6c163ae9
...
...
@@ -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'."
...
...
nwapp_version.py
0 → 100644
View file @
6c163ae9
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
()
agkyra/resources/
nwgui
/
package.json
→
nwgui
_
package.json
View file @
6c163ae9
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment