summaryrefslogtreecommitdiffhomepage
path: root/app/lib/platform.js
blob: 66e5a099ba809d284ad76036c3eaa4b0c6f61cef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// @flow
import { remote } from 'electron';
import { shell } from 'electron';

const exit = () => {
  remote.app.quit();
};

const open = (link: string) => {
  shell.openExternal(link);
};

export {exit, open};