kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
Add support for Apple Silicon Macs, by hardcoding x64 mode in Phoenix
rodzic
0cec076dbb
commit
28772768e8
|
@ -31,10 +31,18 @@ automatically, but if you want to run on the command line, you can (after runnin
|
|||
|
||||
# Developer Environment Setup
|
||||
|
||||
Our builds and development environment are usually managed by [nwjs-builder-phoenix](https://github.com/evshiron/nwjs-builder-phoenix), but it only supports Intel-based architectures.
|
||||
|
||||
## x86-based Windows, Mac, Linux
|
||||
|
||||
Run `npm install` and then `npm start`
|
||||
|
||||
## Apple Silicon Macs (M1, M1 Pro, M1 Max)
|
||||
|
||||
Phoenix does not support ARM-based macs, so we have to explicitly tell it to use Intel-based versions of NWJS.
|
||||
|
||||
Run `npm install` and then `npm start-x64`
|
||||
|
||||
## ARM-based Raspberry
|
||||
|
||||
Run `npm install`.
|
||||
|
|
|
@ -16,9 +16,7 @@
|
|||
"dist-nix": "build --concurrent --tasks linux-x86,linux-x64,mac-x64 package.nw",
|
||||
"dist-win": "build --concurrent --tasks win-x86,win-x64 package.nw",
|
||||
"distsome": "build --debug --tasks linux-x64,mac-x64 package.nw",
|
||||
"start": "run package.nw"
|
||||
},
|
||||
"dependencies": {
|
||||
"banana-i18n": "^2.1.0"
|
||||
"start": "run package.nw",
|
||||
"start-x64": "run --x64 package.nw"
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue