mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-24 18:51:24 +00:00
updated external links
This commit is contained in:
@@ -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)
|
||||
});
|
Reference in New Issue
Block a user