revert to js

This commit is contained in:
2024-01-09 13:10:37 +01:00
commit c6fa540575
18 changed files with 8275 additions and 0 deletions

14
preload.js Normal file
View File

@@ -0,0 +1,14 @@
const { Titlebar, TitlebarColor } = require("custom-electron-titlebar");
window.addEventListener("DOMContentLoaded", () => {
const titlebar = new Titlebar({
backgroundColor: TitlebarColor.fromHex("#202020"),
itemBackgroundColor: TitlebarColor.fromHex("#202020"),
menu: null,
enableMnemonics: false,
maximizable: false,
});
//titlebar.updateTitle(`${appInfo.appName} ${appInfo.appVersion}`);
});