From 3b454b697f98c75b3be9a9e98b5c6a89f312164b Mon Sep 17 00:00:00 2001 From: zaru Date: Wed, 13 May 2020 00:35:29 +0900 Subject: [PATCH] add release script --- .gitignore | 4 ++++ releases/app/background@2x.png | Bin 0 -> 10168 bytes releases/build_dmg.sh | 15 +++++++++++++++ releases/release_build.sh | 8 ++++++++ 4 files changed, 27 insertions(+) create mode 100644 releases/app/background@2x.png create mode 100644 releases/build_dmg.sh create mode 100644 releases/release_build.sh diff --git a/.gitignore b/.gitignore index c7fd0e8..620593b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ dist-bodypix-app/ node_modules/ + +releases/**/*.app +releases/**/*.dmg +releases/mewcam-darwin-x64/ diff --git a/releases/app/background@2x.png b/releases/app/background@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..f75aefe043701ca6225fd4ce936aa4b6758f3cca GIT binary patch literal 10168 zcmeHMcT`hZw-1D-NEr*gL{!v~o)ALl3Kpd3pn_6k2t|4lNa!E}Itu8hh#+M~DN=*< zj-o`VQY1ty%A{VJ%?aeb3(Kx7)er>~rg!$tk{_Vmm<~ z5Z{^8`oDodUyVe(b0xz5|MxcHw+#HA-cJ`$^2(}6 zRV5@80r~nP1I&iCcR>E8fAZ^Gz>}7Y6CUr0R8%Ao2nqzKf(O=7QCVGGT~SFzQAI@_ z7$J}Ib;qNK^6t0;-!$lBaA>TvC*Ik^9m3Lxy6WML*OCE{elfw#)7bdCVt3qEM*%KV zB%(YOl@*i}-P~AqZI8y`f5ZGYjGvCiUGVk9DE@}Qd3a;dKs+1{d=mzI_wOfS4Fu32 zO|i~EP*AS=9%yejj642}zLpH|M#0|M9tm|oD66U?pz;_D6fF-^Q-R4NFmQW$RaFd3 zSq%zf{r#rrXYy(Ym_8hefFVvG5X#C1dV2awdInG!?4+uyf&K|)#5dV9?l?Tk9gX=m zw=*#JS6S%4l|`PwVo-Pw>;(@G*Kb*H&dCGsfphZkgs3PhC_|1IqtMRoEY49@l)f0P zkHI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V#=6_`s)?lt0H)U2CKGz?c))8Hy-kE% z4OD_ZndHkRM8+h5>_)3J<-7!gdta+b>-dS=myI&jS7?giBdRE0TZ`)P=Ntf{1>1G} z^A99V*YPznscd(wIecLwSVb<6ud$~NOYPVJOgmn}+}X%*SXZvpmP_VuY>gaI)Jz4< zHv-?H0%o|nuSDL?#^h)+&35qtJK#m96Hg`#+oa!@PhEH)u>=5G8f=eQ9~EjE#I$G(bY3rJZD z&ux5ts`Sy63YL-cC^^asXW`&O!1Z;53?B;{2OKM&PIZ?ow8di0d%n&@3p+&#?=Ac~ zy51A9UNN&M|3z6^ps%LX*2$Z9Tf6syHhh4Zu&WQ;FPDH4{j@C|zp#YzHMiL8O9RF6 zrP;A5-LI$3N{5f+41s|t=-#&x*I+#@zHh ztRx;=72)@YR0JY*mT%)`Bxy-mMF|0&d)>&TYP!fWl;1W8uPJqV8+hctIF4=VxEdV}ZQ9S(K^^7^8MD<8`N%{(vjg{v!7 z<&sNOS+RsU0Kw>LZ*TA6iqSs98^Sq;CbBs-;K*dMG>@&$(54h?hWLd%AmU@ki2?PC zQXnHJCvQl(RzYFm!llT*|SWk7_u}Drw3}7;pYJv&}an!%E&rO%qI!Z zgAqwV(C^Db18ono6oH(-pu8Z21cBZQnUR2tNY-8lu;HQ>XK?_#e{$Ih znDKwVW8EGM1OfzP?$5TCETr47ejxq^?AwO^O-B4j*uPuzHyH6x0DhJ;-_z-bocZqe z@5Da=_(}D$zLndB{U4R_KNaw^Rg;xq-`AOcL;MY8{5J$3ByS~{jSIAMWbXX2IjJ+i Qatu0SV4|OU-0u2+0s7_|u>b%7 literal 0 HcmV?d00001 diff --git a/releases/build_dmg.sh b/releases/build_dmg.sh new file mode 100644 index 0000000..2c9d21b --- /dev/null +++ b/releases/build_dmg.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +test -f mewcam.dmg && rm mewcam.dmg +test -f rw.mewcam.dmg && rm rw.mewcam.dmg +create-dmg \ + --volname "mewcam" \ + --background "./app/background@2x.png" \ + --window-pos 400 200 \ + --window-size 400 400 \ + --icon-size 128 \ + --icon "mewcam.app" 50 190 \ + --app-drop-link 240 190 \ + --hide-extension "mewcam.app" \ + "mewcam.dmg" \ + "./app/" diff --git a/releases/release_build.sh b/releases/release_build.sh new file mode 100644 index 0000000..7de5e0d --- /dev/null +++ b/releases/release_build.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +rm -rf $1 +rm -rf ./app/mewcam.app +cp -R ./mewcam-darwin-x64/mewcam.app ./app +bash ./build_dmg.sh +mkdir $1 +mv mewcam.dmg $1