Skip to content

Commit 25ac898

Browse files
authored
Update macos-dmg.yml
1 parent baab6c9 commit 25ac898

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/macos-dmg.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,21 @@ jobs:
6969
- name: Bundle app with gtk-mac-bundler
7070
run: |
7171
mkdir -p macos
72-
# Create bundler recipe if not in repo
73-
cat > macos/ssh-studio.bundle << 'XML'
72+
BREW_PREFIX="$(brew --prefix)"
73+
echo "Detected Homebrew prefix: $BREW_PREFIX"
74+
75+
cat > macos/ssh-studio.bundle << XML
7476
<?xml version="1.0"?>
7577
<app-bundle>
7678
<id>io.github.BuddySirJava.SSH-Studio</id>
7779
<name>SSH Studio</name>
7880
<version>1.0.0</version>
7981
<icon>data/media/icon_512.png</icon>
8082
83+
<prefixes>
84+
<prefix>${BREW_PREFIX}</prefix>
85+
</prefixes>
86+
8187
<main-binary>
8288
<binary>ssh-studio</binary>
8389
</main-binary>

0 commit comments

Comments
 (0)