Skip to content

Commit

Permalink
Add DMG generator
Browse files Browse the repository at this point in the history
  • Loading branch information
mixxorz committed Mar 13, 2022
1 parent 2095fb5 commit d6a90a9
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,5 @@ fastlane/test_output
# https://github.com/johnno1962/injectionforxcode

iOSInjectionProject/

Installer/source_folder/
4 changes: 4 additions & 0 deletions GarageBard.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,8 @@
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"GarageBard/Preview Content\"";
DEVELOPMENT_TEAM = MQD7YVN9G9;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = GarageBard/Info.plist;
Expand Down Expand Up @@ -609,6 +611,8 @@
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_ASSET_PATHS = "\"GarageBard/Preview Content\"";
DEVELOPMENT_TEAM = MQD7YVN9G9;
ENABLE_HARDENED_RUNTIME = YES;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = GarageBard/Info.plist;
Expand Down
Binary file added Installer/GarageBard.dmg
Binary file not shown.
Binary file added Installer/installer_background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions Installer/makedmg.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh
test -f GarageBard.dmg && rm GarageBard.dmg
create-dmg \
--volname "GarageBard" \
--background "installer_background.png" \
--window-pos 200 120 \
--window-size 800 400 \
--icon-size 100 \
--icon "GarageBard.app" 212 182 \
--hide-extension "GarageBard.app" \
--app-drop-link 588 182 \
"GarageBard.dmg" \
"source_folder/"

0 comments on commit d6a90a9

Please sign in to comment.