From 252bb43b950ab3165091a979d080b416c06c1b9f Mon Sep 17 00:00:00 2001 From: hitman249 Date: Thu, 22 Jun 2023 23:23:14 +0700 Subject: [PATCH] autodownload cabextract (required winetricks) --- bin/cabextract | Bin 0 -> 35528 bytes src/src/modules/app-folders.js | 5 +++++ src/src/modules/kernels/wine.js | 1 + src/src/modules/update.js | 16 +++++++++++++++- src/src/modules/wine-command.js | 1 + 5 files changed, 22 insertions(+), 1 deletion(-) create mode 100755 bin/cabextract diff --git a/bin/cabextract b/bin/cabextract new file mode 100755 index 0000000000000000000000000000000000000000..cf3277522cd5451687b9feef05ed9d4e521400b3 GIT binary patch literal 35528 zcmeHwdwf*Yz3<+6Kms8XENE0XY;>qZNys2z0z@-p0(*2&l&1v@A(@a!$i!rZM@1W) z1lS!$V{1?C!+Ypkk3F}xTI5)SOn?NfVxWT9T8$K8k5LIJLZFbj-{0D6O*UI{?z!jQ z^UwXT^O;%e_gla9d#&Gk?wvi~D)!7ukY!0+iPD`CLCtp=m_lB#CCD>K3Z*=07`{hK zqohHAlNin@FEkRA8rRW;%hME&Pee-fGAVO~bd-UH1mhAKQcCp(y0(lkN<=DU7%%Dc(Y3n2t5aAhyC1cky4z{HL<#C#nj0YtIM;it7-!4 zve)HJ&7L|rr{0${iItOHB!gmV_Pq_;>9z4+ppA54GW z*>TI94|k;s9wd`!=puU2!~&j-4AC(AlQ#kwl|Z8KGy4B2H=x30RGYd z_{;(DO9!y`odM|A4}kyW0QkEGz&{N`ujJ>^1JLgr06%yD{5u2iw+%pFJplgh0sOOi z0QzYI;3q&I1t076#@c>sL= z0CtrPfbSVVZgc?r<^kl=D0C&i?H_=C(E#}A;G^JUy_^H+pFRLSaR9s*a)(PdNQK`q zB#8O!CeYtx6$<$GoPN25UgCI_iXK!vQ;z};G| zRrP*v-TXO4)xH|<{L&TGUa6#HI%QN-d|Ex18Fs-)uON*$U5KpuU3Y>Wu)pHl~hr)y3}7*DM501c~zZM@AX&v%1WWU-?z5fx7J%HRrqS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`d?TB)(#JFSJz*)wk6SrX4j$vE z0=18xTaj|Sl_eE*xOGxeSq^RjGI*4f*433lb*drq5LLRm3e1e^E9&c+e)x%JxCFOR zR}J9V|1&fV^Ay7gyjmuoS43(Z_pR~%HPoXyO4QHe^+l?1z9JFxl7Q(<++2S#uP;)& zAmk~ZHse@2lQ-9A_b-4GsS>9&GS>RDfj)~lPUtVz0V1WdNV>#2z^ecKC?g+=`bW9` zBBlExbdiqaJ5gWE*AD_mRYZNU?hvV1XMluVR{xg*OLMrWFXnBL*715me?ceG8kEzT zK)_;MAkyW$zEyvYmL5Zfd@AaTb&5#WaeoN;R{J;e`ZGC0vF;J6SSL|^@|m^%)4-8W z1b;~ZK$pV4C9xhfAVXJ?r*tbm=K6|4SX5V7Vl)oVQo@&I@$~z^T~_~QgIM9Ipf|8z zt-sAuKbO}NsrjB2@euq(`humt@^zwu{yhCM*MP;hs3+jxAY;~FtgA&T*4u*K+JAn} z>x=f6mUBv;7V>o@$4ZLG@bq=0Bwy60-#(yAq;&7hd|BoH5ryXZd3*vD={B*T=S)QW z2%d+L!MkKwA0(XEN91iFs6XBes2>)5K1P8JpF~a|_8Eo$$@-t89>uPxFV@2L!c{WdBzU8257&!Ws+Uux#W4Mtih8iu14o{HomGQ>;B v7r!fA_=G{xV3DsF==iscatjG76ZPp{srjo0>-8VO17Et this.fs.exists(path) ? null : Promise.reject()) + .then(() => this.update.downloadCabextract()) .then(() => { api.commit(action.get('logs').CLEAR); diff --git a/src/src/modules/update.js b/src/src/modules/update.js index a880bcf..c43235b 100644 --- a/src/src/modules/update.js +++ b/src/src/modules/update.js @@ -8,7 +8,7 @@ const fs = require('fs'); export default class Update { - version = '1.5.19'; + version = '1.5.20'; /** * @type {string} @@ -118,6 +118,20 @@ export default class Update { return Promise.resolve(); } + /** + * @returns {Promise} + */ + downloadCabextract() { + let url = this.network.getRepo('/bin/cabextract'); + let path = this.appFolder.getCabextractFile(); + + if (!this.fs.exists(path)) { + return this.network.download(url, path); + } + + return Promise.resolve(); + } + /** * @return {string} */ diff --git a/src/src/modules/wine-command.js b/src/src/modules/wine-command.js index d91a57d..eee042b 100644 --- a/src/src/modules/wine-command.js +++ b/src/src/modules/wine-command.js @@ -163,6 +163,7 @@ export default class WineCommand extends Command { let exported = { VK_LAYER_PATH: `$VK_LAYER_PATH:${this.appFolders.getCacheImplicitLayerDir()}`, + PATH: `$PATH:${this.appFolders.getBinDir()}`, XDG_CACHE_HOME: this.appFolders.getCacheDir(), WINE: wine.getWineBin(), WINE64: wine.getWine64Bin(),