add new build targets, update readme

This commit is contained in:
Stewart Allen 2024-06-18 12:06:25 -04:00
commit a3bede3ae9
3 changed files with 24 additions and 0 deletions

View file

@ -59,8 +59,11 @@
"build": "npm run prebuild && electron-builder",
"build-debug": "npm run prebuild && DEBUG=electron-builder electron-builder",
"build-linux": "npm run build -- --linux --x64",
"build-linux-arm": "npm run build -- --linux --arm64",
"build-win": "npm run build -- --win --x64",
"build-win-arm": "npm run build -- --win --arm64",
"build-mac": "npm run build -- --mac --arm64",
"build-mac-intel": "npm run build -- --mac --x64",
"mklinks": "find src web -type l | xargs -I{} sh -c 'echo \"{},$(readlink {})\"' > links.csv",
"mac-verify": "spctl --assess -vv --type install dist/*/*.app",
"prebuild": "node bin/electron-pre.js",

View file

@ -12,6 +12,22 @@
[`Mesh:Tool`](https://grid.space/mesh) is a browser-based mesh repair and editing tool
## Electron Builds (Desktop Binaries)
https://github.com/GridSpace/grid-apps/releases/
Click on "Assets" under the release name to reveal files
Linux x86 requires the following to run:
```
sudo apt -y install fuse
chmod 755 KiriMoto-linux-x86_64.AppImage
./KiriMoto-linux-x86_64.AppImage --no-sandbox
```
The Windows and Mac binaries are not signed, so you will need to jump through a few "safety" hoops to get them to open the first time.
## Primary Documentation
https://docs.grid.space/projects/kiri-moto

View file

@ -61,6 +61,11 @@ const tweak = {
};
const api = exports({
clip: (text) => {
navigator.clipboard
.writeText(text)
.catch(err => console.error('Clipboard Error:', err));
},
clone: Object.clone,
sdb: data.local,
ajax: ajax,