system_assignation/init.js

11 lines
345 B
JavaScript
Raw Permalink Normal View History

2022-03-24 09:22:39 -04:00
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')
})