diff --git a/backend/ipc.js b/backend/ipc.js index 1e0ee53..0716d17 100644 --- a/backend/ipc.js +++ b/backend/ipc.js @@ -142,6 +142,11 @@ module.exports = function registerIPCHandlers(win, ipcMain, app, dialog) { ipcMain.handle('launch-app', async (event, urlScheme) => { // Launch an external app with a custom protocol return new Promise((resolve, reject) => { + if(app.getApplicationNameForProtocol(urlScheme) === '') { + resolve(false); // App not installed + return; + } + try { shell.openExternal(urlScheme).then(() => { resolve(true); // App opened successfully pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy