Skip to content

Commit

Permalink
Add DMG builder. Zipping apps is going poorly.
Browse files Browse the repository at this point in the history
  • Loading branch information
scosman committed Nov 8, 2024
1 parent 829cc46 commit 1b8c5f7
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/desktop/dmg/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Make a MacOS DMG

TODO: Bring back the background once this is fixed: https://github.com/LinusU/node-appdmg/issues/243

- One time: `npm install -g appdmg`
- Copy appdmg.json and the two PNGs to the folder with the Kiln.app
- `appdmg appdmg.json Kiln.MacOS.Installer.AppleSilicon.M-Processor.dmg`
- `appdmg appdmg.json Kiln.MacOS.Installer.Intel.dmg`
13 changes: 13 additions & 0 deletions app/desktop/dmg/appdmg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"title": "Kiln Installer",
"contents": [
{ "x": 310, "y": 120, "type": "link", "path": "/Applications" },
{ "x": 120, "y": 120, "type": "file", "path": "Kiln.app" }
],
"window": {
"size": {
"width": 426,
"height": 272
}
}
}
Binary file added app/desktop/dmg/dmg_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/desktop/dmg/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1b8c5f7

Please sign in to comment.