Fix demo appname

This commit is contained in:
Thomas Brouard 2020-03-10 21:53:22 +01:00
parent 52b6506c57
commit 601c7fc24c
2 changed files with 1 additions and 2 deletions

View file

@ -1,8 +1,6 @@
const electron = require('electron'); const electron = require('electron');
const app = electron.app; const app = electron.app;
app.setName('electron-tabs-demo');
app.on('ready', function () { app.on('ready', function () {
const mainWindow = new electron.BrowserWindow({ const mainWindow = new electron.BrowserWindow({
webPreferences: { webPreferences: {

View file

@ -2,6 +2,7 @@
<html> <html>
<head> <head>
<title>electron-tabs-demo</title>
<link rel="stylesheet" href="../electron-tabs.css"> <link rel="stylesheet" href="../electron-tabs.css">
</head> </head>
<body style="margin:0"> <body style="margin:0">