diff --git a/web-app/seafoam/src-tauri/Cargo.toml b/web-app/seafoam/src-tauri/Cargo.toml index 7c1782b..00bc9aa 100644 --- a/web-app/seafoam/src-tauri/Cargo.toml +++ b/web-app/seafoam/src-tauri/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "seafoam" version = "0.0.0" -description = "A Tauri App" +description = "Seafoam" authors = ["you"] license = "" repository = "" @@ -13,7 +13,7 @@ edition = "2021" tauri-build = { version = "1.4", features = [] } [dependencies] -tauri = { version = "1.4", features = [ "fs-all", "shell-open"] } +tauri = { version = "1.4", features = [ "path-all", "fs-all", "shell-open"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" diff --git a/web-app/seafoam/src/assets/blockarraydatav3.txt b/web-app/seafoam/src-tauri/assets/blockarraydatav3.txt similarity index 100% rename from web-app/seafoam/src/assets/blockarraydatav3.txt rename to web-app/seafoam/src-tauri/assets/blockarraydatav3.txt diff --git a/web-app/seafoam/src/assets/densitylistv3.txt b/web-app/seafoam/src-tauri/assets/densitylistv3.txt similarity index 100% rename from web-app/seafoam/src/assets/densitylistv3.txt rename to web-app/seafoam/src-tauri/assets/densitylistv3.txt diff --git a/web-app/seafoam/src/assets/padsv3.txt b/web-app/seafoam/src-tauri/assets/padsv3.txt similarity index 100% rename from web-app/seafoam/src/assets/padsv3.txt rename to web-app/seafoam/src-tauri/assets/padsv3.txt diff --git a/web-app/seafoam/src-tauri/tauri.conf.json b/web-app/seafoam/src-tauri/tauri.conf.json index 75b771d..1a5c1eb 100644 --- a/web-app/seafoam/src-tauri/tauri.conf.json +++ b/web-app/seafoam/src-tauri/tauri.conf.json @@ -20,8 +20,11 @@ "fs": { "all":true, "scope": [ - "$APP/*" + "$RESOURCE/assets/*" ] + }, + "path": { + "all": true } }, "bundle": { @@ -34,6 +37,9 @@ "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico" + ], + "resources": [ + "assets/*" ] }, "security": { diff --git a/web-app/seafoam/src/index.html b/web-app/seafoam/src/index.html index 53baf30..166f7a4 100644 --- a/web-app/seafoam/src/index.html +++ b/web-app/seafoam/src/index.html @@ -5,7 +5,6 @@ Seafoam -