mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
Merge branch 'rc/v2.0' of github.com:hydralauncher/hydra into rc/v2.0
This commit is contained in:
commit
8a9892bdbe
3 changed files with 7 additions and 4 deletions
|
@ -52,8 +52,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