From 2c8bda944254e641d1acc4ad0acfacc185126a56 Mon Sep 17 00:00:00 2001 From: ! Sleepy <109904491+eepyfemboi@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:25:22 -0800 Subject: [PATCH 01/15] Update uwu.html --- uwu.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uwu.html b/uwu.html index ede577bf..53fc6a16 100644 --- a/uwu.html +++ b/uwu.html @@ -19,7 +19,7 @@

UwU Who Goes There

taiw fwom embawwassment uwu pounces >w< away into da fwuffy stawwy >w< woods~ πŸŒΈβœ¨πŸ’– giggwes ;;w;; and bwushes uwu~ πŸ’žπŸ‘‰πŸ‘ˆ

- + UwU Image Date: Sat, 4 Jan 2025 16:26:21 -0800 Subject: [PATCH 02/15] Update tv.html --- tv.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tv.html b/tv.html index 30ad410c..e61b257d 100644 --- a/tv.html +++ b/tv.html @@ -101,6 +101,6 @@ alt="" /> - + From e16f4c12cec2b0d32dbd194899356da5d591a1b2 Mon Sep 17 00:00:00 2001 From: ! Sleepy <109904491+eepyfemboi@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:26:59 -0800 Subject: [PATCH 03/15] Update touhouproject.html --- touhouproject.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/touhouproject.html b/touhouproject.html index e71a099e..7e37c6f7 100644 --- a/touhouproject.html +++ b/touhouproject.html @@ -56,7 +56,7 @@

Touhou Project.



mashallah we will put an end to the yokai menace

- + From 830f7bd8a0955ee426a2a2a6b6203f557a46cf82 Mon Sep 17 00:00:00 2001 From: ! Sleepy <109904491+eepyfemboi@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:27:26 -0800 Subject: [PATCH 04/15] Update second.html --- second.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/second.html b/second.html index dfaf78ef..9b85acb0 100644 --- a/second.html +++ b/second.html @@ -88,6 +88,6 @@ /> - + From cb2548b056f838fca93179903688dbad70c6e182 Mon Sep 17 00:00:00 2001 From: ! Sleepy <109904491+eepyfemboi@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:27:51 -0800 Subject: [PATCH 05/15] Update mizdiary.html --- mizdiary.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mizdiary.html b/mizdiary.html index 5c458af9..70c0f09c 100644 --- a/mizdiary.html +++ b/mizdiary.html @@ -56,6 +56,6 @@

miz's weekly diary!

friends! dont forget to smile :D

- + From 7b9a02fb0f2039168503dcf0222a5e6ba0c2d53b Mon Sep 17 00:00:00 2001 From: ! Sleepy <109904491+eepyfemboi@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:28:11 -0800 Subject: [PATCH 06/15] Update kaboomtest.html --- kaboomtest.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kaboomtest.html b/kaboomtest.html index 77d4a7dd..704d19b4 100644 --- a/kaboomtest.html +++ b/kaboomtest.html @@ -6,6 +6,6 @@ - + From b4c0f788b6d1962e76857de7117acef210647030 Mon Sep 17 00:00:00 2001 From: ! Sleepy <109904491+eepyfemboi@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:28:33 -0800 Subject: [PATCH 07/15] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 116abf80..9a1b5026 100644 --- a/index.html +++ b/index.html @@ -147,7 +147,7 @@ - +
Date: Sat, 4 Jan 2025 16:28:54 -0800 Subject: [PATCH 08/15] Update goodstuff.html --- goodstuff.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goodstuff.html b/goodstuff.html index 2d2da675..88eae73f 100644 --- a/goodstuff.html +++ b/goodstuff.html @@ -27,7 +27,7 @@ Slowly loading nude girl (SFW version)
- + From d6820bb125773ee6aa5a6eea51f5cd8bb672462c Mon Sep 17 00:00:00 2001 From: ! Sleepy <109904491+eepyfemboi@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:29:21 -0800 Subject: [PATCH 09/15] Update god.html --- god.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/god.html b/god.html index ecb1b2c5..d35bbbb7 100644 --- a/god.html +++ b/god.html @@ -92,6 +92,6 @@

Always Remember "Sanganchao"

Twitter: @Ramboo018

- + From b4f92426ca384c213ba921346b3f847a6a6ec28b Mon Sep 17 00:00:00 2001 From: ! Sleepy <109904491+eepyfemboi@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:29:43 -0800 Subject: [PATCH 10/15] Update chatroom.html --- chatroom.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatroom.html b/chatroom.html index b2e89a79..39822c80 100644 --- a/chatroom.html +++ b/chatroom.html @@ -337,6 +337,6 @@ } setup(); - + From c4becfbf63dbdc2f5c4aaa1d86083f3d04e60a69 Mon Sep 17 00:00:00 2001 From: ! Sleepy <109904491+eepyfemboi@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:30:02 -0800 Subject: [PATCH 11/15] Update chat.html --- chat.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat.html b/chat.html index a1c2a39b..6e3ec9e9 100644 --- a/chat.html +++ b/chat.html @@ -837,6 +837,6 @@ ceo.style.transform = `rotateZ(${angleZ}deg) rotateY(${angleY}deg)`; }); - + From 2bd09149de70388fefb9c57c5d9c1d7f20c2d2ce Mon Sep 17 00:00:00 2001 From: ! Sleepy <109904491+eepyfemboi@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:30:50 -0800 Subject: [PATCH 12/15] Update astolfo.html --- astolfo.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astolfo.html b/astolfo.html index 6edefd52..cf893eca 100644 --- a/astolfo.html +++ b/astolfo.html @@ -74,6 +74,6 @@ - + From e34fe5a2797112206a893689dfa2fe866ff76c40 Mon Sep 17 00:00:00 2001 From: ! Sleepy <109904491+eepyfemboi@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:31:11 -0800 Subject: [PATCH 13/15] Update 404.html --- 404.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/404.html b/404.html index 4df714cb..53f199a7 100644 --- a/404.html +++ b/404.html @@ -138,5 +138,5 @@

randomSixDigit(); rainbowPulse(); - + From e5845a594951341e83c8b3a6f1efdc92676a640e Mon Sep 17 00:00:00 2001 From: Zebulun McNeill Date: Sat, 4 Jan 2025 18:52:09 -0600 Subject: [PATCH 14/15] update versioning --- Slopify/src-tauri/tauri.conf.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Slopify/src-tauri/tauri.conf.json b/Slopify/src-tauri/tauri.conf.json index 4885a8d2..9a3e34d8 100644 --- a/Slopify/src-tauri/tauri.conf.json +++ b/Slopify/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "Slopify", - "version": "0.4.2", + "version": "0.5.0", "identifier": "com.slopify.app", "build": { "beforeDevCommand": "npm run dev", @@ -12,7 +12,7 @@ "app": { "windows": [ { - "title": "Slopify | v0.4.2", + "title": "Slopify | v0.5.0", "minWidth": 900, "minHeight": 800, "center": true, From bf2d9affbdb0c720fde41b107cc2e374db57a0ec Mon Sep 17 00:00:00 2001 From: Zebulun McNeill Date: Sat, 4 Jan 2025 19:03:22 -0600 Subject: [PATCH 15/15] test moving around --- Slopify/src-tauri/tauri.conf.json | 4 ++-- Slopify/src/App.jsx | 30 ------------------------------ Slopify/src/main.jsx | 30 ++++++++++++++++++++++++++++++ Slopify/vite.config.js | 5 +++++ 4 files changed, 37 insertions(+), 32 deletions(-) diff --git a/Slopify/src-tauri/tauri.conf.json b/Slopify/src-tauri/tauri.conf.json index 9a3e34d8..b550739a 100644 --- a/Slopify/src-tauri/tauri.conf.json +++ b/Slopify/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "Slopify", - "version": "0.5.0", + "version": "0.4.4", "identifier": "com.slopify.app", "build": { "beforeDevCommand": "npm run dev", @@ -12,7 +12,7 @@ "app": { "windows": [ { - "title": "Slopify | v0.5.0", + "title": "Slopify | v0.4.4", "minWidth": 900, "minHeight": 800, "center": true, diff --git a/Slopify/src/App.jsx b/Slopify/src/App.jsx index 78068df3..6ec8c866 100644 --- a/Slopify/src/App.jsx +++ b/Slopify/src/App.jsx @@ -4,36 +4,6 @@ import ChatPage from "./pages/ChatPage"; import SlopboxPage from "./pages/Slopbox"; import ProfilePage from "./pages/ProfilePage"; import "./styles/global.css"; -import { check } from "@tauri-apps/plugin-updater"; -import { relaunch } from "@tauri-apps/plugin-process"; - -const update = await check(); - if (update) { - console.log(`found udpate ${update.version} from ${update.date} with notes ${update.body}`); - let downloaded = 0; - let contentLength = 0; - - await update.downloadAndInstall((event) => { - switch (event.event) { - case "Started": - contentLength = event.data.contentLength; - console.log(`started downloading ${event.data.contentLength} bytes`); - break; - case "Progress": - downloaded += event.data.chunkLength; - console.log(`downloaded ${downloaded} from ${contentLength}`); - break; - case "Finished": - console.log("download finished"); - break; - } - }); - - console.log("update installed"); - await relaunch(); - } else { - console.log("no updates available") - } export default function App() { diff --git a/Slopify/src/main.jsx b/Slopify/src/main.jsx index 774fd958..f3850c62 100644 --- a/Slopify/src/main.jsx +++ b/Slopify/src/main.jsx @@ -1,6 +1,36 @@ import React from "react"; import ReactDOM from "react-dom/client"; import App from "./App"; +import { check } from "@tauri-apps/plugin-updater"; +import { relaunch } from "@tauri-apps/plugin-process"; + +const update = await check(); + if (update) { + console.log(`found udpate ${update.version} from ${update.date} with notes ${update.body}`); + let downloaded = 0; + let contentLength = 0; + + await update.downloadAndInstall((event) => { + switch (event.event) { + case "Started": + contentLength = event.data.contentLength; + console.log(`started downloading ${event.data.contentLength} bytes`); + break; + case "Progress": + downloaded += event.data.chunkLength; + console.log(`downloaded ${downloaded} from ${contentLength}`); + break; + case "Finished": + console.log("download finished"); + break; + } + }); + + console.log("update installed"); + await relaunch(); + } else { + console.log("no updates available") + } ReactDOM.createRoot(document.getElementById("root")).render( diff --git a/Slopify/vite.config.js b/Slopify/vite.config.js index 34758c15..34c0f1ab 100644 --- a/Slopify/vite.config.js +++ b/Slopify/vite.config.js @@ -6,6 +6,11 @@ const host = process.env.TAURI_DEV_HOST; // https://vitejs.dev/config/ export default defineConfig(async () => ({ plugins: [react()], + esbuild: { + supported: { + "top-level-await": true + }, + }, // Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build` //