unpack the asar
asar e app.asar
then
grep '=== "win32"' -r .
./app/node_modules/@ali/dt-ut/scripts/install.js: else if (process.platform === "win32" && process.arch === 'ia32') {
...
and
grep '=== "darwin"' -r .
./app/node_modules/@ali/dt-ut/scripts/install.js: if (process.platform === "darwin" && process.arch === 'x64') {
./app/node_modules/@ali/dtron-core/dist/modules/menu/templateElement.js:const isMac = process.platform === "darwin";
...
so I guess here could be sed
some of them to true.
Pinned Comments
zxp19821005 commented on 2023-10-16 10:18 (UTC) (edited on 2023-10-16 10:20 (UTC) by zxp19821005)
目前已知问题:
希望有大神来指点迷津~