From 34865f792ce8b0795f4ab1acad3a68cdae418ab8 Mon Sep 17 00:00:00 2001 From: chriswang521 Date: Thu, 28 Sep 2023 16:43:14 +0800 Subject: [PATCH] =?UTF-8?q?link=20https://gitee.com/openkylin/kylin-code/i?= =?UTF-8?q?ssues/I81DBP=20=E4=BF=AE=E5=A4=8D=E7=B3=BB=E7=BB=9F=E5=8F=B3?= =?UTF-8?q?=E9=94=AE=E8=8F=9C=E5=8D=95=E6=89=93=E5=BC=80=E6=96=B9=E5=BC=8F?= =?UTF-8?q?=E4=B8=ADkylin-code=E6=B2=A1=E6=9C=89=E5=9B=BE=E6=A0=87.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/gulpfile.vscode.linux.js | 19 ++++++++++++++++++- resources/linux/icons/code128.png | Bin 0 -> 835 bytes resources/linux/icons/code16.png | Bin 0 -> 358 bytes resources/linux/icons/code22.png | Bin 0 -> 412 bytes resources/linux/icons/code24.png | Bin 0 -> 435 bytes resources/linux/icons/code256.png | Bin 0 -> 1291 bytes resources/linux/icons/code32.png | Bin 0 -> 506 bytes resources/linux/icons/code48.png | Bin 0 -> 572 bytes resources/linux/icons/code64.png | Bin 0 -> 618 bytes 9 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 resources/linux/icons/code128.png create mode 100644 resources/linux/icons/code16.png create mode 100644 resources/linux/icons/code22.png create mode 100644 resources/linux/icons/code24.png create mode 100644 resources/linux/icons/code256.png create mode 100644 resources/linux/icons/code32.png create mode 100644 resources/linux/icons/code48.png create mode 100644 resources/linux/icons/code64.png diff --git a/build/gulpfile.vscode.linux.js b/build/gulpfile.vscode.linux.js index 46c6251f..50657122 100644 --- a/build/gulpfile.vscode.linux.js +++ b/build/gulpfile.vscode.linux.js @@ -59,6 +59,23 @@ function prepareDebPackage(arch) { const icon = gulp.src('resources/linux/code.png', { base: '.' }) .pipe(rename('usr/share/pixmaps/' + product.linuxIconName + '.png')); + const icon256 = gulp.src('resources/linux/icons/code256.png', { base: '.' }) + .pipe(rename('usr/share/icons/hicolor/256x256/apps/' + product.linuxIconName + '.png')); + const icon128 = gulp.src('resources/linux/icons/code128.png', { base: '.' }) + .pipe(rename('usr/share/icons/hicolor/128x128/apps/' + product.linuxIconName + '.png')); + const icon64 = gulp.src('resources/linux/icons/code64.png', { base: '.' }) + .pipe(rename('usr/share/icons/hicolor/64x64/apps/' + product.linuxIconName + '.png')); + const icon48 = gulp.src('resources/linux/icons/code48.png', { base: '.' }) + .pipe(rename('usr/share/icons/hicolor/48x48/apps/' + product.linuxIconName + '.png')); + const icon32 = gulp.src('resources/linux/icons/code32.png', { base: '.' }) + .pipe(rename('usr/share/icons/hicolor/32x32/apps/' + product.linuxIconName + '.png')); + const icon24 = gulp.src('resources/linux/icons/code24.png', { base: '.' }) + .pipe(rename('usr/share/icons/hicolor/24x24/apps/' + product.linuxIconName + '.png')); + const icon22 = gulp.src('resources/linux/icons/code22.png', { base: '.' }) + .pipe(rename('usr/share/icons/hicolor/22x22/apps/' + product.linuxIconName + '.png')); + const icon16 = gulp.src('resources/linux/icons/code24.png', { base: '.' }) + .pipe(rename('usr/share/icons/hicolor/16x16/apps/' + product.linuxIconName + '.png')); + const bash_completion = gulp.src('resources/completions/bash/code') .pipe(replace('@@APPNAME@@', product.applicationName)) @@ -99,7 +116,7 @@ function prepareDebPackage(arch) { .pipe(replace('@@NAME@@', product.applicationName)) .pipe(rename('DEBIAN/postinst')); - const all = es.merge(control, postinst, postrm, prerm, desktops, appdata, workspaceMime, icon, bash_completion, zsh_completion, code); + const all = es.merge(control, postinst, postrm, prerm, desktops, appdata, workspaceMime, icon, icon256, icon128, icon64, icon48, icon32, icon24, icon22, icon16, bash_completion, zsh_completion, code); return all.pipe(vfs.dest(destination)); }; diff --git a/resources/linux/icons/code128.png b/resources/linux/icons/code128.png new file mode 100644 index 0000000000000000000000000000000000000000..60f34215c407fd584157520c97647c8c08f3829c GIT binary patch literal 835 zcmeAS@N?(olHy`uVBq!ia0vp^4Is?H1|$#LC7uRSoCO|{#S9F5M?jcysy3fA0|V1n zPZ!6KiaBrZ+GYeNO0+#RSKGK{LC1|<9bEyA8m#W(+@&vHsPJ_)Z}xk4bm0pfzqump z;^yoN`GSt_5^;$Z`NJvYBoh_o6zt_Q`TWX7+cNlSzS%yv`EFXu(Z2jCpS?1bZ^k2Pu zi$?t_^YgQA>N9RJ+ntyE@5;+Wuie5yTP;^xFdY$WuwW8!XL!WnAj8<9{r9)x&C-Wo z60I-9f18(>md5?nwEFAPhqlSHW7rF7-^}3U=c_nxV7&R|^sOOm2Lu)R7*Gv3{k67X z<;!k;IO?>Ret&R<;=*RKq68bS-uz3TPy2~V!g`QG9pCH-~bgk5eGb+V2(L?pM8c!>4|D5rO#K}bk`rR zE}u}t@Lj*R!r!AMoJCO!5wc(%e*f$a%)Pk^=N>7JbjT4m}!xig)hg zFG&8ggZJ(2*S3exoQbQ6+j_j)`=0T(lcfyL-P?023Jz4a&78UQ)?J+OkllYTx_;*i zkoH%-)4sRJKDBDNzSZ literal 0 HcmV?d00001 diff --git a/resources/linux/icons/code16.png b/resources/linux/icons/code16.png new file mode 100644 index 0000000000000000000000000000000000000000..12d544838d2b6434b7c80990301695d90337c014 GIT binary patch literal 358 zcmV-s0h#`ZP)u(I#px(yo0tN;Kh9nDV46(HrUlDIW?wT7I zVxNBefwKu3aJ0Y-Lu}fS#|-Ve?-OT$Z2cj;@&paIQfY-DHuuC+hW`Bzi8CN#!6gi_ z*I#}Sc7Y%#3&X?^4HU6S2Ocq;dHe}Q45tA<{`_OubMqaF*efKP2^#SI_dkY3r=H=G zMi^iu%lCkjl?g7OC&kMkz`?@ctR_TIv!(S9 zfK%?$v(F4WuD>PE;9@7-1}{DHoP2|&Y7XF(`-jFS%3yPOeg+dcJ`C}TPd_spx%UC9 z9-<6(QWIh*aFE9kpLOgBWd`@{f50&1&?5}-Uw{AO)I*fPKmYt^`1$8AF-qZpi6qq| z0LDA7zZJjx`V&J!UWk)Hgqxk=>|^X;8gVM?|+7m-~TWe$?`Ht^K)Rx|NH-+Ve8d5SoMDU^^bvt zSl6Um$ub1!iD8KU{`-$XrtT0PfaB%upP!{E@pK7@mDXL^R13Ob*e+ zD<8Y~GG!J-F1&>z(leR5&;Vr8xsRRCvK0hF*D+o#|OCBm>3xU|Nrk# duImN`004>|deS_7*!Tbd002ovPDHLkV1nfj#4-Q? literal 0 HcmV?d00001 diff --git a/resources/linux/icons/code256.png b/resources/linux/icons/code256.png new file mode 100644 index 0000000000000000000000000000000000000000..1f2aa7fa6de267a0d3754fd9ca4fbc997afcfbe2 GIT binary patch literal 1291 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K5893O0R7}x|G$6%U;1OBOz`%C|gc+x5^GP!> zuc=wL5l&$YI47$Cn8926|h#M7s)X`66y|EndMNpI>&r+{*8Nzs2>#`MJ0Dzt69a7i~DZ_NK1%W}mXWn6IIKwWp^Q-#6qw zEXZ((g=my_&VFa{>AgSiG+!33ekW&}tY};P;q%Kk&)zRi*I{Lh2-^MrhTYx$*~wpe zTDR=W&Hd7{^dSdBA`{W*9dksGdi@@Yw>LigT9=w#RtYjee9Mx!|1ZA0;9SGt4)!$A z-$bHfMUOk({rAnQ4tZIB{JZ}0@%wY+Z6EJqQFwR2xZ2G>B9py;UgQe~3nqsd45T1# z$4B#Oes8`g9CpiJT)%f-fisi9_op|x7poggP-bZ1BpU7HSI9fwHvho?mzUmr+G4uf zrs`N}Sybg zFvu_}_%M)w&a^5NR`bh90(}}gD^?Ed#Ju8cvnnQLOOj&bH^a0m%)8B&?Ka!9FZ<`K zJ4avk+dl^-$^8pdzrMO$y==MMJ=>~dPE}ue{g>s}-;}aV)+8g&r(Ie2`1vyZb8!;D zlt1_WtloJWOjr^;WvvSHzOaNfkQzh8rxLizwedd_jvou{pRw%ax!d`>HRo@xtvy?Q t=1|1!^UptDRBkYYMFC0~0_G&F*w0Y)uvUD*W`#_UfTydU%Q~loCII^zwx|FA literal 0 HcmV?d00001 diff --git a/resources/linux/icons/code32.png b/resources/linux/icons/code32.png new file mode 100644 index 0000000000000000000000000000000000000000..6be44b6e09a455388d9f8eaf1ee67ab49de7f44e GIT binary patch literal 506 zcmVNCu@%HPl=kLA#hF6h}6fc7mKRd(2_um)vUSjk|BHbb%JIwk>dbr0Hz zFYO%g=ih&Z*I#~-qm?=iKnC-ow24-myXFSN*I%e1L$L$AwMB_mTeSWrh8V>Tm~h}B z(Q1GE{zrWWwC}!8k$#FDV51~JwAvF7J~I6I_n*2BSetA>v|9C+BN(M4#SZxTleqlO zz`(%p|39V}#STzvI!uxNp;;6og9CY{M630kd5+=pPbwEgn&R9u>+Q$dqI(YvK%1H&C1}ZC4yJY{Wsqkj^6)38wbbdXF{ukd%x45WD( wWCS=E?!W!caPM(n^T3IG5A07*qoM6N<$f^t9Xi~s-t literal 0 HcmV?d00001 diff --git a/resources/linux/icons/code48.png b/resources/linux/icons/code48.png new file mode 100644 index 0000000000000000000000000000000000000000..1e7756ba718fe951306116429d9308504679e670 GIT binary patch literal 572 zcmV-C0>k}@P)Qd%NPjvU;al!L;}&7Yjy zl-j}B(GJQEJF$ZUagYOPWozNUu+q>Z%!qgMZhIa_TD|YeuJ@yx-pM zyR8>MAfQ6R7;pdeMbIEcZeH=^+8MF9Kidl~*$w~z3tMs6i9NBtHba(2+QE^{AxNaM z#4^I)pC3O|Q#)wM<`CFQekx-etQU4SR>D+Y6Op6l5zGW*rp{v?puz2gq0TxYM^Ou= z1BeP0lT2qJc>F-*sCi`iJmvvTlJ79Re$INWCZa+{$aaa!M+id!YtOj{xb^l^`GLqi z%xzq1&bbGWB)U6bWQ%9Oh*AG3m7je5)SYt=uy>W>x?fbth_Rk}DnI_Dz)|8&bIv`$ z(y)ih4}_Dt0Yrt2cu{gxzM|^?(c>P#vv|mLzvU}r`2gH26rAXy@^>$u!FPD4Ip-dr zueFNGPoy%sb5S89Rzljh|2Kqhw130^N)TXvGtPCts8BIZhXn3&naIHy;PG8GbsqBo z18p_nAMYS?6tw^?-UCzTS-wJ+55T-aq3bjZ`l3V*LOL&g3}7B0oykM=R{y)3C6=#{ z2=LcfK7hj|+n~AHMJ(EWytJ&XC^NN#7ME-T31hrk@{TorO|UwiF8gfrZuV zlq4&&k)23kX{n?XWigQ{Q8pGQAw))FW|$e{b}X!1>YVy6FTLMyIZe;^^sDD<=1c<^ z3EkrA4SKFA>hM;~Au%-Xt{AETB7Bg{kfa;hdr6 zBW&9V360DIi~#lmwB7-$N4JQbrG#_N@8x~A&?+F2eL*7oqVq^s*iV4H0Id`Fjs9=n zA7rs{e22`l`-dfR0kZ>*N^;w$W5{^;BF26KMgVmIYRK<^`pKx0+?~$D`|zwJ_wC*B^geO{ z&5>Qw^Vv_p2%s)N4f!1~H`t^kcYNJO{L%dZEV+Q*mMSH=kC zihd*i`cEE+^eh~bp3i;)MgVmIYP8+~J;6$hbk+&yjIG(&zer1Hq**{kX))Sr%7k;u z{PJqEp8$ISS|?z~Ggvve5ze_z=OwiHM5}=4NfObMq|PH