Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Sat, 13 Nov 2021 18:28:49 UTC Commit: c4aa94833d965e30748ec3c28bf95d7595e19a93 https://github.com/geany/geany-osx/commit/c4aa94833d965e30748ec3c28bf95d7595...
Log Message: ----------- Determine binary type based on Geany.app binary type instead of current architecture
Modified Paths: -------------- create_dmg.sh
Modified: create_dmg.sh 6 lines changed, 3 insertions(+), 3 deletions(-) =================================================================== @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash
VERSION="1.38"
@@ -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
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).