*
This commit is contained in:
parent
7a618f6925
commit
ffc409e173
|
@ -11,10 +11,10 @@ app.win = null
|
||||||
|
|
||||||
app.on('ready', () => {
|
app.on('ready', () => {
|
||||||
app.win = new BrowserWindow({
|
app.win = new BrowserWindow({
|
||||||
width: 660,
|
width: 780,
|
||||||
height: 390,
|
height: 462,
|
||||||
minWidth: 320,
|
minWidth: 380,
|
||||||
minHeight: 320,
|
minHeight: 360,
|
||||||
backgroundColor: '#000',
|
backgroundColor: '#000',
|
||||||
icon: path.join(__dirname, { darwin: 'icon.icns', linux: 'icon.png', win32: 'icon.ico' }[process.platform] || 'icon.ico'),
|
icon: path.join(__dirname, { darwin: 'icon.icns', linux: 'icon.png', win32: 'icon.ico' }[process.platform] || 'icon.ico'),
|
||||||
resizable: true,
|
resizable: true,
|
||||||
|
@ -25,7 +25,7 @@ app.on('ready', () => {
|
||||||
})
|
})
|
||||||
|
|
||||||
app.win.loadURL(`file://${__dirname}/sources/index.html`)
|
app.win.loadURL(`file://${__dirname}/sources/index.html`)
|
||||||
app.inspect()
|
// app.inspect()
|
||||||
|
|
||||||
app.win.on('closed', () => {
|
app.win.on('closed', () => {
|
||||||
app.quit()
|
app.quit()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user