Skip to content

Commit

Permalink
feat: add "what is new" dialog
Browse files Browse the repository at this point in the history
ci: adapt registry config in ci scripts

ci: adapt registry config in ci scripts

ci: adapt registry config in ci scripts

refactor: revert ci changes, update import of dependency
  • Loading branch information
4gray committed Apr 10, 2021
1 parent 24d5584 commit cc375a4
Show file tree
Hide file tree
Showing 13 changed files with 42,274 additions and 96 deletions.
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
save=true
save-exact=true
save-exact=true
3 changes: 3 additions & 0 deletions ipc-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ export const EPG_GET_PROGRAM_DONE = 'EPG:GET_PROGRAM_DONE';

// Playlist related commands
export const PLAYLIST_SAVE_DETAILS = 'PLAYLIST:SAVE_DETAILS';

// General
export const SHOW_WHATS_NEW = 'SHOW_WHATS_NEW';
5 changes: 5 additions & 0 deletions menu.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { app, BrowserWindow, Menu, MenuItem, shell } from 'electron';
import * as path from 'path';
import { SHOW_WHATS_NEW } from './ipc-commands';
const openAboutWindow = require('about-window').default;

export class AppMenu {
Expand Down Expand Up @@ -75,6 +76,10 @@ export class AppMenu {
return new MenuItem({
label: 'Help',
submenu: [
{
label: 'What is new',
click: () => this.window.webContents.send(SHOW_WHATS_NEW),
},
{
label: 'Report a bug',
click: () =>
Expand Down
Loading

0 comments on commit cc375a4

Please sign in to comment.