Skip to content

Commit

Permalink
workaround for Linux users of the app to use it on very low resolutio…
Browse files Browse the repository at this point in the history
…n screens
  • Loading branch information
shiftkey committed Feb 4, 2024
1 parent bc744d2 commit f5a1c1b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/src/main-process/app-window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ export class AppWindow {
windowOptions.frame = false
} else if (__LINUX__) {
windowOptions.icon = path.join(__dirname, 'static', 'icon-logo.png')

// relax restriction here for users trying to run app at a small
// resolution and any other side-effects of dropping this restriction are
// currently unsupported
delete windowOptions.minHeight
delete windowOptions.minWidth
}

this.window = new BrowserWindow(windowOptions)
Expand Down

0 comments on commit f5a1c1b

Please sign in to comment.