mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
fix: attempt to fix snap once more #5252
This commit is contained in:
parent
f6f74da056
commit
ac8ebf93cf
2 changed files with 17 additions and 0 deletions
|
|
@ -65,6 +65,10 @@ export const startApp = (): void => {
|
|||
);
|
||||
log('Snap: Launch with --enable-gpu to attempt hardware rendering (may crash)');
|
||||
app.disableHardwareAcceleration();
|
||||
|
||||
// Additional command-line switches to ensure snap compatibility
|
||||
app.commandLine.appendSwitch('disable-gpu');
|
||||
app.commandLine.appendSwitch('disable-gpu-sandbox');
|
||||
}
|
||||
|
||||
// Initialize protocol handling
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue