ci: add Windows quality and packaging gates

Teach ESLint the classic renderer and mixed CommonJS harness runtimes while retaining actionable rules. Add deterministic credential, lockfile, release-manifest, and lint contracts plus equivalent GitHub and Gitea Windows pipelines. Gate clean installs, focused offline smoke coverage, builds, packaged launches, and silent installer verification without enabling authenticated network tests.
This commit is contained in:
Sucukdeluxe
2026-08-12 02:32:07 +02:00
parent e5114b814f
commit 66e84508c8
21 changed files with 708 additions and 39 deletions
+1 -2
View File
@@ -175,7 +175,7 @@ async function run() {
const staleCutterDirectories = ['media', 'waveform', 'preview'].map((kind) => path.join(os.tmpdir(), `tvm-editor-${kind}-2147483647-${Date.now()}-${Math.random().toString(36).slice(2)}`));
staleCutterDirectories.forEach((directory) => fs.mkdirSync(directory));
let realMaximumZoomState = null;
let replacementPromptState = null;
let replacementPromptState;
let replacementPlaybackState = null;
let app;
const check = (condition, message) => { if (!condition) failures.push(message); };
@@ -431,7 +431,6 @@ async function run() {
const tiles = [...strip.querySelectorAll('img:not(.cutter-thumbnail-sprite), .cutter-thumbnail-tile')];
const waveform = document.getElementById('cutterWaveform');
await Promise.all([...images, waveform].map((image) => image.decode()));
const scroll = document.getElementById('cutterTimelineScroll');
const timeline = document.getElementById('timeline');
const targetWidth = Math.min(32000, Math.ceil(timeline.getBoundingClientRect().width * window.devicePixelRatio));
const firstFrameRect = images[0].getBoundingClientRect();