mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-13 02:01:51 +00:00
* Update Electron dependencies This will break some mods and a few things were deprecated, but the Electron wrapper will be replaced anyway. * Add macOS and arm64 packaging tasks As @chunkybanana has tested the general approach to building shapez on macOS, I can now add these tasks. Aside from that, now there are tasks to build for the 64-bit ARM variant of each system and a task that builds packages for all platforms and architectures at once. A bug where localConfig wasn't created when building for the first time was also fixed.
20 lines
674 B
JSON
20 lines
674 B
JSON
{
|
|
"name": "electron",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"scripts": {
|
|
"startDev": "electron --disable-direct-composition --in-process-gpu . --dev --local",
|
|
"startDevGpu": "electron --enable-gpu-rasterization --enable-accelerated-2d-canvas --num-raster-threads=8 --enable-zero-copy . --dev --local",
|
|
"start": "electron --disable-direct-composition --in-process-gpu ."
|
|
},
|
|
"devDependencies": {},
|
|
"optionalDependencies": {},
|
|
"dependencies": {
|
|
"async-lock": "^1.4.1",
|
|
"electron": "30.0.0",
|
|
"electron-window-state": "^5.0.3"
|
|
}
|
|
}
|