Skip to content

Commit

Permalink
point window icon to new version (#561)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftkey committed Aug 24, 2021
1 parent 0c76b33 commit e7ef66c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/src/main-process/app-window.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { BrowserWindow, ipcMain, Menu, app, dialog } from 'electron'
import { Emitter, Disposable } from 'event-kit'
import { join } from 'path'
import { encodePathAsUrl } from '../lib/path'
import { registerWindowStateChangedEvents } from '../lib/window-state'
import { MenuEvent } from './menu'
Expand Down Expand Up @@ -56,6 +57,8 @@ export class AppWindow {
} else if (__WIN32__) {
windowOptions.frame = false
} else if (__LINUX__) {
windowOptions.icon = join(__dirname, 'static', 'logos', '512x512.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
Expand Down

0 comments on commit e7ef66c

Please sign in to comment.