yarn run v1.22.10
$ yarn pre-build && electron-builder --x64 --ia32
$ tsc && yarn sass && node build.js
src/bin/main/mainLoader.ts:115:30 - error TS2551: Property 'getWebContents' does not exist on type 'WebviewTag'. Did you mean 'getWebContentsId'?
115 webContents = mainWindow.getWebContents()
~~~~~~~~~~~~~~
node_modules/electron/electron.d.ts:10845:5
10845 getWebContentsId(): number;
~~~~~~~~~~~~~~~~~~~~~~~~~~~
'getWebContentsId' is declared here.
src/manager/main.ts:90:15 - error TS2339: Property 'openItem' does not exist on type 'Shell'.
90 shell.openItem(path.join(Global.appDataDir, ext.name.toLowerCase()))
~~~~~~~~
Found 2 errors.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
==> 错误: 在 build() 中发生一个错误。
正在放弃...
生成时出错: majsoul-plus
yay -S majsoul-plus 100.27s user 7.04s system 31% cpu 5:37.78 total
安装
gconf
后,直接运行yay -S majsoul-plus
构建,出现错误:估计是TypeScript版本太高了?有针对Arch系列的解决措施吗?