Merge pull request #10 from AlphaX-Qortal/feature/initial-conversion

Enable copy paste in electron
This commit is contained in:
Phillip 2025-02-24 19:06:11 +02:00 committed by GitHub
commit 8d718cd711
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@ const trayMenuTemplate: (MenuItemConstructorOptions | MenuItem)[] = [new MenuIte
const appMenuBarMenuTemplate: (MenuItemConstructorOptions | MenuItem)[] = [
{ role: process.platform === 'darwin' ? 'appMenu' : 'fileMenu' },
{ role: 'viewMenu' },
{ role: 'editMenu' },
];
// Get Config options from capacitor.config

View File

@ -80,6 +80,7 @@ export class ElectronCapacitorApp {
private AppMenuBarMenuTemplate: (MenuItem | MenuItemConstructorOptions)[] = [
{ role: process.platform === 'darwin' ? 'appMenu' : 'fileMenu' },
{ role: 'viewMenu' },
{ role: 'editMenu' },
];
private mainWindowState;
private loadWebApp;