diff --git a/data/scripts/create_apple_installer.sh b/data/scripts/create_apple_installer.sh index 3a28fbde0..b8c4fa3cc 100755 --- a/data/scripts/create_apple_installer.sh +++ b/data/scripts/create_apple_installer.sh @@ -99,16 +99,15 @@ macdeployqt $APP $_executables cp $HOME/lmms/data/lmms.icns $APP/Contents/Resources/ # Create "Info.plist" using lmms.icns file, http://iconverticons.com/online/) -echo "\ -\ -\ - \ - \ - CFBundleIconFile\ - lmms.icns\ - \ -" > "$APP/Contents/Info.plist" +echo -e "" > "$APP/Contents/Info.plist" +echo -e "> "$APP/Contents/Info.plist" +echo -e "\"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">" >> "$APP/Contents/Info.plist" +echo -e " " >> "$APP/Contents/Info.plist" +echo -e " " >> "$APP/Contents/Info.plist" +echo -e " CFBundleIconFile" >> "$APP/Contents/Info.plist" +echo -e " lmms.icns" >> "$APP/Contents/Info.plist" +echo -e " " >> "$APP/Contents/Info.plist" +echo -e "" >> "$APP/Contents/Info.plist" # Done. Ready to build DMG echo -e "\nFinished.\n\nPlease run \"create_apple_dmg.sh\" to build the installer.\n"