mirror of
https://github.com/got-feedBack/feedBack-desktop.git
synced 2026-08-12 19:59:34 +00:00
4f1b64ff73f6b4516d13f6d04544fb2bb0dbd5ef
Adds an opt-in preference that launches the main window in fullscreen, driven by feedBack core's Settings → System "Fullscreen" toggle. Wires the window.feedBackDesktop.window bridge (getStartFullscreen / setStartFullscreen) that core's setupWindowOptions() gates on, persists the flag in the desktop config (DesktopConfig.startFullscreen, alongside windowBounds), and passes `fullscreen: true` at BrowserWindow creation when set. Persistence lives here (not renderer localStorage) because the main process must read the pref at window-creation time. setStartFullscreen live-applies via setFullScreen so the toggle is responsive on Windows/Linux; on macOS the first programmatic fullscreen-enter on a window created windowed is dropped by AppKit, so there it takes effect on next launch — the core Settings copy notes this. This intentionally narrows the earlier "never launch fullscreen" default to an opt-in. Signed-off-by: gionnibgud <gionnibgud@gmail.com>
Languages
C++
52%
TypeScript
18.6%
JavaScript
17.9%
Shell
7.3%
CMake
2.4%
Other
1.8%