mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
Merge branch 'rc/v2.0' into feature/refator-process-watcher-and-game-running
This commit is contained in:
commit
678f63fdef
3 changed files with 6 additions and 4 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue