mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-23 02:28:55 +00:00
Don't modify the window title
This commit is contained in:
parent
a9ccaa5c10
commit
8f06c555e5
@ -5,8 +5,8 @@
|
||||
"main": "lib/main.js",
|
||||
"dependencies": {
|
||||
"electron-window-state": "^2.0.0",
|
||||
"wurl": "^2.1.0",
|
||||
"source-map-support": "^0.4.0"
|
||||
"source-map-support": "^0.4.0",
|
||||
"wurl": "^2.1.0"
|
||||
},
|
||||
"devDependencies": {},
|
||||
"scripts": {
|
||||
|
@ -30,7 +30,7 @@ function createMainWindow(options, onAppQuit, setDockBadge) {
|
||||
y: mainWindowState.y,
|
||||
'auto-hide-menu-bar': !options.showMenuBar,
|
||||
// Convert dashes to spaces because on linux the app name is joined with dashes
|
||||
title: options.name.replace(/-/g, ' '),
|
||||
title: options.name,
|
||||
'web-preferences': {
|
||||
javascript: true,
|
||||
plugins: true,
|
||||
|
@ -2,9 +2,9 @@ import os from 'os';
|
||||
import path from 'path';
|
||||
import url from 'url';
|
||||
import validator from 'validator';
|
||||
import sanitizeFilename from 'sanitize-filename';
|
||||
import _ from 'lodash';
|
||||
import async from 'async';
|
||||
import sanitizeFilename from 'sanitize-filename';
|
||||
|
||||
import inferIcon from './infer/inferIcon';
|
||||
import inferTitle from './infer/inferTitle';
|
||||
|
Loading…
Reference in New Issue
Block a user