mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
feat: change window title for dev
This commit is contained in:
parent
c0453bc708
commit
67337684e6
1 changed files with 5 additions and 0 deletions
|
|
@ -156,6 +156,11 @@ export const createWindow = ({
|
|||
});
|
||||
|
||||
mainWin.loadURL(url).then(() => {
|
||||
// Set window title for dev mode
|
||||
if (IS_DEV) {
|
||||
mainWin.setTitle('Super Productivity D');
|
||||
}
|
||||
|
||||
// load custom stylesheet if any
|
||||
const CSS_FILE_PATH = app.getPath('userData') + '/styles.css';
|
||||
stat(app.getPath('userData') + '/styles.css', (err) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue