updated external links

This commit is contained in:
2024-10-31 20:21:29 +02:00
parent fd6411bb30
commit c0831df541
7 changed files with 26 additions and 22 deletions

View File

@@ -2,3 +2,8 @@ require('./rt/electron-rt');
//////////////////////////////
// User Defined Preload scripts below
console.log('User Preload!');
const { contextBridge, shell } = require('electron');
contextBridge.exposeInMainWorld('electronAPI', {
openExternal: (url) => shell.openExternal(url)
});