view JSON log message

This commit is contained in:
SPRINX0\prochazka
2024-11-06 15:25:43 +01:00
parent bd169c316a
commit 193940fd63
8 changed files with 26 additions and 78 deletions

View File

@@ -0,0 +1,11 @@
import getElectron from './getElectron';
export function openWebLink(href) {
const electron = getElectron();
if (electron) {
electron.send('open-link', href);
} else {
window.open(href, '_blank');
}
}