Skip to content

Commit

Permalink
upgrade to electron 9, close #1917
Browse files Browse the repository at this point in the history
electron 9 uses Chromium 83, which fixes the negative margin bug on
fields with buttons.

e9 changes electron.shell.openItem(path):boolean to
electron.shell.openPath(path):Promise<string>
  • Loading branch information
ganthern authored and charlag committed Jul 13, 2020
1 parent ca44b5a commit 9aa73b1
Show file tree
Hide file tree
Showing 6 changed files with 317 additions and 254 deletions.
2 changes: 1 addition & 1 deletion flow/electron.js
Expand Up @@ -32,7 +32,7 @@ declare module 'electron' {
openExternal(url: string): void;
showItemInFolder(fullPath: string): void;
// Open the given file in the desktop's default manner.
openItem(fullPath: string): boolean;
openPath(fullPath: string): Promise<string>;
};

declare export type NativeImage = {};
Expand Down

0 comments on commit 9aa73b1

Please sign in to comment.