Fix Windows mpv logging and add log export (#88)

This commit is contained in:
2026-05-26 00:31:38 -07:00
committed by GitHub
parent 43ebc7d371
commit 11c196821d
150 changed files with 2748 additions and 582 deletions
+4 -3
View File
@@ -139,9 +139,10 @@ export async function updateAppImageFromRelease(options: {
};
}
const tempPath = path.join(
path.dirname(options.appImagePath),
`.${path.basename(options.appImagePath)}.update`,
const appImagePathApi = options.appImagePath.startsWith('/') ? path.posix : path;
const tempPath = appImagePathApi.join(
appImagePathApi.dirname(options.appImagePath),
`.${appImagePathApi.basename(options.appImagePath)}.update`,
);
try {
await fsDeps.writeFile(tempPath, data);