Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
itminedu
agkyra
Commits
6c163ae9
Commit
6c163ae9
authored
Nov 13, 2015
by
Giorgos Korfiatis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set nwgui version when configuring
parent
d4ebaddc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
1 deletion
+23
-1
configure.py
configure.py
+2
-0
nwapp_version.py
nwapp_version.py
+20
-0
nwgui_package.json
nwgui_package.json
+1
-1
No files found.
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