Skip to content

Commit d1d50de

Browse files
committed
Try to use correct prefix
1 parent d1c9f96 commit d1d50de

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build-aux/build_macos.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,11 @@ if [ "$CREATE_APP_BUNDLE" = true ]; then
161161
echo -e "${BLUE}📱 Creating app bundle...${NC}"
162162

163163
# Create app bundle structure
164-
mkdir -p Reflection.app/Contents/Frameworks
164+
#mkdir -p Reflection.app/Contents/Frameworks
165165

166166
# FIXME: We should add the Info.plist file using meson
167167
# Create Info.plist
168-
cat > Reflection.app/Contents/Info.plist << 'EOF'
168+
cat > /Applications/Reflection.app/Contents/Info.plist << 'EOF'
169169
<?xml version="1.0" encoding="UTF-8"?>
170170
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
171171
<plist version="1.0">
@@ -200,7 +200,7 @@ EOF
200200
echo -e "${BLUE}🔗 Bundling dependencies...${NC}"
201201
dylibbundler -od -b -x /Applications/Reflection.app/Contents/MacOS/reflection \
202202
-d /Applications/Reflection.app/Contents/Frameworks/ \
203-
-p @executable_path/../Frameworks/ > /dev/null 2>&1 || echo -e "${YELLOW}⚠️ Some libraries may not be bundled${NC}"
203+
-p @executable_path/../Frameworks/ #> /dev/null 2>&1 || echo -e "${YELLOW}⚠️ Some libraries may not be bundled${NC}"
204204

205205
echo -e "${GREEN}✅ App bundle created: Reflection.app${NC}"
206206

@@ -218,7 +218,7 @@ EOF
218218
--hide-extension "Reflection.app" \
219219
--app-drop-link 425 120 \
220220
"reflection-$ARCH.dmg" \
221-
"Reflection.app"
221+
"Applications/Reflection.app"
222222
echo -e "${GREEN}✅ DMG created: reflection-$ARCH.dmg${NC}"
223223
else
224224
echo -e "${YELLOW}⚠️ create-dmg command not found. Skipping DMG creation.${NC}"

0 commit comments

Comments
 (0)