From 3a978054c38cfba89f09525a23a74f282280e6e0 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Tue, 6 Nov 2018 15:39:04 +1100 Subject: [PATCH] fix: require path when using (#402) --- main-process/system/protocol-handler.js | 1 + 1 file changed, 1 insertion(+) diff --git a/main-process/system/protocol-handler.js b/main-process/system/protocol-handler.js index da3ca38b..c290e1e7 100644 --- a/main-process/system/protocol-handler.js +++ b/main-process/system/protocol-handler.js @@ -1,4 +1,5 @@ const {app, dialog} = require('electron') +const path = require('path') if (process.defaultApp) { if (process.argv.length >= 2) {