Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
style: apply Biome formatting to the Windows helper scripts
Christian Schmittelc3b316b1c4b5
diff --git a/scripts/build-windows-wgc-helper.mjs b/scripts/build-windows-wgc-helper.mjsindex a1f14eb0a..3fb234d71 100644--- a/scripts/build-windows-wgc-helper.mjs+++ b/scripts/build-windows-wgc-helper.mjs@@ -89,9 +89,7 @@ console.log(`Building Windows WGC helper for target arch: ${TARGET_ARCH} (vcvars// the build dir when the target arch changes; same-arch reruns stay incremental.const ARCH_STAMP = path.join(BUILD_DIR, ".target-arch");if (fs.existsSync(BUILD_DIR)) {- const previousArch = fs.existsSync(ARCH_STAMP)- ? fs.readFileSync(ARCH_STAMP, "utf8").trim()- : "";+ const previousArch = fs.existsSync(ARCH_STAMP) ? fs.readFileSync(ARCH_STAMP, "utf8").trim() : "";if (previousArch !== TARGET_ARCH) {fs.rmSync(BUILD_DIR, { recursive: true, force: true });}diff --git a/scripts/test-windows-wgc-helper.mjs b/scripts/test-windows-wgc-helper.mjsindex 6ad5f3e57..5b23bafef 100644--- a/scripts/test-windows-wgc-helper.mjs+++ b/scripts/test-windows-wgc-helper.mjs@@ -18,7 +18,12 @@ const HELPER_PATH ="electron","native","bin",- winBinDirName(resolveTargetArch({ envArch: process.env.OPENSCREEN_WIN_HELPER_ARCH, hostArch: process.arch })),+ winBinDirName(+ resolveTargetArch({+ envArch: process.env.OPENSCREEN_WIN_HELPER_ARCH,+ hostArch: process.arch,+ }),+ ),"wgc-capture.exe",);diff --git a/scripts/windows-helper-arch.test.mjs b/scripts/windows-helper-arch.test.mjsindex 510cfcb20..983c0d643 100644--- a/scripts/windows-helper-arch.test.mjs+++ b/scripts/windows-helper-arch.test.mjs@@ -1,10 +1,10 @@import { describe, expect, it } from "vitest";import {- SUPPORTED_ARCHES,normalizeArch,parseArchFlag,resolveTargetArch,resolveVcvarsArch,+ SUPPORTED_ARCHES,winBinDirName,} from "./windows-helper-arch.mjs";