-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
52 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Since create-dmg does not clobber, be sure to delete previous DMG | ||
[[ -f BabelBrain_Intel64.dmg ]] && rm BabelBrain_Intel64.dmg | ||
rm -rf final | ||
mkdir final | ||
mkdir final/ThermalProfiles | ||
mkdir final/PlanningModels | ||
cp -r ../ThermalProfiles/* final/ThermalProfiles | ||
cp -r ../PlanningModels/* final/PlanningModels | ||
cp -r ../LICENSE final/ | ||
cp BabelBrain_Intel64.pkg final/ | ||
# Create the DMG --hide-extension "BabelBrain.app" \ --app-drop-link 600 185 \ | ||
create-dmg \ | ||
--volname "BabelBrain Installer" \ | ||
--window-pos 200 120 \ | ||
--window-size 800 400 \ | ||
--icon-size 100 \ | ||
--icon "BabelBrain_Intel64.pkg" 200 190 \ | ||
"BabelBrain_Intel64.dmg" \ | ||
"final/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#script to run all steps to create app, package , dmg , codesign and notarize | ||
rm -rf dist build | ||
pyinstaller BabelBrain.spec | ||
python pycodesign.py -s -p -n -t "/Users/spichardo/Library/Mobile Documents/com~apple~CloudDocs/pycodesign/pycodesign_intel64.ini" | ||
source create_dmg_Intel64.sh | ||
source "/Users/spichardo/Library/Mobile Documents/com~apple~CloudDocs/pycodesign/notarize_dmg_intel64.sh" | ||
xcrun stapler staple BabelBrain_Intel64.dmg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters