Skip to content

Commit

Permalink
Determine binary type based on Geany.app binary type instead of curre…
Browse files Browse the repository at this point in the history
…nt architecture
  • Loading branch information
techee committed Nov 13, 2021
1 parent e6ff680 commit c4aa948
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions create_dmg.sh
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

VERSION="1.38"

Expand All @@ -9,8 +9,8 @@ DMGNAME="geany-${VERSION}_osx.dmg"
APPNAME="${NAME}.app"
TMPDIR="tmp-out"

ARCH=`uname -m`
if [ "$ARCH" = "arm64" ]; then
FILE_TYPE=`file Geany.app/Contents/MacOS/geany`
if [[ "$FILE_TYPE" == *"arm64"* ]]; then
DMGNAME="geany-${VERSION}_osx_arm64.dmg"
fi

Expand Down

0 comments on commit c4aa948

Please sign in to comment.