mirror of
https://github.com/linsa-io/linsa.git
synced 2026-04-28 19:27:20 +02:00
Tauri macOS dev buiild/bundle (#138)
* try do build * fixes * do build * change config
This commit is contained in:
@@ -1,12 +1,11 @@
|
|||||||
{
|
{
|
||||||
"productName": "learn-anything",
|
"productName": "Learn Anything",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"identifier": "xyz.learn-anything",
|
"identifier": "xyz.learnanything.desktop",
|
||||||
"build": {
|
"build": {
|
||||||
"frontendDist": "../out",
|
"frontendDist": "https://dev.learn-anything.xyz",
|
||||||
"devUrl": "http://localhost:3000",
|
"devUrl": "http://localhost:3000",
|
||||||
"beforeDevCommand": "bun dev",
|
"beforeDevCommand": "bun dev"
|
||||||
"beforeBuildCommand": "bun build"
|
|
||||||
},
|
},
|
||||||
"app": {
|
"app": {
|
||||||
"windows": [
|
"windows": [
|
||||||
@@ -15,8 +14,7 @@
|
|||||||
"width": 800,
|
"width": 800,
|
||||||
"height": 600,
|
"height": 600,
|
||||||
"resizable": true,
|
"resizable": true,
|
||||||
"fullscreen": false,
|
"fullscreen": false
|
||||||
"url": "http://localhost:3000"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"security": {
|
"security": {
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
"web:build": "bun run --filter '*' build",
|
"web:build": "bun run --filter '*' build",
|
||||||
"cli": "bun run --watch cli/run.ts",
|
"cli": "bun run --watch cli/run.ts",
|
||||||
"seed": "bun --watch cli/seed.ts",
|
"seed": "bun --watch cli/seed.ts",
|
||||||
"tauri": "tauri"
|
"tauri": "tauri",
|
||||||
|
"app:build": "bun tauri build -b dmg -v"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"web"
|
"web"
|
||||||
|
|||||||
Reference in New Issue
Block a user