From 07cbfa39a6c0322676319a2d18b489b8aca7ee51 Mon Sep 17 00:00:00 2001 From: HorizonCode Date: Tue, 3 Nov 2026 23:54:02 +0100 Subject: [PATCH] fix(themes): require a newer version for each publish Compare the proposed version with the version currently published in the workshop before opening the publish dialog and again before upload. Reject invalid semver, duplicate versions, and downgrades, while tracking the just-submitted version in-session so pending updates cannot be published twice. --- .../components/theme/ThemeEditorWindow.svelte | 109 ++++++++++++++++-- 1 file changed, 100 insertions(+), 9 deletions(-) diff --git a/src/lib/components/theme/ThemeEditorWindow.svelte b/src/lib/components/theme/ThemeEditorWindow.svelte index edde8ed..d19ce0e 100644 --- a/src/lib/components/theme/ThemeEditorWindow.svelte +++ b/src/lib/components/theme/ThemeEditorWindow.svelte @@ -1,6 +1,6 @@