From 19e64e754a302bb7e39ce636d94c2a47f9d323b3 Mon Sep 17 00:00:00 2001 From: Robert Janetzko Date: Sat, 30 Apr 2022 17:06:34 +0000 Subject: [PATCH] windows executable icon --- .devcontainer/Dockerfile | 3 +- Makefile | 12 +++---- backend/rsrc_windows_386.syso | Bin 0 -> 3428 bytes backend/rsrc_windows_amd64.syso | Bin 0 -> 3428 bytes backend/winres/winres.json | 61 ++++++++++++++++++++++++++++++++ 5 files changed, 69 insertions(+), 7 deletions(-) create mode 100644 backend/rsrc_windows_386.syso create mode 100644 backend/rsrc_windows_amd64.syso create mode 100644 backend/winres/winres.json diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 29e4466..b73eab1 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -13,8 +13,9 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ && apt-get -y install --no-install-recommends graphviz # [Optional] Uncomment the next lines to use go get to install anything else you need -# USER vscode +USER vscode # RUN go get -x # RUN npm install -g @angular/CLI # [Optional] Uncomment this line to install global node packages. # RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g " 2>&1 +RUN go install github.com/tc-hib/go-winres@latest \ No newline at end of file diff --git a/Makefile b/Makefile index 3831545..91bad34 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ build: - cd backend && GOOS=linux GOARCH=386 go build -o ../bin/legendsbrowser-linux-386 main.go - cd backend && GOOS=linux GOARCH=amd64 go build -o ../bin/legendsbrowser-linux-x64 main.go - cd backend && GOOS=windows GOARCH=386 go build -o ../bin/legendsbrowser-386.exe main.go - cd backend && GOOS=windows GOARCH=amd64 go build -o ../bin/legendsbrowser-x64.exe main.go - cd backend && GOOS=darwin GOARCH=amd64 go build -o ../bin/legendsbrowser-macos-x64 main.go - cd backend && GOOS=darwin GOARCH=arm64 go build -o ../bin/legendsbrowser-macos-m1 main.go + cd backend && GOOS=linux GOARCH=386 go build -o ../bin/legendsbrowser-linux-386 + cd backend && GOOS=linux GOARCH=amd64 go build -o ../bin/legendsbrowser-linux-x64 + cd backend && GOOS=windows GOARCH=386 go build -o ../bin/legendsbrowser-386.exe + cd backend && GOOS=windows GOARCH=amd64 go build -o ../bin/legendsbrowser-x64.exe + cd backend && GOOS=darwin GOARCH=amd64 go build -o ../bin/legendsbrowser-macos-x64 + cd backend && GOOS=darwin GOARCH=arm64 go build -o ../bin/legendsbrowser-macos-m1 run: cd backend && go run main.go \ No newline at end of file diff --git a/backend/rsrc_windows_386.syso b/backend/rsrc_windows_386.syso new file mode 100644 index 0000000000000000000000000000000000000000..c42bf125b4d1a7e6273852120fc7803a413418d1 GIT binary patch literal 3428 zcmb7H30M$B_P=%rh-blZefy4AdevlnFLQ1fug97 zkFKs#&@NP|C<=JggF=B7>xBYBUAwiFZr8eQ-SYT&pt6$vCL!SvyWKCD`Tzg>-g&=c zzWFCfU@#CZiQWj=X9xwGD3i*jwV%4Z5R$@lDqv`Ffg{rPrB@DNBNj|~2<482Q30bb zj2STc!|o4;bvGeK87!cNDM#z483M(F7%X?7)Fdf+~Imety%LJAto-5iAr9zPf0W}uAk-~jQr?i*5N?EgL&>h z%qo;%B}G>XcX|1DxU}a~zt!m8`u(0Q6_-A#X`7ILzjVwGY0=#~{MQ8<>;Ck8#O9j` zW!u|27;~mqb8`z?ayOy4;Ad_X=PII`A6pwEFlKvg-Diyx6H>qafc0s`lf0%=v9}jj zt||7YTtDxt>qTEN^11B({*CR{^*M~rZLJEA%8OkOI-7-a*yFE#Qd?#9sVIBVAEm8Y z(`62O7TxXBb=PY{MDEODAAkSjpFgqQG5CJjxX8DEgV{wvS&5ZR-D4Ojoc_Lh(~31M zK{FN2*2W!Yt-beTCG3)O{|scgfV=K2mv>maz2~Eu*WR{TBcr>YmQPB1Kc>SyVNCpy z^2)xK6F+CUrn)!XXtLhf;TzfeeE+T~imucl@RW7GUUQZz8H z{*m%2wKM#V&dOtdXs8Y^eyiTXm}6OA|E}w&=ceC2UKLa0*M6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$;X9)5D6{`RVs0Dh?=Jnsd;K5O#F)kLPDSsh{+H~~-Y=2za)5J%NlYV~TvN-Bvoo1tkaXW`UFZPZG_L^}8~%x2?UE_a|wf}Kqg z4B>E-7RtE-9xs%;Y&aVy+-$OtQm%vS6?Q#IQU8YrzUWmC)N0C1W)AwGDeZow+)wAor6nNB(j3Vxi{*i~>L z-RB8pHmSpO^jXFsD7ik{u!1ykFpD-yrGh+U91WqP$RYjAb&`y9A>|GYN6K|(1uX(e q4?OVU^lxqFe+D;%4ZOVEkmG-W8;W%5=->XdxDET~L@Qag9qPY?*VOy~ literal 0 HcmV?d00001 diff --git a/backend/rsrc_windows_amd64.syso b/backend/rsrc_windows_amd64.syso new file mode 100644 index 0000000000000000000000000000000000000000..a9edfe1680baf50371739a7f676232d8237384c8 GIT binary patch literal 3428 zcmb7H30Mpip4NdZB<&*KTd4+qJG+w>&-`sH|kaNk}-vZud)O{{R2Jci!)q zZ~jSC1q?(>q8CE;8A3rO%A~Yu?WZnJgd{MX0vK9c;E1$+>6Js+hy_y~LOEk#l*8x) zV+M?VFy`34FmVdg=C26!OwiQ~v(vGpF;LE>VR|}B+Sc_N{j(AD07pKK>6Q$qLNqbQxJ`e>!g3VmyG@~ExK!m-?{)}?Vo;#*nBgg zbbD(%W6ty{Zccu4&L$KW^lVi5x$@|y$JT}jjM-LG`+38Jgw$_7WPMitB)9QY?Cr%B zYl_?}*3bL;dg0fMJTAMhZ)2NveKwK-(%S&JMMQJM6 zbehASMR$33-u2uNku$T%+t2U#7f-Br3_f2qEb{5wV0MvHR$^si*Jwrxr?2S!mm?_I& z_Ih1)kyp<@nRlXanuix_Zx+t(*jG2D;ze0h&)Q4*s4lqITlSr`O#dJ6W7GUTme(_{ zzEzvpB)6o>?@nxQiDj|;nU!0yo$T2U)9yCj>|5u?s%M{nFSu{P!daf%cQVq7lbSsh zzm(#m`l9|Y_2$+CH8XsV&dOzfWT*-+np$UJ%(1Mmd(ZW=bJK4huZ*eoZM)EpT5cN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