Skip to content

Commit

Permalink
Add import new database container
Browse files Browse the repository at this point in the history
  • Loading branch information
chungquantin committed Sep 22, 2023
1 parent cb4341a commit 8bfe492
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ tauri-build = { version = "1.4", features = [] }


[dependencies]
tauri = { version = "1.4", features = [ "shell-open",
tauri = { version = "1.4", features = [ "path-all", "shell-all", "macos-private-api", "dialog-all",
] }
tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
serde = { version = "1.0", features = ["derive"] }
Expand Down
39 changes: 22 additions & 17 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,50 @@
{
"build": {
"beforeDevCommand": "npm run dev",
"beforeBuildCommand": "npm run build",
"beforeDevCommand": "yarn dev",
"beforeBuildCommand": "yarn build",
"devPath": "http://localhost:1420",
"distDir": "../dist",
"withGlobalTauri": false
"withGlobalTauri": true
},
"package": {
"productName": "tauri-app",
"version": "0.0.0"
"productName": "EDMA",
"version": "1.0.1"
},
"tauri": {
"macOSPrivateApi": true,
"allowlist": {
"all": false,
"dialog": {
"all": true
},
"path": {
"all": true
},
"shell": {
"all": false,
"all": true,
"open": true
}
},
"bundle": {
"active": true,
"targets": "all",
"identifier": "com.tauri.dev",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/[email protected]",
"icons/icon.icns",
"icons/icon.ico"
]
"identifier": "com.nomadiz.scripion",
"icon": ["icons/scripion.ico"]
},
"security": {
"csp": null
},
"windows": [
{
"contentProtected": false,
"fullscreen": false,
"resizable": true,
"title": "tauri-app",
"width": 800,
"height": 600
"title": "EDMA Desktop",
"minWidth": 1000,
"minHeight": 500,
"maxHeight": 2000,
"decorations": true,
"focus": true
}
]
}
Expand Down

0 comments on commit 8bfe492

Please sign in to comment.