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
61568bcd
Commit
61568bcd
authored
Sep 03, 2015
by
Giorgos Korfiatis
Browse files
adapt install scripts for resources dir
parent
eebcf962
Changes
2
Hide whitespace changes
Inline
Side-by-side
get_nwjs.sh
View file @
61568bcd
...
...
@@ -39,7 +39,7 @@ url="http://dl.nwjs.io/${VERSION}/"$file
echo
"Will first download nwjs."
AGKPATH
=
agkyra
NWJSPATH
=
$AGKPATH
/nwjs
NWJSPATH
=
$AGKPATH
/
resources/
nwjs
if
[
-d
$NWJSPATH
]
;
then
echo
"Warning: cleaning up
$NWJSPATH
."
rm
-r
$NWJSPATH
...
...
make_package.sh
View file @
61568bcd
...
...
@@ -42,15 +42,13 @@ rm -r $WHEELHOUSE
cp
$ROOTPATH
/COPYING
$TMPAGKYRA
cp
$ROOTPATH
/README.md
$TMPAGKYRA
cp
$ROOTPATH
/agkyra/scripts/
gui.py
$TMPAGKYRA
/agkyra
cp
$ROOTPATH
/agkyra/scripts/
agkyra
$TMPAGKYRA
/agkyra
cp
$ROOTPATH
/agkyra/scripts/cli.py
$TMPAGKYRA
/agkyra-cli
cd
$TMPDIR
ARCHIVENAME
=
$CURPWD
/agkyra-snapshot-
${
os
}
if
[[
"
$os
"
=
~ ^
(
linux64|linux32
)
$
]]
;
then
tar
czf
${
ARCHIVENAME
}
.tar.gz agkyra
elif
[[
"
$os
"
=
~ ^
(
osx64|osx32
)
$
]]
;
then
mkdir
-p
agkyra.app/Contents
mv
agkyra agkyra.app/Contents/MacOS
zip
-r
${
ARCHIVENAME
}
.zip agkyra.app
else
zip
-r
${
ARCHIVENAME
}
.zip agkyra
fi
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