feat: add context menu with default actions

This commit closes #96
This commit is contained in:
4gray committed 2022-01-07 13:42:28 +01:00
1 parent 444fd2aae6
commit 44e76e0e35
3 files changed
+322 -269

No files matched your search

+2
View File
@@ -4,12 +4,14 @@ import * as path from 'path';
import * as url from 'url';
import { Api } from './api';
import { AppMenu } from './menu';
const contextMenu = require('electron-context-menu');
let win: BrowserWindow = null;
const args = process.argv.slice(1),
serve = args.some((val) => val === '--serve');
const api = new Api();
contextMenu();
function createWindow(): BrowserWindow {
// Create the browser window.
+319 -269
View File
File diff suppressed because it is too large. Load diff
+1
View File
@@ -58,6 +58,7 @@
"about-window": "1.13.4",
"axios": "0.21.2",
"custom-electron-titlebar": "3.2.5",
"electron-context-menu": "3.1.1",
"epg-parser": "0.1.1",
"hls.js": "1.0.11",
"iptv-playlist-parser": "0.8.0",