aboutsummaryrefslogtreecommitdiffstats
path: root/clients/www/src-tauri
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-04-05 16:40:12 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-04-05 16:40:12 -0500
commit925180e2dcb2b95cb2777a75e1491499c0d69936 (patch)
treec01a7936f87dc3ce82ce8734ee9c2381f2aa8029 /clients/www/src-tauri
parentBump typescript from 5.4.3 to 5.4.4 (diff)
downloadzorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.tar
zorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.tar.gz
zorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.tar.bz2
zorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.tar.lz
zorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.tar.xz
zorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.tar.zst
zorascript-925180e2dcb2b95cb2777a75e1491499c0d69936.zip
Add rust
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r--clients/www/src-tauri/.gitignore3
-rw-r--r--clients/www/src-tauri/Cargo.toml26
-rw-r--r--clients/www/src-tauri/build.rs3
-rw-r--r--clients/www/src-tauri/icons/128x128.pngbin0 -> 19051 bytes
-rw-r--r--clients/www/src-tauri/icons/128x128@2x.pngbin0 -> 60404 bytes
-rw-r--r--clients/www/src-tauri/icons/32x32.pngbin0 -> 2460 bytes
-rw-r--r--clients/www/src-tauri/icons/Square107x107Logo.pngbin0 -> 14066 bytes
-rw-r--r--clients/www/src-tauri/icons/Square142x142Logo.pngbin0 -> 22800 bytes
-rw-r--r--clients/www/src-tauri/icons/Square150x150Logo.pngbin0 -> 24992 bytes
-rw-r--r--clients/www/src-tauri/icons/Square284x284Logo.pngbin0 -> 71207 bytes
-rw-r--r--clients/www/src-tauri/icons/Square30x30Logo.pngbin0 -> 2330 bytes
-rw-r--r--clients/www/src-tauri/icons/Square310x310Logo.pngbin0 -> 81804 bytes
-rw-r--r--clients/www/src-tauri/icons/Square44x44Logo.pngbin0 -> 3899 bytes
-rw-r--r--clients/www/src-tauri/icons/Square71x71Logo.pngbin0 -> 7563 bytes
-rw-r--r--clients/www/src-tauri/icons/Square89x89Logo.pngbin0 -> 10320 bytes
-rw-r--r--clients/www/src-tauri/icons/StoreLogo.pngbin0 -> 4609 bytes
-rw-r--r--clients/www/src-tauri/icons/icon.icnsbin0 -> 951142 bytes
-rw-r--r--clients/www/src-tauri/icons/icon.icobin0 -> 76415 bytes
-rw-r--r--clients/www/src-tauri/icons/icon.pngbin0 -> 171843 bytes
-rw-r--r--clients/www/src-tauri/src/main.rs8
-rw-r--r--clients/www/src-tauri/tauri.conf.json66
21 files changed, 106 insertions, 0 deletions
diff --git a/clients/www/src-tauri/.gitignore b/clients/www/src-tauri/.gitignore
new file mode 100644
index 0000000..aba21e2
--- /dev/null
+++ b/clients/www/src-tauri/.gitignore
@@ -0,0 +1,3 @@
+# Generated by Cargo
+# will have compiled files and executables
+/target/
diff --git a/clients/www/src-tauri/Cargo.toml b/clients/www/src-tauri/Cargo.toml
new file mode 100644
index 0000000..70db707
--- /dev/null
+++ b/clients/www/src-tauri/Cargo.toml
@@ -0,0 +1,26 @@
+[package]
+name = "app"
+version = "0.1.0"
+description = "A Tauri App"
+authors = ["you"]
+license = ""
+repository = ""
+default-run = "app"
+edition = "2021"
+rust-version = "1.60"
+
+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+
+[build-dependencies]
+tauri-build = { version = "1.5.1", features = [] }
+
+[dependencies]
+serde_json = "1.0"
+serde = { version = "1.0", features = ["derive"] }
+tauri = { version = "1.6.1", features = [] }
+
+[features]
+# this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled.
+# 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.
+# DO NOT REMOVE!!
+custom-protocol = [ "tauri/custom-protocol" ]
diff --git a/clients/www/src-tauri/build.rs b/clients/www/src-tauri/build.rs
new file mode 100644
index 0000000..795b9b7
--- /dev/null
+++ b/clients/www/src-tauri/build.rs
@@ -0,0 +1,3 @@
+fn main() {
+ tauri_build::build()
+}
diff --git a/clients/www/src-tauri/icons/128x128.png b/clients/www/src-tauri/icons/128x128.png
new file mode 100644
index 0000000..8c4c97f
--- /dev/null
+++ b/clients/www/src-tauri/icons/128x128.png
Binary files differ
diff --git a/clients/www/src-tauri/icons/128x128@2x.png b/clients/www/src-tauri/icons/128x128@2x.png
new file mode 100644
index 0000000..b286aeb
--- /dev/null
+++ b/clients/www/src-tauri/icons/128x128@2x.png
Binary files differ
diff --git a/clients/www/src-tauri/icons/32x32.png b/clients/www/src-tauri/icons/32x32.png
new file mode 100644
index 0000000..4beac50
--- /dev/null
+++ b/clients/www/src-tauri/icons/32x32.png
Binary files differ
diff --git a/clients/www/src-tauri/icons/Square107x107Logo.png b/clients/www/src-tauri/icons/Square107x107Logo.png
new file mode 100644
index 0000000..2413270
--- /dev/null
+++ b/clients/www/src-tauri/icons/Square107x107Logo.png
Binary files differ
diff --git a/clients/www/src-tauri/icons/Square142x142Logo.png b/clients/www/src-tauri/icons/Square142x142Logo.png
new file mode 100644
index 0000000..de9f5c5
--- /dev/null
+++ b/clients/www/src-tauri/icons/Square142x142Logo.png
Binary files differ
diff --git a/clients/www/src-tauri/icons/Square150x150Logo.png b/clients/www/src-tauri/icons/Square150x150Logo.png
new file mode 100644
index 0000000..fe22cb2
--- /dev/null
+++ b/clients/www/src-tauri/icons/Square150x150Logo.png
Binary files differ
diff --git a/clients/www/src-tauri/icons/Square284x284Logo.png b/clients/www/src-tauri/icons/Square284x284Logo.png
new file mode 100644
index 0000000..cfe18ea
--- /dev/null
+++ b/clients/www/src-tauri/icons/Square284x284Logo.png
Binary files differ
diff --git a/clients/www/src-tauri/icons/Square30x30Logo.png b/clients/www/src-tauri/icons/Square30x30Logo.png
new file mode 100644
index 0000000..28cc9c9
--- /dev/null
+++ b/clients/www/src-tauri/icons/Square30x30Logo.png
Binary files differ
diff --git a/clients/www/src-tauri/icons/Square310x310Logo.png b/clients/www/src-tauri/icons/Square310x310Logo.png
new file mode 100644
index 0000000..b898e37
--- /dev/null
+++ b/clients/www/src-tauri/icons/Square310x310Logo.png
Binary files differ
diff --git a/clients/www/src-tauri/icons/Square44x44Logo.png b/clients/www/src-tauri/icons/Square44x44Logo.png
new file mode 100644
index 0000000..959a52b
--- /dev/null
+++ b/clients/www/src-tauri/icons/Square44x44Logo.png
Binary files differ
diff --git a/clients/www/src-tauri/icons/Square71x71Logo.png b/clients/www/src-tauri/icons/Square71x71Logo.png
new file mode 100644
index 0000000..2a24711
--- /dev/null
+++ b/clients/www/src-tauri/icons/Square71x71Logo.png
Binary files differ
diff --git a/clients/www/src-tauri/icons/Square89x89Logo.png b/clients/www/src-tauri/icons/Square89x89Logo.png
new file mode 100644
index 0000000..8057e3a
--- /dev/null
+++ b/clients/www/src-tauri/icons/Square89x89Logo.png
Binary files differ
diff --git a/clients/www/src-tauri/icons/StoreLogo.png b/clients/www/src-tauri/icons/StoreLogo.png
new file mode 100644
index 0000000..4ca0243
--- /dev/null
+++ b/clients/www/src-tauri/icons/StoreLogo.png
Binary files differ
diff --git a/clients/www/src-tauri/icons/icon.icns b/clients/www/src-tauri/icons/icon.icns
new file mode 100644
index 0000000..71ba99b
--- /dev/null
+++ b/clients/www/src-tauri/icons/icon.icns
Binary files differ
diff --git a/clients/www/src-tauri/icons/icon.ico b/clients/www/src-tauri/icons/icon.ico
new file mode 100644
index 0000000..7643815
--- /dev/null
+++ b/clients/www/src-tauri/icons/icon.ico
Binary files differ
diff --git a/clients/www/src-tauri/icons/icon.png b/clients/www/src-tauri/icons/icon.png
new file mode 100644
index 0000000..8276154
--- /dev/null
+++ b/clients/www/src-tauri/icons/icon.png
Binary files differ
diff --git a/clients/www/src-tauri/src/main.rs b/clients/www/src-tauri/src/main.rs
new file mode 100644
index 0000000..f5c5be2
--- /dev/null
+++ b/clients/www/src-tauri/src/main.rs
@@ -0,0 +1,8 @@
+// Prevents additional console window on Windows in release, DO NOT REMOVE!!
+#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
+
+fn main() {
+ tauri::Builder::default()
+ .run(tauri::generate_context!())
+ .expect("error while running tauri application");
+}
diff --git a/clients/www/src-tauri/tauri.conf.json b/clients/www/src-tauri/tauri.conf.json
new file mode 100644
index 0000000..24cb318
--- /dev/null
+++ b/clients/www/src-tauri/tauri.conf.json
@@ -0,0 +1,66 @@
+{
+ "$schema": "../../../node_modules/@tauri-apps/cli/schema.json",
+ "build": {
+ "beforeBuildCommand": "pnpm run build",
+ "beforeDevCommand": "pnpm run dev",
+ "devPath": "http://localhost:5173",
+ "distDir": "../build"
+ },
+ "package": {
+ "productName": "zorascript",
+ "version": "0.1.0"
+ },
+ "tauri": {
+ "allowlist": {
+ "all": false
+ },
+ "bundle": {
+ "active": true,
+ "category": "DeveloperTool",
+ "copyright": "",
+ "deb": {
+ "depends": []
+ },
+ "externalBin": [],
+ "icon": [
+ "icons/32x32.png",
+ "icons/128x128.png",
+ "icons/128x128@2x.png",
+ "icons/icon.icns",
+ "icons/icon.ico"
+ ],
+ "identifier": "io.github.rosstheross.zorascript",
+ "longDescription": "",
+ "macOS": {
+ "entitlements": null,
+ "exceptionDomain": "",
+ "frameworks": [],
+ "providerShortName": null,
+ "signingIdentity": null
+ },
+ "resources": [],
+ "shortDescription": "",
+ "targets": "all",
+ "windows": {
+ "certificateThumbprint": null,
+ "digestAlgorithm": "sha256",
+ "timestampUrl": ""
+ }
+ },
+ "security": {
+ "csp": null
+ },
+ "updater": {
+ "active": false
+ },
+ "windows": [
+ {
+ "fullscreen": false,
+ "height": 600,
+ "resizable": true,
+ "title": "Zorascript",
+ "width": 800
+ }
+ ]
+ }
+}