fixup tauri scripts (wip)

This commit is contained in:
Brandon Thomas committed 2025-04-20 01:55:48 -04:00
1 parent 0d879af3a4
commit 30b77afb23
4 files changed
+81 -2

No files matched your search

@@ -0,0 +1,37 @@
{
"$schema": "https://schema.tauri.app/config/2.0.0-rc",
"productName": "ArtCraft 2D",
"version": "0.1.0",
"identifier": "ai.artcraft.app",
"build": {
"frontendDist": "../../../frontend/apps/editor2d/dist",
"devUrl": "http://localhost:5173",
"beforeDevCommand": "nx run editor2d:dev",
"beforeBuildCommand": "nx run editor2d:build"
},
"app": {
"windows": [
{
"title": "ArtCraft 2D",
"width": 2400,
"height": 1300,
"resizable": true,
"fullscreen": false
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
}
}
@@ -0,0 +1,37 @@
{
"$schema": "https://schema.tauri.app/config/2.0.0-rc",
"productName": "ArtCraft 3D",
"version": "0.1.0",
"identifier": "ai.artcraft.app",
"build": {
"frontendDist": "../../../frontend/apps/editor3d/dist",
"devUrl": "http://localhost:5173",
"beforeDevCommand": "nx run editor3d:dev",
"beforeBuildCommand": "nx run editor3d:build"
},
"app": {
"windows": [
{
"title": "ArtCraft 3D",
"width": 2400,
"height": 1300,
"resizable": true,
"fullscreen": false
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
}
}
+4 -1
View File
@@ -18,4 +18,7 @@ popd
export TAURI_FRONTEND_PATH="${frontend_path}"
export TAURI_APP_PATH="${root_dir}/crates/desktop/tauri-artcraft"
cargo tauri dev --no-watch
export CONFIG_PATH="${TAURI_APP_PATH}/tauri.artcraft_2d.conf.json"
#cargo tauri dev --no-watch -- --config "${CONFIG_PATH}"
cargo tauri dev -- -- --no-watch --config "${CONFIG_PATH}"
+3 -1
View File
@@ -18,4 +18,6 @@ popd
export TAURI_FRONTEND_PATH="${frontend_path}"
export TAURI_APP_PATH="${root_dir}/crates/desktop/tauri-artcraft"
cargo tauri dev -- -- --no-watch
export CONFIG_PATH="${TAURI_APP_PATH}/tauri.artcraft_2d.conf.json"
cargo tauri dev -- --config "${TAURI_APP_PATH}/tauri.artcraft_2d.conf.json" -- --no-watch