Add notepad
This commit is contained in:
8
electron/app/index.tsx
Normal file
8
electron/app/index.tsx
Normal file
@ -0,0 +1,8 @@
|
||||
const replaceText = (selector, text) => {
|
||||
const element = document.getElementById(selector)
|
||||
if (element) element.innerText = text
|
||||
}
|
||||
|
||||
for (const type of ["chrome", "node", "electron"]) {
|
||||
replaceText(`${type}-version`, process.versions[type])
|
||||
}
|
Reference in New Issue
Block a user