Skip to content

Commit b1bfa8a

Browse files
Tauri init
1 parent 0054078 commit b1bfa8a

21 files changed

+105
-0
lines changed

src-tauri/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Generated by Cargo
2+
# will have compiled files and executables
3+
/target/

src-tauri/Cargo.toml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[package]
2+
name = "app"
3+
version = "0.1.0"
4+
description = "A Tauri App"
5+
authors = ["you"]
6+
license = ""
7+
repository = ""
8+
default-run = "app"
9+
edition = "2021"
10+
rust-version = "1.60"
11+
12+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
13+
14+
[build-dependencies]
15+
tauri-build = { version = "1.5.3" }
16+
17+
[dependencies]
18+
serde_json = "1.0"
19+
serde = { version = "1.0", features = ["derive"] }
20+
tauri = { version = "1.7.0" }
21+
22+
[features]
23+
# this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled.
24+
# If you use cargo directly instead of tauri's cli you can use this feature flag to switch between tauri's `dev` and `build` modes.
25+
# DO NOT REMOVE!!
26+
custom-protocol = [ "tauri/custom-protocol" ]

src-tauri/build.rs

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fn main() {
2+
tauri_build::build()
3+
}

src-tauri/icons/128x128.png

10.8 KB
Loading

src-tauri/icons/[email protected]

22.6 KB
Loading

src-tauri/icons/32x32.png

2.17 KB
Loading

src-tauri/icons/Square107x107Logo.png

8.99 KB
Loading

src-tauri/icons/Square142x142Logo.png

12.2 KB
Loading

src-tauri/icons/Square150x150Logo.png

12.7 KB
Loading

src-tauri/icons/Square284x284Logo.png

25.3 KB
Loading

src-tauri/icons/Square30x30Logo.png

2.03 KB
Loading

src-tauri/icons/Square310x310Logo.png

27.8 KB
Loading

src-tauri/icons/Square44x44Logo.png

3.34 KB
Loading

src-tauri/icons/Square71x71Logo.png

5.89 KB
Loading

src-tauri/icons/Square89x89Logo.png

7.37 KB
Loading

src-tauri/icons/StoreLogo.png

3.88 KB
Loading

src-tauri/icons/icon.icns

271 KB
Binary file not shown.

src-tauri/icons/icon.ico

36.8 KB
Binary file not shown.

src-tauri/icons/icon.png

48.8 KB
Loading

src-tauri/src/main.rs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Prevents additional console window on Windows in release, DO NOT REMOVE!!
2+
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
3+
4+
fn main() {
5+
tauri::Builder::default()
6+
.run(tauri::generate_context!())
7+
.expect("error while running tauri application");
8+
}

src-tauri/tauri.conf.json

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"build": {
3+
"beforeBuildCommand": "npm run build",
4+
"beforeDevCommand": "npm run dev",
5+
"devPath": "http://localhost:3000",
6+
"distDir": "../out"
7+
},
8+
"package": {
9+
"productName": "scamper-next",
10+
"version": "0.1.0"
11+
},
12+
"tauri": {
13+
"allowlist": {
14+
"all": false
15+
},
16+
"bundle": {
17+
"active": true,
18+
"category": "DeveloperTool",
19+
"copyright": "",
20+
"deb": {
21+
"depends": []
22+
},
23+
"externalBin": [],
24+
"icon": [
25+
"icons/32x32.png",
26+
"icons/128x128.png",
27+
28+
"icons/icon.icns",
29+
"icons/icon.ico"
30+
],
31+
"identifier": "com.tauri.dev",
32+
"longDescription": "",
33+
"macOS": {
34+
"entitlements": null,
35+
"exceptionDomain": "",
36+
"frameworks": [],
37+
"providerShortName": null,
38+
"signingIdentity": null
39+
},
40+
"resources": [],
41+
"shortDescription": "",
42+
"targets": "all",
43+
"windows": {
44+
"certificateThumbprint": null,
45+
"digestAlgorithm": "sha256",
46+
"timestampUrl": ""
47+
}
48+
},
49+
"security": {
50+
"csp": null
51+
},
52+
"updater": {
53+
"active": false
54+
},
55+
"windows": [
56+
{
57+
"fullscreen": false,
58+
"height": 600,
59+
"resizable": true,
60+
"title": "OpenFusionClient",
61+
"width": 800
62+
}
63+
]
64+
}
65+
}

0 commit comments

Comments
 (0)