Skip to content

Commit 5945c31

Browse files
committed
build: up tauri config
1 parent f64c299 commit 5945c31

File tree

3 files changed

+45
-5
lines changed

3 files changed

+45
-5
lines changed

src-tauri/Cargo.lock

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ tauri-build = { version = "1.3.0", features = [] }
1717
[dependencies]
1818
serde_json = "1.0"
1919
serde = { version = "1.0", features = ["derive"] }
20-
tauri = { version = "1.3.0", features = ["system-tray"] }
20+
tauri = { version = "1.3.0", features = ["shell-open", "system-tray"] }
2121

2222
[features]
2323
# this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled.

src-tauri/tauri.conf.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,19 @@
44
"beforeBuildCommand": "npm run build:tauri",
55
"beforeDevCommand": "npm run dev",
66
"devPath": "http://localhost:3000",
7-
"distDir": "../out"
7+
"distDir": "../out",
8+
"withGlobalTauri": true
89
},
910
"package": {
1011
"productName": "ChatGPT-Plus",
1112
"version": "0.1.0"
1213
},
1314
"tauri": {
1415
"allowlist": {
15-
"all": false
16+
"all": false,
17+
"shell": {
18+
"open": true
19+
}
1620
},
1721
"bundle": {
1822
"active": true,
@@ -55,8 +59,10 @@
5559
"fullscreen": false,
5660
"title": "ChatGPT-Plus",
5761
"resizable": true,
58-
"height": 600,
59-
"width": 900
62+
"height": 720,
63+
"width": 1080,
64+
"skipTaskbar": false,
65+
"additionalBrowserArgs": "--disable-features=msWebOOUI,msPdfOOUI,msSmartScreenProtection,PasswordImport"
6066
}
6167
],
6268
"systemTray": {

0 commit comments

Comments
 (0)