summaryrefslogtreecommitdiff
path: root/bin/build-distribution-archives
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-distribution-archives')
-rwxr-xr-xbin/build-distribution-archives10
1 files changed, 6 insertions, 4 deletions
diff --git a/bin/build-distribution-archives b/bin/build-distribution-archives
index 6e11818d..6402122b 100755
--- a/bin/build-distribution-archives
+++ b/bin/build-distribution-archives
@@ -4,12 +4,14 @@ VERSION="$(echo ${GITHUB_REF} | sed -e 's|refs/heads/||' -e 's|refs/tags/||' -e
OS="${BUILD:-$(uname)}"
ARCH="$(uname -m)"
-cp -a images/examples palettes symbols fonts dist/inkstitch
-cp -a icons locales print dist/inkstitch/bin
-
if [ "$BUILD" = "osx" ]; then
- cp -a electron/build/mac dist/inkstitch/electron
+ cp -a images/examples palettes symbols fonts LICENSE VERSION dist/inkstitch.app/Contents
+ cp -a icons locales print dist/inkstitch.app/Contents/MacOS
+ cp -a electron/build/mac dist/inkstitch.app/Contents/electron
+ rm -rf dist/inkstitch/
else
+ cp -a images/examples palettes symbols fonts LICENSE VERSION dist/inkstitch
+ cp -a icons locales print dist/inkstitch/bin
cp -a electron/build/*-unpacked dist/inkstitch/electron
fi