summaryrefslogtreecommitdiffhomepage
path: root/app/lib/exit.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib/exit.js')
-rw-r--r--app/lib/exit.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/lib/exit.js b/app/lib/exit.js
new file mode 100644
index 0000000000..cf87680b32
--- /dev/null
+++ b/app/lib/exit.js
@@ -0,0 +1,5 @@
+import { remote } from 'electron';
+
+module.exports = function () {
+ remote.app.quit();
+}