From b04a816ba4df7d2a2a395a9449d8651fc0b62c2c Mon Sep 17 00:00:00 2001 From: DoomKitty87 Date: Mon, 21 Aug 2023 20:58:59 -0700 Subject: [PATCH] add blockdata file with lfs --- web-app/seafoam/src-tauri/Cargo.toml | 4 +- .../assets/blockarraydatav3.txt | 0 .../assets/densitylistv3.txt | 0 .../{src => src-tauri}/assets/padsv3.txt | 0 web-app/seafoam/src-tauri/tauri.conf.json | 8 +- web-app/seafoam/src/index.html | 224 +++++++++++++++++- web-app/seafoam/src/routegen.js | 96 ++++---- 7 files changed, 280 insertions(+), 52 deletions(-) rename web-app/seafoam/{src => src-tauri}/assets/blockarraydatav3.txt (100%) rename web-app/seafoam/{src => src-tauri}/assets/densitylistv3.txt (100%) rename web-app/seafoam/{src => src-tauri}/assets/padsv3.txt (100%) 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 -