Skip to content

Commit

Permalink
Fix minor glitch from /app/ url on frontend.
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanaelA committed May 2, 2024
1 parent d794997 commit 1bcd2cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
23 changes: 0 additions & 23 deletions build/notarize.js

This file was deleted.

3 changes: 3 additions & 0 deletions desktop-app/src/app/electron.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ export class ElectronService {
}
});
this.appService.electron.ipcRenderer.on('open-url', async (event, data) => {
if (data.indexOf("sidequest://app/") === 0 && data.indexOf("#") === -1) {
data = data.substring(0,16) + "#" + data.substring(16);
}
if (data) {
let url = data.split('#');
switch (url[0]) {
Expand Down

0 comments on commit 1bcd2cd

Please sign in to comment.