Added special script to handle parcel and node require. Added new tagging control. Adding new HTML Sanitizer. Packages so I could be sqlite with the right electron version. Some style changes. Interface changes. Changes to the sqlite/client. Interfaces cuased errors. Fixed bugs in electron ipc handling. Fixes to the sqlite libs. Create a new input control that can handle pasting. pasting HTML works with cycle through HTML,Text, Sanatized HTML. New UI controls. Time stamp control has more functionality.
29 lines
563 B
JavaScript
29 lines
563 B
JavaScript
const { app, BrowserWindow } = require('electron')
|
|
require('./src/data/sqlite-electron-ipc');
|
|
|
|
|
|
let mainWin;
|
|
|
|
function createWindow () {
|
|
mainWin = new BrowserWindow({
|
|
autoHideMenuBar: true,
|
|
width: 800,
|
|
height: 600,
|
|
icon: __dirname + '/src/img/chains.png',
|
|
webPreferences: {
|
|
nodeIntegration: true,
|
|
contextIsolation: false
|
|
},
|
|
nodeIntegration: true
|
|
})
|
|
|
|
//win.autoHideMenuBar = true;
|
|
|
|
mainWin.loadFile('index.html')
|
|
}
|
|
|
|
app.whenReady().then(() => {
|
|
createWindow()
|
|
})
|
|
|