From 1b8c5f7c16b2e3e596b584fb5d082b867b195256 Mon Sep 17 00:00:00 2001 From: scosman Date: Fri, 8 Nov 2024 09:36:44 -0500 Subject: [PATCH] Add DMG builder. Zipping apps is going poorly. --- app/desktop/dmg/README.md | 8 ++++++++ app/desktop/dmg/appdmg.json | 13 +++++++++++++ app/desktop/dmg/dmg_bg.png | Bin 0 -> 1702 bytes app/desktop/dmg/dmg_bg@2x.png | Bin 0 -> 4208 bytes 4 files changed, 21 insertions(+) create mode 100644 app/desktop/dmg/README.md create mode 100644 app/desktop/dmg/appdmg.json create mode 100644 app/desktop/dmg/dmg_bg.png create mode 100644 app/desktop/dmg/dmg_bg@2x.png diff --git a/app/desktop/dmg/README.md b/app/desktop/dmg/README.md new file mode 100644 index 0000000..4576561 --- /dev/null +++ b/app/desktop/dmg/README.md @@ -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` diff --git a/app/desktop/dmg/appdmg.json b/app/desktop/dmg/appdmg.json new file mode 100644 index 0000000..8d45591 --- /dev/null +++ b/app/desktop/dmg/appdmg.json @@ -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 + } + } +} diff --git a/app/desktop/dmg/dmg_bg.png b/app/desktop/dmg/dmg_bg.png new file mode 100644 index 0000000000000000000000000000000000000000..c21e995ca39f3f93d5b43a9ebb040f2c3e27a7ab GIT binary patch literal 1702 zcmeAS@N?(olHy`uVBq!ia0y~yU|a>n0vv2Wk%#vTo&qV(0*}aI1_o|n5N2eUHAey{ z$XFcY?!>U}oXkrghb7(7*O7r?V?XzwL{%~V!YS7*02Z1w8>@%!s+ZR`G2 zFirdZ;JduA!RePTUzQXV6+Nz>Z&y3(-o9FE#?wMtGhV)VlT-Ec)6@U|zCArXef3MO zh`#C&gUc45cAx(E@#B}Tudj1P^aUI|=U+tH-_X*p;EG+sab9VajV=k$in(hL1C@QoXVwi533$)dHFFW%preqQZ?8qkp2-&(gkPVRZ(=tPLUi>U_d-Ry6LvdspT&c6_HVroTY(gxMawYxixus~)sLp8wAwpXbk?hiAWd-Q&^g znPsET`sTO`tMS~qb948k`2;Dko)*xGxB-mX+I7rgD!?>x@#4j~`+GfP<>mbk6t!@r zNnO75(3PH5H=z-JU literal 0 HcmV?d00001 diff --git a/app/desktop/dmg/dmg_bg@2x.png b/app/desktop/dmg/dmg_bg@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..9b6add3828fb5412e3625ec0d766f873bfe977cd GIT binary patch literal 4208 zcmeHK|5uae6~B2g78ojiNg3r!XbWnfrw%*_k_{V#f=H2)gdjr*uu4lEh?yZufRxD) zhvW3vmH;78un>qqELEVuNZo{~iFgVWTUJm}KnP$^LV)nH8|EL;)58xrInRCWbDz)s z+s3ZW+Z=eCZR_*|jkO&GuU@qq2vJDe}PuE@78CYjvoq=C01Hv(q z%oeYbS)l$BCF{h%^z^i7WocftIQPUj-7-S1oXO56ZKL622&wPQu?H1(Z)sy=BRRfG zcXGOTq{9EAPuj2z_-@FxmNXcjJ^Yu^wD^3_icYK5`tIM4{61>T!%<+ z%kAmuu>eC!CBYw!>pbf{Gc)5n&#bbR9CT5@eMQ^Nw72EEk8`q?4bu-(X`p-ak0hFV z!fVLB!mDjt?->q&;d4A(J@(mC#__NM_m|5k$HDDf(0Q<^>UXtP0~cr$7&Gfn3@SKe zWM(eg9`w)@490Tw{nh6{m1|{2wTnYPknQMUl5(_pG*EqP&Y`unHTqSqKv1b5_;gEm zxPJUJr(7=I4ENnIa+Fr#$7DKqXxfjCkB?h`FerkeI?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