This commit is contained in:
Mckay Wrigley
2023-03-22 12:55:20 -06:00
parent 1ebae96dca
commit ec20db24de
6 changed files with 21 additions and 10 deletions
+5 -1
View File
@@ -17,7 +17,7 @@ tauri-build = { version = "1.2.1", features = [] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.2.4", features = ["api-all"] }
tauri = { version = "1.2.4", features = ["api-all", "macos-private-api"] }
[features]
# by default Tauri runs in production mode
@@ -26,3 +26,7 @@ default = [ "custom-protocol" ]
# this feature is used for production builds where `devPath` points to the filesystem
# DO NOT remove this
custom-protocol = [ "tauri/custom-protocol" ]
[profile.release.package.wry]
debug = true
debug-assertions = true
+5 -4
View File
@@ -1,9 +1,9 @@
{
"build": {
"beforeBuildCommand": "npm run build && npm run export",
"beforeBuildCommand": "npm run build",
"beforeDevCommand": "npm run dev",
"devPath": "http://localhost:3000",
"distDir": "../out"
"distDir": "../dist"
},
"package": {
"productName": "Chatbot UI",
@@ -14,7 +14,7 @@
"all": true,
"http": {
"all": true,
"scope": ["https://**"]
"scope": ["tauri://localhost/api/models"]
}
},
"bundle": {
@@ -26,7 +26,7 @@
},
"externalBin": [],
"icon": ["icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico"],
"identifier": "chabotui",
"identifier": "com.mckaywrigley.chatbotui",
"longDescription": "",
"macOS": {
"entitlements": null,
@@ -50,6 +50,7 @@
"updater": {
"active": false
},
"macOSPrivateApi": true,
"windows": [
{
"fullscreen": false,