release: prepare v0.2.6 multi-architecture packages

This commit is contained in:
illusia committed 2026-10-08 10:50:42 +08:00
1 parent 0a552f7ee8
commit 50d9d58ad0
24 files changed
+264 -60

No files matched your search

@@ -28,7 +28,7 @@ export function useWebClientPublicConfig({
const initialized = ref(false);
const mobileMode = ref(false);
const siteName = ref("WebSpeak");
const appVersion = ref("0.2.5-preview");
const appVersion = ref("0.2.6");
const visitorNumber = ref<number | null>(null);
const visitorTotal = ref<number | null>(null);
const accelerationRelays = ref<RelayOption[]>([]);
+3 -3
View File
@@ -12,8 +12,8 @@ test("skin catalog always includes the three protected built-ins and exposes onl
globalThis.fetch = async () => new Response(JSON.stringify({
defaultSkinId: "sample-skin",
skins: [
{ id: "sample-skin", name: "Sample", version: "1.0.0", author: "Test", license: "MIT", minAppVersion: "0.2.5-preview", installedAt: 1, enabled: true },
{ id: "disabled-skin", name: "Disabled", version: "1.0.0", author: "Test", license: "MIT", minAppVersion: "0.2.5-preview", installedAt: 2, enabled: false },
{ id: "sample-skin", name: "Sample", version: "1.0.0", author: "Test", license: "MIT", minAppVersion: "0.2.6", installedAt: 1, enabled: true },
{ id: "disabled-skin", name: "Disabled", version: "1.0.0", author: "Test", license: "MIT", minAppVersion: "0.2.6", installedAt: 2, enabled: false },
{ id: "community.illusia-voice", name: "Spoofed", version: "9.9.9", author: "Other", license: "MIT", minAppVersion: "0.0.1", installedAt: 3 },
],
}), { status: 200, headers: { "content-type": "application/json" } });
@@ -40,7 +40,7 @@ test("invalid or disabled instance defaults safely fall back to the protected da
const originalFetch = globalThis.fetch;
globalThis.fetch = async () => new Response(JSON.stringify({
defaultSkinId: "disabled-skin",
skins: [{ id: "disabled-skin", name: "Disabled", version: "1.0.0", author: "Test", license: "MIT", minAppVersion: "0.2.5-preview", installedAt: 2, enabled: false }],
skins: [{ id: "disabled-skin", name: "Disabled", version: "1.0.0", author: "Test", license: "MIT", minAppVersion: "0.2.6", installedAt: 2, enabled: false }],
}), { status: 200, headers: { "content-type": "application/json" } });
try {
+3 -3
View File
@@ -12,7 +12,7 @@ export const BUILTIN_SKIN_CATALOG: SkinCatalogEntry[] = [
author: "WebSpeak",
license: "AGPL-3.0-only",
description: "The default light appearance.",
minAppVersion: "0.2.5-preview",
minAppVersion: "0.2.6",
installedAt: 0,
builtIn: true,
previewKind: "day",
@@ -24,7 +24,7 @@ export const BUILTIN_SKIN_CATALOG: SkinCatalogEntry[] = [
author: "WebSpeak",
license: "AGPL-3.0-only",
description: "The default dark appearance.",
minAppVersion: "0.2.5-preview",
minAppVersion: "0.2.6",
installedAt: 0,
builtIn: true,
previewKind: "night",
@@ -36,7 +36,7 @@ export const BUILTIN_SKIN_CATALOG: SkinCatalogEntry[] = [
author: "WebSpeak Project",
license: "All rights reserved",
description: "A bright original-character art skin for the home, voice room, and demo pages.",
minAppVersion: "0.2.5-preview",
minAppVersion: "0.2.6",
previewUrl: "/skins/illusia-voice-preview.webp",
installedAt: 0,
builtIn: true,
+1 -1
View File
@@ -33,7 +33,7 @@ export async function activateStoredSkin(): Promise<InstalledSkin | null> {
return activateSkin(selectedId);
}
export async function activateSkin(id: string, expectedVersion?: string, appVersion = "0.2.5-preview", options: SkinLoadOptions = {}): Promise<InstalledSkin | null> {
export async function activateSkin(id: string, expectedVersion?: string, appVersion = "0.2.6", options: SkinLoadOptions = {}): Promise<InstalledSkin | null> {
// An already retired page must not cancel a newer page's activation.
options.signal?.throwIfAborted();
pendingActivation?.cancel();
+1 -1
View File
@@ -7,5 +7,5 @@
"license": "AGPL-3.0-only",
"description": "The built-in dark appearance for public WebSpeak pages.",
"entry": "skin.css",
"minAppVersion": "0.2.5-preview"
"minAppVersion": "0.2.6"
}
+1 -1
View File
@@ -7,5 +7,5 @@
"license": "AGPL-3.0-only",
"description": "The built-in light appearance for public WebSpeak pages.",
"entry": "skin.css",
"minAppVersion": "0.2.5-preview"
"minAppVersion": "0.2.6"
}