mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 08:21:49 +03:00
Fixing yargs and electron-builder regressions (#3725)
This PR reverts two version bumps from #3712: * `yargs` needs to be downgraded, because a never version can trigger https://github.com/evanw/esbuild/issues/2441 * `electron-builder` needs to be downgraded, because our workaround for https://github.com/electron-userland/electron-builder/issues/6865 proved insufficient. As the upstream issues are resolved, we should bump these dependencies again.
This commit is contained in:
parent
9134f9b2d7
commit
d6bd80011f
@ -22,11 +22,12 @@
|
||||
"mime-types": "^2.1.35",
|
||||
"@electron/remote": "^2.0.8",
|
||||
"electron-is-dev": "^1.2.0",
|
||||
"yargs": "^16.2.0"
|
||||
"yargs": "=15.4.1"
|
||||
},
|
||||
"//": "`yargs` dependency is pinned to version 15.4.1 because newer version triggers https://github.com/evanw/esbuild/issues/2441",
|
||||
"devDependencies": {
|
||||
"electron": "17.1.0",
|
||||
"electron-builder": "^23.3.3",
|
||||
"electron-builder": "^22.14.13",
|
||||
"esbuild": "^0.14.43",
|
||||
"crypto-js": "4.1.1",
|
||||
"electron-notarize": "1.2.1",
|
||||
|
@ -1,5 +0,0 @@
|
||||
Patches to be applied on NPM dependencies of the IDE.
|
||||
|
||||
- [app-builder-lib](./app-builder-lib%2B23.3.3.patch) — workaround for
|
||||
https://github.com/electron-userland/electron-builder/issues/6865, as
|
||||
discovered by James.
|
@ -1,12 +0,0 @@
|
||||
diff --git a/node_modules/app-builder-lib/out/targets/nsis/NsisTarget.js b/node_modules/app-builder-lib/out/targets/nsis/NsisTarget.js
|
||||
index e487f90..a09e531 100644
|
||||
--- a/node_modules/app-builder-lib/out/targets/nsis/NsisTarget.js
|
||||
+++ b/node_modules/app-builder-lib/out/targets/nsis/NsisTarget.js
|
||||
@@ -473,7 +473,6 @@ class NsisTarget extends core_1.Target {
|
||||
}
|
||||
async executeMakensis(defines, commands, script) {
|
||||
const args = this.options.warningsAsErrors === false ? [] : ["-WX"];
|
||||
- args.push("-INPUTCHARSET", "UTF8");
|
||||
for (const name of Object.keys(defines)) {
|
||||
const value = defines[name];
|
||||
if (value == null) {
|
@ -167,6 +167,17 @@ helper tools for that. We recommend:
|
||||
**For users of M1 Mac**: installing GraalVM on M1 Mac requires manual actions,
|
||||
please refer to a [dedicated documentation](./graalvm-m1-mac.md).
|
||||
|
||||
**For users of MacOS Monterey and later**: building desktop IDE currently
|
||||
requires Python 2 installed in the system. It can be installed using the
|
||||
following commands:
|
||||
|
||||
```sh
|
||||
brew install pyenv
|
||||
pyenv install 2.7.18
|
||||
pyenv global 2.7.18
|
||||
export PYTHON_PATH=$(pyenv root)/shims/python
|
||||
```
|
||||
|
||||
The flatbuffers `flatc` compiler can be installed from the following locations:
|
||||
|
||||
- Using the `conda` package manager (`conda install flatbuffers`). This will
|
||||
|
Loading…
Reference in New Issue
Block a user