11 lines
345 B
JavaScript
11 lines
345 B
JavaScript
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')
|
|
}) |