forked from RSATom/WebChimera.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
for electron v20 support
- Loading branch information
Showing
13 changed files
with
660 additions
and
192 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
$ELECTRON_VERSION = "20.0.2" | ||
|
||
$Env:YARN_ENABLE_IMMUTABLE_INSTALLS = "false" | ||
$Env:npm_config_wcjs_runtime = "electron" | ||
$Env:npm_config_wcjs_runtime_version = $ELECTRON_VERSION.Replace("v", "") -replace "`t|`n|`r","" | ||
$Env:npm_config_wcjs_arch = "x64" | ||
|
||
yarn install | ||
node rebuild.js |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
|
||
set -eu | ||
export ELECTRON_VER="20.0.2" | ||
export BUILD_DIR="./build/Release" | ||
export npm_config_wcjs_runtime=electron | ||
export npm_config_wcjs_runtime_version=$ELECTRON_VER | ||
npm_config_wcjs_arch=${npm_config_wcjs_arch:-} | ||
if [[ -z "${npm_config_wcjs_arch}" ]]; then | ||
export npm_config_wcjs_arch="$(arch | sed -e "s/i386/x64/")" | ||
fi | ||
node rebuild.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.