const {ipcRenderer, contextBridge} = require('electron') window.addEventListener('DOMContentLoaded', () => { const replaceText = (selector, text) => { const element = document.getElementById(selector) if (element) element.innerText = text } replaceText('node-app_name', 'Energy+ Workflow') replaceText('node-version', '1.0') })