Skip to content

Commit 823cd2f

Browse files
committed
Grant persistent-storage permission to project-running-window
This seems to already be effectively the default in Electron, but let's explicitly grant the request.
1 parent 2bdd25d commit 823cd2f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src-main/windows/project-running-window.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ class ProjectRunningWindow extends AbtractWindow {
9090
permission === 'clipboard-sanitized-write' ||
9191

9292
// Wake Lock extension
93-
permission === 'screen-wake-lock'
93+
permission === 'screen-wake-lock' ||
94+
95+
// Backpack, restore points want persistent storage
96+
permission === 'persistent-storage'
9497
);
9598
}
9699

0 commit comments

Comments
 (0)