From 2c4158702f9876aaf87c2445966aaada3d71e2e2 Mon Sep 17 00:00:00 2001 From: Core <64542347+coredev-uk@users.noreply.github.com> Date: Sat, 29 Jan 2022 16:02:44 +0000 Subject: [PATCH 1/2] Tweaked flatpak --- flatpak/org.cidercollective.cider.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flatpak/org.cidercollective.cider.yml b/flatpak/org.cidercollective.cider.yml index 7b753fef..65a83a73 100644 --- a/flatpak/org.cidercollective.cider.yml +++ b/flatpak/org.cidercollective.cider.yml @@ -11,7 +11,7 @@ sdk-extensions: - org.freedesktop.Sdk.Extension.node14 # Electron doesn't use a traditional locale format so separate-locales is useless. separate-locales: false -command: start-electron-webpack-quick-start +command: cider finish-args: # These two lines add Xorg access for graphics. - '--share=ipc' From 2164a5798a62445f35746a681b6eb276c7ae9f12 Mon Sep 17 00:00:00 2001 From: Core <64542347+coredev-uk@users.noreply.github.com> Date: Sat, 29 Jan 2022 16:03:00 +0000 Subject: [PATCH 2/2] Fix for notification source on Windows --- src/main/base/app.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/base/app.ts b/src/main/base/app.ts index 85f7627b..2efd0ea9 100644 --- a/src/main/base/app.ts +++ b/src/main/base/app.ts @@ -48,6 +48,8 @@ export class AppEvents { // Expose GC electron.app.commandLine.appendSwitch('js-flags','--expose_gc') + electron.app.setAppUserModelId(process.execPath) // For notification name + /*********************************************************************************************************************** * Commandline arguments **********************************************************************************************************************/ @@ -194,4 +196,4 @@ export class AppEvents { } } -} \ No newline at end of file +}