Skip to content

Commit

Permalink
One day I'll get this working...
Browse files Browse the repository at this point in the history
  • Loading branch information
Webreaper committed Dec 12, 2020
1 parent 8a0c379 commit 98f098a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.42
1.2.43
4 changes: 4 additions & 0 deletions makedesktop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ else
fi

cd Damselfly.Desktop
rm -rf ./dist

echo "**************************** Building Desktop Electron Apps ****************************"

Expand All @@ -24,7 +25,9 @@ docker run --rm \
yarn && yarn install && yarn version --new-version $version && yarn dist

cd dist

mkdir ../../desktop
rm ../../desktop/*.*

echo "Zipping up Mac DMG..."
zip ../../desktop/damselfly-mac.zip Damselfly-$version.dmg
Expand All @@ -34,6 +37,7 @@ cp Damselfly-$version-win.zip ../../desktop/damselfly-win.zip
cp Damselfly-$version.AppImage ../../desktop/damselfly-linux.appimage

echo "Copying Mac, Windows and Linux desktop apps to Damselfly.Web/wwwroot/desktop..."
rm ../../Damselfly.Web/wwwroot/desktop/*.*
cp ../../desktop/*.* ../../Damselfly.Web/wwwroot/desktop

echo "Desktop build complete."

0 comments on commit 98f098a

Please sign in to comment.