Merge branch 'rc/v2.0' into feature/refator-process-watcher-and-game-running

This commit is contained in:
Zamitto 2024-06-19 23:03:30 -03:00
commit 678f63fdef
3 changed files with 6 additions and 4 deletions

View file

@ -53,8 +53,8 @@ app.whenReady().then(async () => {
electronApp.setAppUserModelId("site.hydralauncher.hydra");
protocol.handle("local", (request) => {
const filePath = request.url.slice("local://".length);
return net.fetch(url.pathToFileURL(filePath).toString());
const filePath = request.url.slice("local:".length);
return net.fetch(url.pathToFileURL(decodeURI(filePath)).toString());
});
await dataSource.initialize();