From f000341d8474891a21559190e86eeeafdab7e206 Mon Sep 17 00:00:00 2001 From: Sparkenstein Date: Sat, 10 Feb 2024 15:17:16 +0530 Subject: [PATCH] feat: images are working in prod --- .gitignore | 2 +- index.html | 6 +- src-tauri/Cargo.lock | 203 ++++++++++++++----------------- src-tauri/Cargo.toml | 2 +- src-tauri/src/commands/hash.rs | 24 ++++ src-tauri/src/commands/mod.rs | 2 + src-tauri/src/commands/ping.rs | 177 +++++++++++++++++++++++++++ src-tauri/src/main.rs | 214 +++------------------------------ vite.config.ts | 7 +- vite/copyAssets.ts | 6 +- 10 files changed, 324 insertions(+), 319 deletions(-) create mode 100644 src-tauri/src/commands/hash.rs create mode 100644 src-tauri/src/commands/mod.rs create mode 100644 src-tauri/src/commands/ping.rs diff --git a/.gitignore b/.gitignore index ba37feb..8ecf265 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,4 @@ stats.html yarn-error.log -src/vips/ \ No newline at end of file +assets/vips/ \ No newline at end of file diff --git a/index.html b/index.html index ae01f6c..516485c 100644 --- a/index.html +++ b/index.html @@ -5,14 +5,12 @@ Vite App - +