From ffb7ba0a349d9af5f07adbc3c0ac229960afddc7 Mon Sep 17 00:00:00 2001 From: SrIzan10 <66965250+SrIzan10@users.noreply.github.com> Date: Mon, 25 Dec 2023 17:11:57 +0100 Subject: [PATCH] ci: add macos (#8) --- .circleci/config.yml | 16 +++++++++++++++- icons/dmgbg.png | Bin 0 -> 7683 bytes package.json | 28 ++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 icons/dmgbg.png diff --git a/.circleci/config.yml b/.circleci/config.yml index c34a711..8a81219 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,9 +19,20 @@ jobs: - run: yarn - run: yarn build-electron-linux - run: mkdir /tmp/artifacts - - run: mv -t /tmp/artifacts dist/*.snap dist/*.AppImage + - run: mv -t /tmp/artifacts dist/*.AppImage - store_artifacts: path: /tmp/artifacts + build_macos: + macos: + xcode: 14.2.0 + steps: + - checkout + - run: yarn + - run: yarn build-electron-mac + - run: mkdir /tmp/artifacts + - run: mv dist/*.dmg /tmp/artifacts + - store_artifacts: + path: /tmp/artifacts workflows: build: @@ -34,3 +45,6 @@ workflows: - build_linux: requires: - hold + - build_macos: + requires: + - hold \ No newline at end of file diff --git a/icons/dmgbg.png b/icons/dmgbg.png new file mode 100644 index 0000000000000000000000000000000000000000..9e7b277d57c1e9469e53dbe7718d23e96956ad7c GIT binary patch literal 7683 zcmdT}2Uk;DunwRgMM03FND%~7nuyYy2!e_rND(nqY0^6gA@Pb=I(U)Z1XM&qS0D)_ zs1&6N8X%M)AT1$@A%s8*dGX%$-gztX{GiRSY-=6*Lv|F}ThXqau004l) z*Q_lZ003@z0D!CL5HIIV;;w5k=f)py?HUCD2#Wnaxd0_)Qk<7uQ4Ut-fX3028=Qv& z{+DlF1^`-e1esn30RWkzYZjLsl#n6-V|*~y_$B_TS295-T9aT)qA2M zSBPsEFgD#k{pSv;Wcj=5RCfmsNlPXfs1n(zNx4+pf zuxOYz|9Thqgje4Z!8F8z)0hb(7@t^~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6bSgw;dew{4$O?`i$5gaT*Mi<2XeU#qSwD}_Gro4H_IBuH*?SYGbphEJk}@A zyKpZ@F862QdLHqJf3=0_n)qnYIF4lFe>}p?yblszCXZXmjby9-H(B+V8vV-h53Qt? zx1&-bMRqV<4IfR~Rb%1L<26?G_^Borp@o&9!g@ukY{&mfLL8vArNurZG!(8La$qT) zINjnS{yRRSe)r!wZE^d)5H{`Dm+-$4eVhgN@YG+y>e*DyNwXX`g^jm!>mNO0{KoBp zqrbr;>Gql5;NiU;{?gio=hOB+gA~MqR6I}oq>~>RCMsORm|HW^MVtr+Gn;!;uDdke z8>e%r-uefRt{vdu(Ljz|6EivrUe zL_crSGFR#d;LkDMxf4UhIeGM768HF6blo6ZtXZ1_(jjj-AkA$(r|5yqq+gw~I{7pp zSHh9Annhdi=-yi`mG$Tzs7}z!zM`-3k#Ez81L*cd zC-gt%O-XZ6h(?K$&sV!lBW1gn?4nxvQ1MKV9M9_C6OrLyH>xNJz#pL`0tzPsYV}Ud zCA1)L9z8|DD!gA{Xo<+PG|oX(f_(pu%GJvAG&-=(nSjL&6=k8v7&=G@8Jb=cpt7Ug z9QQmCaRa7X37Ako=0>#k_Ph{LxlyJ^ewEpadjM*&rjy|j%l(_;pz;>YnjCFeaoL;M z{RussP(yMen@qXxr|mji{Ua;ytb0f3{Dt_SwB5h@@SMIyFl+?Iq8=^YB2sJTenSRe vB2bw7-?!uRe^5*PD|hDpW&Jdd;`$RL)}(Yx<0og&7I4kd)}qne^N;@kM>r&~ literal 0 HcmV?d00001 diff --git a/package.json b/package.json index cae4296..0303669 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,8 @@ "vite": "^4.4.0" }, "build": { + "appId": "dev.sern.gui", + "productName": "sern GUI", "files": [ "./build/**/*", "./dist/index.js" @@ -59,6 +61,32 @@ "win": { "icon": "./icons/icon.ico", "publisherName": "sern" + }, + "mac": { + "icon": "./icons/icon.icns", + "category": "public.app-category.developer-tools", + "target": [ + "dmg", + "zip" + ] + }, + "dmg": { + "background": "./icons/dmgbg.png", + "icon": "./icons/icon.icns", + "title": "sern GUI", + "contents": [ + { + "x": 423, + "y": 203, + "type": "link", + "path": "/Applications" + }, + { + "x": 117, + "y": 203, + "type": "file" + } + ] } } }