The swiss army knife of lossless video/audio editing
fix code
Mikael Finstad9eafb5683bc0
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 3fc9ca55..48529b45 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -113,8 +113,10 @@ jobs:- run: npx tsx script/e2e.mts 'dist/mac-arm64/LosslessCut.app/Contents/MacOS/LosslessCut' screenshot-macos.jpegif: startsWith(matrix.os, 'macos')+- run: npx tsx script/e2e.mts 'dist/win-x64/LosslessCut.app/Contents/MacOS/LosslessCut' screenshot-windows.jpegif: startsWith(matrix.os, 'windows')+- run: |export DISPLAY=:0sudo Xvfb -ac :0 -screen 0 1280x1024x24 > /dev/null 2>&1 &diff --git a/src/main/index.ts b/src/main/index.tsindex 8496bb49..b3ca2302 100644--- a/src/main/index.ts+++ b/src/main/index.ts@@ -405,10 +405,9 @@ export function focusWindow() {}}-export async function quitApp() {+export function quitApp() {// allow HTTP API to respond etc.- await timers.setTimeout(1000);- electron.app.quit();+ timers.setTimeout(1000).then(() => electron.app.quit());}export const hasDisabledNetworking = () => !!disableNetworking;