diff --git a/package.json b/package.json index 625138b..374b8fc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "desktop-translator", "private": true, - "version": "0.4.0", + "version": "0.4.1", "type": "module", "scripts": { "dev": "vite", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 1e513a3..683cda6 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -880,7 +880,7 @@ dependencies = [ [[package]] name = "desktop-translator" -version = "0.4.0" +version = "0.4.1" dependencies = [ "apple-native-keyring-store", "async-trait", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 09e4990..270db8f 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "desktop-translator" -version = "0.4.0" +version = "0.4.1" description = "Lightweight cross-platform selection translator" authors = ["Desktop Translator Contributors"] edition = "2021" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index f399cd9..7b00ce1 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "Desktop Translator", - "version": "0.4.0", + "version": "0.4.1", "identifier": "com.desktoptranslator.desktop", "build": { "beforeDevCommand": "pnpm dev", diff --git a/src/styles/app.css b/src/styles/app.css index 1f87750..e670d5d 100644 --- a/src/styles/app.css +++ b/src/styles/app.css @@ -653,7 +653,7 @@ input:focus-visible, max-height: min(520px, calc(100vh - 20px)); overflow: auto; overscroll-behavior: contain; - border: 1px solid var(--line); + border: 1px solid color-mix(in srgb, var(--line) 52%, transparent); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-overlay); diff --git a/tools/release/audit-windows-bundle.test.ts b/tools/release/audit-windows-bundle.test.ts index 3d64e4a..6948469 100644 --- a/tools/release/audit-windows-bundle.test.ts +++ b/tools/release/audit-windows-bundle.test.ts @@ -9,12 +9,14 @@ import { describe, expect, it } from "vitest"; const script = join(dirname(fileURLToPath(import.meta.url)), "audit-windows-bundle.ps1"); const repositoryRoot = join(dirname(fileURLToPath(import.meta.url)), "..", ".."); const describeWindows = process.platform === "win32" ? describe : describe.skip; +const windowsProcessTimeoutMs = 15_000; +const windowsTestTimeoutMs = 20_000; function runAudit(releaseDir: string) { return spawnSync( "powershell.exe", ["-NoProfile", "-ExecutionPolicy", "Bypass", "-File", script, releaseDir], - { encoding: "utf8" }, + { encoding: "utf8", timeout: windowsProcessTimeoutMs }, ); } @@ -55,7 +57,7 @@ describeWindows("Windows bundle audit", () => { } finally { rmSync(root, { recursive: true, force: true }); } - }); + }, windowsTestTimeoutMs); it("fails when the native executable is missing", () => { const root = makeReleaseLayout({ exe: false }); @@ -66,7 +68,7 @@ describeWindows("Windows bundle audit", () => { } finally { rmSync(root, { recursive: true, force: true }); } - }); + }, windowsTestTimeoutMs); it("fails when a developer runtime is packaged", () => { const root = makeReleaseLayout({ developerRuntime: true }); @@ -77,7 +79,7 @@ describeWindows("Windows bundle audit", () => { } finally { rmSync(root, { recursive: true, force: true }); } - }); + }, windowsTestTimeoutMs); it("fails when the starter textbook is a loose resource file", () => { const root = makeReleaseLayout({ looseTextbook: true }); @@ -88,7 +90,7 @@ describeWindows("Windows bundle audit", () => { } finally { rmSync(root, { recursive: true, force: true }); } - }); + }, windowsTestTimeoutMs); it("passes a compact x64 NSIS layout without developer runtimes", () => { const root = makeReleaseLayout({}); @@ -99,7 +101,7 @@ describeWindows("Windows bundle audit", () => { } finally { rmSync(root, { recursive: true, force: true }); } - }); + }, windowsTestTimeoutMs); }); describe("Windows workflow integration", () => {