Desktop: Bundle for Mac and Windows (#3297)

* add bundle for mac os and windows

* Fix bundle name

This name gets used as the display name of the app on mac os, shorter name looks better and is more consistent.

* preserve std out by running bin directly

* bundle placeholder on linux

* fix linux
This commit is contained in:
Timon
2025-10-23 10:39:08 +00:00
committed by GitHub
parent 557df6917d
commit 7fbe440e73
21 changed files with 429 additions and 15 deletions

View File

@@ -4,15 +4,15 @@
"scripts": {
"---------- DEV SERVER ----------": "",
"start": "cd frontend && npm start",
"start-desktop": "cd frontend && npm run build-native-dev && cargo run -p graphite-desktop",
"start-desktop": "cd frontend && npm run build-native-dev && cargo run -p graphite-desktop-bundle -- open",
"profiling": "cd frontend && npm run profiling",
"production": "cd frontend && npm run production",
"---------- BUILDS ----------": "",
"build-dev": "cd frontend && npm run build-dev",
"build-profiling": "cd frontend && npm run build-profiling",
"build": "cd frontend && npm run build",
"build-desktop": "cd frontend && npm run build-native && cargo build -r -p graphite-desktop",
"build-desktop-dev": "cd frontend && npm run build-native-dev && cargo build -p graphite-desktop",
"build-desktop": "cd frontend && npm run build-native && cargo run -r -p graphite-desktop-bundle",
"build-desktop-dev": "cd frontend && npm run build-native-dev && cargo run -p graphite-desktop-bundle",
"---------- UTILITIES ----------": "",
"lint": "cd frontend && npm run lint",
"lint-fix": "cd frontend && npm run lint-fix"