diff options
author | t h <t@h> | 2020-11-13 06:23:53 +0000 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-11-21 20:41:12 +0100 |
commit | 011e594422aebb54e48cb0375f38fd89f3239d75 (patch) | |
tree | 4dd8426b62a6eece1e2041f989b71db7d787b3b7 /gui | |
parent | 08760e8f1a369a795c3ceb596158e6df7d81aa31 (diff) |
Updating makefile to support Cygwin64 for Windows users.
- Closes: #394
Diffstat (limited to 'gui')
-rwxr-xr-x | gui/build.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gui/build.sh b/gui/build.sh index c8433c1..9dfcbda 100755 --- a/gui/build.sh +++ b/gui/build.sh @@ -85,15 +85,12 @@ function renameOutput { mv $RELEASE/bitmask $RELEASE/$TARGET strip $RELEASE/$TARGET echo "[+] Binary is in" $RELEASE/$TARGET - fi - if [ "$PLATFORM" == "Darwin" ] + elif [ "$PLATFORM" == "Darwin" ] then rm -rf $RELEASE/$TARGET.app mv $RELEASE/bitmask.app/ $RELEASE/$TARGET.app/ echo "[+] App is in" $RELEASE/$TARGET - fi - if [ "$PLATFORM" == "MINGW64_NT-10.0" ] - then + else # for MINGWIN or CYGWIN mv $RELEASE/bitmask.exe $RELEASE/$TARGET.exe fi } |