From c1c66bdd60caafef8d6d48d691b49eff1de5562e Mon Sep 17 00:00:00 2001 From: 18alantom <2.alan.tom@gmail.com> Date: Tue, 7 Dec 2021 18:40:06 +0530 Subject: [PATCH] build(win): fix webkit-app-region issue - set multiple icon sizes - set icon if linux --- build/icons/128x128.png | Bin 0 -> 2497 bytes build/icons/16x16.png | Bin 0 -> 295 bytes build/icons/256x256.png | Bin 0 -> 4783 bytes build/icons/32x32.png | Bin 0 -> 555 bytes build/icons/48x48.png | Bin 0 -> 1033 bytes build/icons/512x512.png | Bin 0 -> 9525 bytes build/icons/64x64.png | Bin 0 -> 1247 bytes electron-builder.yml | 3 +-- src/background.js | 14 +++++++++++--- src/components/Sidebar.vue | 15 ++++++++++----- src/pages/DatabaseSelector.vue | 19 ++++++++++++------- src/pages/SetupWizard/SetupWizard.vue | 7 ++++++- 12 files changed, 40 insertions(+), 18 deletions(-) create mode 100644 build/icons/128x128.png create mode 100644 build/icons/16x16.png create mode 100644 build/icons/256x256.png create mode 100644 build/icons/32x32.png create mode 100644 build/icons/48x48.png create mode 100644 build/icons/512x512.png create mode 100644 build/icons/64x64.png diff --git a/build/icons/128x128.png b/build/icons/128x128.png new file mode 100644 index 0000000000000000000000000000000000000000..557412e7010d9fc7ce0a6c411e66e9033cda7d68 GIT binary patch literal 2497 zcmb_e=Rezv8~rA+M-okJZH&eqC8bqrk5p<@wW6q1qxNWViA_+HrmelDMfEDRYLwLM zP^+a}v18Q?HA?YwU;X}p`{F$3bI#}UJTK0R^LY}@Obj{M1lRxo;Jk*_Ge70Xf5F0Z zIy*ERzMK-PFV-pm0N4@#0t95|@|~KX0CPhfpt4VB`BX5tY8z_ zaeOpvq*Et45lx50G9cUKCB=nDNy5_zNNe3K3VEKZKO)d2G$_!;wH^~Uadk1nCeSr# zVZHC_NoZfA>r33Dg#;PP%Gym`qII^lT7y3IPOcZ4@5_DO#=PnDMU`};7xF_wX~hhF z$;Vf?ISNG3*S4sE{^K7Ut0YCvZ~=lE9k4L6LE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1^TVb>Y{Len0-uW{mp2OAxMhXjqp$ym?fU<& zhJf&7Y*#cOPZH&}1|+agKBHOelab}g_o2c$>fyr0aRoNQ`l8#FxEJPF@HQDM1{-gF z7#Tyxb{tF9B98|z2$OE_0=r6S7da9j>r?HB8l<|`BjlrcldL!Xk{{{1#AgQGvtv^~ zy@M5)%6Z)gA-ySQKvhaxF6Fm38}DvL*Wp zf6_SSd0?3&P^wcVT4pM{b?u-fb`tsX0l>ACBDMqZ9OiN%z?UoSAJ96vj5$0|qmnDZ z8)mPXeOY}4BSXDM6==Zrh4l)qz9im8STqWOXRK*NCuaFqtIzG*K3xx>rOu| O;F`XPUZswG^#1^1_J@N2 literal 0 HcmV?d00001 diff --git a/build/icons/16x16.png b/build/icons/16x16.png new file mode 100644 index 0000000000000000000000000000000000000000..822537df230c233c2d7f87b7728195a7e289a0db GIT binary patch literal 295 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`oCO|{#S9GG!XV7ZFl&wkP>``W z$lZxy-8q?;Kn_c~qpu?a!^VE@KZ&eB{vJ;k$B+ufyOa0wF*=I4@lRA>>AVoRT2Qcc z-U%%cuFmwptO}O(4!jPCH9u~?oRhNbhf(pfdp>#^E=K~h zweK%JZ*?cOudDgbx1tr3X52GW=u50DlzN?~LSw8y0(*D<86Kc+czvf+=rmXU# nIsXdN^cOpx9bO{XT)2Q4<#|#Xfu6{1-oD!MB9$y5YnCwf8Jc1yLiV*G zVzP`qG8y}r&wRe$zvA=5JuVnEiFFg8*PX_umBpIeFaw-4bM`qX}vT`B!O#-tDI0O#tfCSdX1f0l=xH zr*+dj6!Lq zqJ7u?eVI?rH}ndh)@AfJZ98Ufi3}DlF^-q7uYDMj6?*V-n{B8MOux&5T z?BAFF%4l*M&hG{7ZeB>MQdWL9m^0AwVxZ7uj;q>XE@bll1z0vZpWN~5JsIlM>Dq5V zuko`Tp71b>ETM{2n$lH!lHspfk|x9vjt@k##TMPcI^s60nY#nL0=S!`!Tcu0Z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vz?A6BwDovjT04KIi9z3>dEMmro&>12i!@*K@8TUir@aD_7bRxGd=ys;jp zM1Wq9h3Jxl+m)Qxg6rjz$ZhElBR z)F}55`$}=Kje-)8YI;C%X*D#w7wz$xQASdLSCS`)J{y+vb8L5J!KY&9sSOuM4sG!N za(J`u|A!sd@i9sHmNn5RdBDIH|D|UC3Kw5ds(FuGicfGU?8Z3=O+{oS(^+Lc%??^t z>qcRTF@sIxTj38xppI6N<@3nxqM_PUgow^WY#@FEY3S9uA3An;!M>n&P?HtW3x}BX X%q+?6Ms(8VOF&QCNUKKE@yUMxP*u)u literal 0 HcmV?d00001 diff --git a/build/icons/32x32.png b/build/icons/32x32.png new file mode 100644 index 0000000000000000000000000000000000000000..cca3b72ee3c5a83af080796604c8bd79a40086e9 GIT binary patch literal 555 zcmV+`0@VG9P)BiQuXNWO{JJTrwQT1#CpCiyP)6ve-6yl7Mw2II5yZPwcRU5)(jR zAvRddK!D`}hV&-f=7H_2#<8dX9B=&kg%1UL2Zwc^=SLA+3?sh2imnBSPGEnbam+r_ zI?JQa$htHeqc$^d~u@vJRc3nGLU_J!`be5QVjO~kdIL937s$&st(=Z`=7|MWASP5QeQ29Nt`bJ8i`!8VWPi2A4sm?1e zS1P!?zNz~>&(rh^y%ErF2A|@A04AUW>nJe+8CXY#2}r>@QnkiJq6ZP?lB11@r?v^V t*Z|BUM{T)b#KitkBF)WdlMqwe^B)qmf8m6xBM$%o002ovPDHLkV1i28<}3gJ literal 0 HcmV?d00001 diff --git a/build/icons/48x48.png b/build/icons/48x48.png new file mode 100644 index 0000000000000000000000000000000000000000..c0010273fa4287512a4f44a8eb075e3c58711685 GIT binary patch literal 1033 zcmV+k1or!hP)&nyME2N$XIQcVc@r=$@C1v$y62Q$fstmqFKt_Mr&K@$uOqq4w?^`Ma}D99cv zHA%^8Q?jJOgra|tyPJVDl_J^(72M7_cW!fT)?U23aX)alzu)=Y``h`Rdw$y;zpH@= zh@z;+LjhVgni0(av&#^gfYz?jXs$stVDRN=U&YwLj<)|_0@tHi#n{D)W(ba16BIlR zSYh@{C0YcuEG(;U)QJlkxC*f!JYhh)JK13YqEuf-P!2|nxq=#8LfEl`GO`~Gl~7uo zFZ%{i9{e>=CA1BcOEw8GfO0Wv=*txpOdKd2Re;>60^~*&AUCQ2xrthUYkb^qk;dH~ z&on>zLazz+gU3IYJXH%it(HIR_{nqNc6)fd zXnQ{FD3qQPANTcxC2b0|JI!jXui+@t+(63+V>RdYbq%!IMa9u z=koGgTesx;=bDBXC8dWe#YeqQxLvTTSbY8VJ-2J>8^nuEE!-X!oIExxIK&@rH@7>w zdU)*0^_$}E17+N%c}mMG#eo-t?EB&xXaB&XlJGXoZlGe zcXs!%r7d2_nIzu4`vCR6ERjDoIT`GZ5&zwyEb?)4E_8PFfNN}m`*g?5mo1Qo=1fX^uz`l$SaU0fS8I)jfUM>TI%E>hrsAsp=!=*)m zaNj4y?e+T3PxSj&VvwEP53vj<{MR?0u7zVq%0P?r9<8o}s09$2srbOXNIC{1U}o(O z=M-NaW|r#t9tL7=ws5_#U6X}bP3A0`n=CBW+|o;dBeZ?{?jZN&QHhob4v*(b4rEsu#FW(g&Ljj*h zN8#hAVLq>@Fdq`)3h6(BeNg#ZDR%Mc0Z1?A!(0X9%BZS*usI~}yeqz7do;7(;)oNv4G1Sk)V zIe4F#_K1z33~ZSA9BKp$pb~lo%Gl`6K>>6O{0{g^iB#DjcCmr9OE1iL7Hz$X(hC-` z0=;-r5iVBE--Lj)4QoKlgxN&^DdY4z)i(KVL@0j%z4@i|r8sGv00000NkvXXu0mjf Dxr5j$ literal 0 HcmV?d00001 diff --git a/build/icons/512x512.png b/build/icons/512x512.png new file mode 100644 index 0000000000000000000000000000000000000000..54d88ca1afb776f60692d532b6b129510716999b GIT binary patch literal 9525 zcmeHt`9D-&{QsG;4BnP0iDXa660$~`$r{-+$i5`|5<<2aDYB)KB|9Y=jD1VCcPL~} zwk(k%ThYwmxHDmgABm{ipbc@GmjWG`Gu20k`*@p5z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FFRxdW6z#oB&`Rt-nD{ zE4PCAT?K%7P_KnrX-el%CH$YPwA4_lV-XYDm=55s-D)E8o9EEvLqx}iYX41CnGHt>#G4k@zMn(7#KZ#-Ik=n1_~HpALG-b8G$l{VIWLD9x?%Q zdVtn}P?XV09-PY!2^z@nx8)6Z`$=>9(i}Kb6UK~F(y}}4G?ygmbLkr)bfvcQocBlqdy6CbaH(fK#wgq==3HW)VOu z2;~$?x>3yH|C5$$>_+WgML4|bVu@!t0m<(6&ZM6p#dctTUK#`ZFRlHQ5u0_!3oxhy za8AL1#^?CMd<;mF^08q?FcSjdz*;$%zH$Jo8qEp>>#y7JJood3;~W!il0&CwgE^wv zKv9=$oDMr=rNe~e-E!w4NGSmj&#@Yx-kfqD2ADN=_ba5isf+HK+MM7)PZVJ8lxGRA zo-@~$qpkFE_s@q4?Vg{??=ae*?iG^&eeoXX#D;Ir)_54uN`*i87s9XqPLi$E4IzNCx9u{Wl#Tkj%ddL|!i`?gLd2$$Cn;ey zw{UAP(y0+tMhSq*pf_E6<*&b^VnO92Eo5U|Bjiur%ORQRhx~fkI$%Qk1TE`nX(f?9 z1gu+#`#3Bhd!m5}<`8@Oh=E5x1_5F|ktp%d89faTA3r?~{lLOsSdd&rj@{k25Cvaq zGbE7L=HJnxrwfOZBM$pw?0wsWVEKYt$j5rvXBFA*yjyRutftIc!J== z#@?sMiVEF|htV@Dsk*T#v_nr;Vk)3tgQPE#1Kt}ZXh&vp)nXA3>*4h*KOWdYJS))E LGSnofJ3RP5FN%#B literal 0 HcmV?d00001 diff --git a/build/icons/64x64.png b/build/icons/64x64.png new file mode 100644 index 0000000000000000000000000000000000000000..5d7e7fa899dbd0c03b7185861b278be66abd26f0 GIT binary patch literal 1247 zcmV<51R(o~P)!57{9o zJR}sEQU}d)1Hn4&RJRheVAtdH`@Wes&i>Jv#SXe}KJeSw_vW`d@ArMb_vSIo)5rsc zVJzjtdbUGs6>LGar8KvgV2fGSr)k;?FF(>|I%x%7$5u~sFJL!xwhp!@EQU_G!ok#%Q$UL23qXqF3qXqF3qXqF3qXqF3qXpa zyZ{T_9Q41Lb-~3`-+zsbrJO4+ETn8Cl1Ykx|3Sq?MeMUIXCGWAuxODm=?in#0sJ2I zYgVr!FSrU2dYD-kuVE3EnBN<3-cJ#sxTugWUpP;pd}J;d>X`w)nxmeKp^SuryDjSinUE50KT^rQs6xrNg?weB^)OS}5--FH7-1dgKtr^)``#07Izy)bVNO8;R>(K>uS-de_TLtJ{?61I43} zd$#H#eJzj;N$y1_39B3kEcEOn>o7!ce8!pJ1lbUc+!bv=c0jDgTldHfPq#tzdU&mA zRV%XlKxs506f6MwD5p*^ge0%pVYq3D@c{Op+Ln(&(J=ev7ei-|`PT3$+9 zH>Zwg^aMnLiSyhrIeUBc!Ndo4S>htVfuYZQt&R3%2p@ADFe&~6nc#;1RG1XU7l0JU z7l0JU7l0JU7l0JU7l0JU7l0H80!)y)h*xEGQkNJ6=p%Lc0s%a2F3MBh;fWAllEll> zs=X|!Ynm1+z&rC?h>&_b!H0ZZUbQUH*($M}POJm0ENCKiXp(yg?S+uFhem~=5aC!m zWFgzOIh;IA`3ZKBhMg4|OJU0)A2T769{h}88=YZpJDu-f`)~bpak_1u4wAW%az5@V zlehO)Ym(2(i~=|@%*|C5WNxv+R{FWPeO@PXX^+)yY^J~^{{Zk=SGO$G0}%iK002ov JPDHLkV1le?I>!J2 literal 0 HcmV?d00001 diff --git a/electron-builder.yml b/electron-builder.yml index 179d2c48a..99f1ca38e 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -29,12 +29,11 @@ nsis: publish: - github linux: - icon: build/icon.icns + icon: build/icons category: Finance publish: - github target: - - snap - deb - AppImage - rpm \ No newline at end of file diff --git a/src/background.js b/src/background.js index 3e8f742de..dcd2067bc 100644 --- a/src/background.js +++ b/src/background.js @@ -21,7 +21,9 @@ const isDevelopment = process.env.NODE_ENV !== 'production'; const isMac = process.platform === 'darwin'; const isLinux = process.platform === 'linux'; const title = 'Frappe Books'; -const icon = path.resolve('./build/icon.png'); +const icon = isDevelopment + ? path.resolve('./build/icon.png') + : path.join(__dirname, 'icons', '512x512.png'); // Global ref to prevent garbage collection. let mainWindow; @@ -69,10 +71,16 @@ function createWindow() { resizable: true, }; - if (isDevelopment) { + if (isDevelopment || isLinux) { Object.assign(options, { icon }); } + if (isLinux) { + Object.assign(options, { + icon: path.join(__dirname, '/icons/512x512.png'), + }); + } + mainWindow = new BrowserWindow(options); if (process.env.WEBPACK_DEV_SERVER_URL) { @@ -171,7 +179,7 @@ ipcMain.handle(IPC_ACTIONS.GET_PRIMARY_DISPLAY_SIZE, (event) => { ipcMain.handle(IPC_ACTIONS.GET_DIALOG_RESPONSE, async (event, options) => { const window = event.sender.getOwnerBrowserWindow(); - if (isDevelopment) { + if (isDevelopment || isLinux) { Object.assign(options, { icon }); } return await dialog.showMessageBox(window, options); diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index d7b70a65a..551ea0aa2 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -6,12 +6,14 @@ px-2 h-full block - window-drag flex justify-between flex-col bg-gray-100 " + :class="{ + 'window-drag': platform !== 'Windows', + }" >
@@ -70,7 +72,7 @@
-
+