Skip to content

Commit

Permalink
Add back old xdg-settings call
Browse files Browse the repository at this point in the history
  • Loading branch information
islathehut committed Nov 8, 2024
1 parent 374604d commit f9125fd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/desktop/src/main/invitation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@ export const updateDesktopFile = (isDev: boolean) => {
logger.info(execSync(`xdg-mime default ${desktopName} ${scheme}`).toString())
logger.info(execSync(`xdg-mime query default ${scheme}`).toString())
} catch (e) {
logger.error("Couldn't set default scheme handler", e)
logger.error("Couldn't set default scheme handler via xdg-mime", e)
}

try {
logger.info(execSync('xdg-settings set default-url-scheme-handler quiet quiet.desktop').toString())
} catch (e) {
logger.error("Couldn't update default scheme handler via xdg-settings", e)
}
}

Expand Down

0 comments on commit f9125fd

Please sign in to comment.