mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-08-27 12:15:25 -07:00
Fix Windows mpv logging and add log export (#88)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user