mirror of
https://github.com/jfdelnero/HxCFloppyEmulator.git
synced 2026-07-27 19:56:23 +00:00
fix
This commit is contained in:
+51
-24
@@ -24,6 +24,31 @@ if [ "$1" = "HXCSOFT" ]; then
|
|||||||
install hxcfloppyemulator ${GUI_PATH}/Contents/MacOS/${GUI_EXEC}
|
install hxcfloppyemulator ${GUI_PATH}/Contents/MacOS/${GUI_EXEC}
|
||||||
install libhxcfe.dylib libusbhxcfe.dylib ${GUI_PATH}/Contents/Frameworks
|
install libhxcfe.dylib libusbhxcfe.dylib ${GUI_PATH}/Contents/Frameworks
|
||||||
|
|
||||||
|
cat << EOF > ${GUI_PATH}/Contents/info.plist
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
|
||||||
|
<plist version="0.9">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.hxc2001.${GUI_EXEC}</string>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>${NAME}</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>APPL</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>${VERSION}</string>
|
||||||
|
<key>CFBundleIconFile</key>
|
||||||
|
<string>icons.icns</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>none</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
|
EOF
|
||||||
|
|
||||||
|
hdiutil create ${DMGNAME}.dmg -srcfolder ${CLI_PATH} -srcfolder ${GUI_PATH} -ov -volname ${DMGNAME}
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" = "DOSDISKBROWSER" ]; then
|
if [ "$1" = "DOSDISKBROWSER" ]; then
|
||||||
@@ -41,29 +66,31 @@ if [ "$1" = "DOSDISKBROWSER" ]; then
|
|||||||
iconutil --convert icns --output ${GUI_PATH}/Contents/Resources/icons.icns ../HxCFloppyEmulator_software/sources/mac/icons/hxcfloppyemulator.iconset/
|
iconutil --convert icns --output ${GUI_PATH}/Contents/Resources/icons.icns ../HxCFloppyEmulator_software/sources/mac/icons/hxcfloppyemulator.iconset/
|
||||||
install dosdiskbrowser ${GUI_PATH}/Contents/MacOS/${GUI_EXEC}
|
install dosdiskbrowser ${GUI_PATH}/Contents/MacOS/${GUI_EXEC}
|
||||||
install libhxcfe.dylib ${GUI_PATH}/Contents/Frameworks
|
install libhxcfe.dylib ${GUI_PATH}/Contents/Frameworks
|
||||||
|
|
||||||
|
cat << EOF > ${GUI_PATH}/Contents/info.plist
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
|
||||||
|
<plist version="0.9">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>com.hxc2001.${GUI_EXEC}</string>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>${NAME}</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>APPL</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>${VERSION}</string>
|
||||||
|
<key>CFBundleIconFile</key>
|
||||||
|
<string>icons.icns</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>none</string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
|
EOF
|
||||||
|
|
||||||
|
hdiutil create ${DMGNAME}.dmg -srcfolder ${GUI_PATH} -ov -volname ${DMGNAME}
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat << EOF > ${GUI_PATH}/Contents/info.plist
|
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
|
|
||||||
<plist version="0.9">
|
|
||||||
<dict>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>com.hxc2001.${GUI_EXEC}</string>
|
|
||||||
<key>CFBundleName</key>
|
|
||||||
<string>${NAME}</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>APPL</string>
|
|
||||||
<key>CFBundleVersion</key>
|
|
||||||
<string>1</string>
|
|
||||||
<key>CFBundleShortVersionString</key>
|
|
||||||
<string>${VERSION}</string>
|
|
||||||
<key>CFBundleIconFile</key>
|
|
||||||
<string>icons.icns</string>
|
|
||||||
<key>CFBundleSignature</key>
|
|
||||||
<string>none</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
EOF
|
|
||||||
|
|
||||||
hdiutil create ${DMGNAME}.dmg -srcfolder ${CLI_PATH} -srcfolder ${GUI_PATH} -ov -volname ${DMGNAME}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user