mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-17 22:18:41 -09:00
wip
This commit is contained in:
parent
ff8c0ba66b
commit
689e13864d
6 changed files with 32 additions and 4 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -21,3 +21,8 @@ plugins
|
||||||
.vscode/*
|
.vscode/*
|
||||||
!.vscode/launch.json
|
!.vscode/launch.json
|
||||||
.idea
|
.idea
|
||||||
|
|
||||||
|
# yarn berry
|
||||||
|
.yarn/unplugged/
|
||||||
|
.yarn/build-state.yml
|
||||||
|
.yarn/install-state.gz
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -21,7 +21,7 @@
|
||||||
"color": "4.2.3",
|
"color": "4.2.3",
|
||||||
"default-shell": "1.0.1",
|
"default-shell": "1.0.1",
|
||||||
"electron-devtools-installer": "3.2.0",
|
"electron-devtools-installer": "3.2.0",
|
||||||
"quine-electron-drag-click": "1.0.6d",
|
"quine-electron-drag-click": "1.0.6-d",
|
||||||
"electron-fetch": "1.9.1",
|
"electron-fetch": "1.9.1",
|
||||||
"electron-is-dev": "2.0.0",
|
"electron-is-dev": "2.0.0",
|
||||||
"electron-store": "8.2.0",
|
"electron-store": "8.2.0",
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
"dist": "yarn run build && yarn run electron-builder-with-retry",
|
"dist": "yarn run build && yarn run electron-builder-with-retry",
|
||||||
"electron-builder-with-retry": "electron-builder -p never || electron-builder -p never || electron-builder -p never",
|
"electron-builder-with-retry": "electron-builder -p never || electron-builder -p never || electron-builder -p never",
|
||||||
"clean": "node ./bin/rimraf-standalone.js node_modules && node ./bin/rimraf-standalone.js ./app/node_modules && node ./bin/rimraf-standalone.js ./app/renderer && node ./bin/rimraf-standalone.js ./target && node ./bin/rimraf-standalone.js ./dist",
|
"clean": "node ./bin/rimraf-standalone.js node_modules && node ./bin/rimraf-standalone.js ./app/node_modules && node ./bin/rimraf-standalone.js ./app/renderer && node ./bin/rimraf-standalone.js ./target && node ./bin/rimraf-standalone.js ./dist",
|
||||||
"v8-snapshot": "cross-env npm_config_arch=x64 yarn run v8-snapshot:arch && cross-env npm_config_arch=arm64 yarn run v8-snapshot:arch",
|
"v8-snapshot": "node scripts/v8-snapshot.js",
|
||||||
"v8-snapshot:arch": "yarn run mk-snapshot && yarn run cp-snapshot",
|
"v8-snapshot:arch": "yarn run mk-snapshot && yarn run cp-snapshot",
|
||||||
"mk-snapshot": "node scripts/mk-snapshot.js",
|
"mk-snapshot": "node scripts/mk-snapshot.js",
|
||||||
"cp-snapshot": "node bin/cp-snapshot.js",
|
"cp-snapshot": "node bin/cp-snapshot.js",
|
||||||
|
|
@ -63,6 +63,7 @@
|
||||||
"open": "8.4.2",
|
"open": "8.4.2",
|
||||||
"ora": "8.1.1",
|
"ora": "8.1.1",
|
||||||
"php-escape-shell": "1.0.0",
|
"php-escape-shell": "1.0.0",
|
||||||
|
"quine-electron-drag-click": "1.0.6-d",
|
||||||
"react": "18.3.1",
|
"react": "18.3.1",
|
||||||
"react-dom": "18.3.1",
|
"react-dom": "18.3.1",
|
||||||
"react-redux": "8.1.3",
|
"react-redux": "8.1.3",
|
||||||
|
|
|
||||||
10
scripts/v8-snapshot.js
Normal file
10
scripts/v8-snapshot.js
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
const { execSync } = require("child_process");
|
||||||
|
const arch = process.arch;
|
||||||
|
|
||||||
|
if (arch === "arm64") {
|
||||||
|
console.log("Running snapshot for x64 (Rosetta build)...");
|
||||||
|
execSync("cross-env npm_config_arch=x64 yarn run v8-snapshot:arch", { stdio: "inherit" });
|
||||||
|
}
|
||||||
|
|
||||||
|
console.log(`Running snapshot for native arch: ${arch}...`);
|
||||||
|
execSync("cross-env npm_config_arch=" + arch + " yarn run v8-snapshot:arch", { stdio: "inherit" });
|
||||||
16
yarn.lock
16
yarn.lock
|
|
@ -3155,7 +3155,7 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"bindings@npm:^1.4.0":
|
"bindings@npm:^1.4.0, bindings@npm:^1.5.0":
|
||||||
version: 1.5.0
|
version: 1.5.0
|
||||||
resolution: "bindings@npm:1.5.0"
|
resolution: "bindings@npm:1.5.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
@ -6452,6 +6452,7 @@ __metadata:
|
||||||
plist: "npm:3.1.0"
|
plist: "npm:3.1.0"
|
||||||
prettier: "npm:3.3.3"
|
prettier: "npm:3.3.3"
|
||||||
proxyquire: "npm:2.1.3"
|
proxyquire: "npm:2.1.3"
|
||||||
|
quine-electron-drag-click: "npm:1.0.6-d"
|
||||||
react: "npm:18.3.1"
|
react: "npm:18.3.1"
|
||||||
react-dom: "npm:18.3.1"
|
react-dom: "npm:18.3.1"
|
||||||
react-redux: "npm:8.1.3"
|
react-redux: "npm:8.1.3"
|
||||||
|
|
@ -8316,7 +8317,7 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"node-addon-api@npm:^3.1.0":
|
"node-addon-api@npm:^3.0.2, node-addon-api@npm:^3.1.0":
|
||||||
version: 3.2.1
|
version: 3.2.1
|
||||||
resolution: "node-addon-api@npm:3.2.1"
|
resolution: "node-addon-api@npm:3.2.1"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
@ -9414,6 +9415,17 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"quine-electron-drag-click@npm:1.0.6-d":
|
||||||
|
version: 1.0.6-d
|
||||||
|
resolution: "quine-electron-drag-click@npm:1.0.6-d"
|
||||||
|
dependencies:
|
||||||
|
bindings: "npm:^1.5.0"
|
||||||
|
node-addon-api: "npm:^3.0.2"
|
||||||
|
node-gyp: "npm:latest"
|
||||||
|
checksum: 10c0/3b908f492b8f021ba9980d8993a6667034213317bf2a25a6c7e6346d7b70ad2eb4564c59ee81c16ace1552fbbd2b91083fe37f94a7d0b508a23071e0fd72a152
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"randombytes@npm:^2.1.0":
|
"randombytes@npm:^2.1.0":
|
||||||
version: 2.1.0
|
version: 2.1.0
|
||||||
resolution: "randombytes@npm:2.1.0"
|
resolution: "randombytes@npm:2.1.0"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue