Skip to content

Commit

Permalink
Release v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Lennolium committed Oct 9, 2023
1 parent 441f3b4 commit e492ae5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 16 deletions.
23 changes: 8 additions & 15 deletions build-dmg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,8 @@ _logo " ------------------------------------------------------------------------
echo ""
echo ""

# Ask if the script should start with building the dmg.
_info "This script will build a dmg file for swiftGuard. Make sure you have built a swiftGuard.app and it is in the /dist folder.\nContinue? (y/n)"
read -r response
if [ "$response" = "y" ]; then
_ok "Let us begin!"
else
_error "Script aborted."
exit;
fi
# Start.
_info "This script will build a dmg file for swiftGuard."

# Check if homebrew is installed and install it if not.
_info "Checking if homebrew is installed ..."
Expand Down Expand Up @@ -91,7 +84,9 @@ if create-dmg \
then
_ok "create-dmg successfully created .dmg file without errors."
else
_error "create-dmg exited with errors. No .dmg created."
_error "DMG BUILD FAILED!"
rm -R dist/dmg-temp/*
rm -r dist/dmg-temp
exit 1
fi

Expand All @@ -108,8 +103,6 @@ _info "Validate sha256 checksum ..."
sha256sum -c SHA256SUM

# Finished: Open finder with the dmg folder.
_ok "swiftGuard.dmg and checksum.sha256 created in /dmg folder"
_ok "SCRIPT FINISHED! \nPress any key to open /dmg folder and exit..."
read -r exit
open .
exit
_ok "create-dmg successfully build dmg file."
_ok "Find swiftGuard.dmg in /dmg folder."
_ok "SCRIPT FINISHED!"
1 change: 1 addition & 0 deletions dmg/SHA256SUM
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0c52d08e5bb899bef4325bb9d47127d41b57f58e0d80c1f2fbb2adc78e449978 swiftGuard.dmg
1 change: 0 additions & 1 deletion dmg/checksum.sha256

This file was deleted.

Binary file modified dmg/swiftGuard.dmg
Binary file not shown.

0 comments on commit e492ae5

Please sign in to comment.