mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-17 13:23:35 +00:00
v2 about (#362)
* chore: remove unused assets * feat: about ontime * refactor: cleanup unused
This commit is contained in:
@@ -6,9 +6,6 @@ module.exports = {
|
||||
development: 'http://localhost:3000/editor',
|
||||
production: 'http://localhost:4001/editor',
|
||||
},
|
||||
externalUrls: {
|
||||
help: 'https://cpvalente.gitbook.io/ontime/',
|
||||
},
|
||||
server: {
|
||||
pathToEntrypoint: '../extraResources/server/index.cjs'
|
||||
},
|
||||
|
||||
+1
-11
@@ -234,12 +234,6 @@ ipcMain.on('shutdown', () => {
|
||||
// Window manipulation
|
||||
ipcMain.on('set-window', (event, arg) => {
|
||||
switch (arg) {
|
||||
case 'to-max':
|
||||
win.maximize();
|
||||
break;
|
||||
case 'to-tray':
|
||||
win.hide();
|
||||
break;
|
||||
case 'show-dev':
|
||||
win.webContents.openDevTools({ mode: 'detach' });
|
||||
break;
|
||||
@@ -250,9 +244,5 @@ ipcMain.on('set-window', (event, arg) => {
|
||||
|
||||
// Open links external
|
||||
ipcMain.on('send-to-link', (event, arg) => {
|
||||
if (arg === 'help') {
|
||||
shell.openExternal(electronConfig.externalUrls.help);
|
||||
} else {
|
||||
shell.openExternal(arg);
|
||||
}
|
||||
shell.openExternal(arg);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user