From 2e3ad6c8fccaafc5cedf609c1bc5fbcc58d978ea Mon Sep 17 00:00:00 2001 From: Yoav Vainrich Date: Fri, 8 Nov 2019 16:32:51 +0200 Subject: [PATCH] powershell instead of cmd. Able to launch file under programdata --- src/szNotifier.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/szNotifier.ts b/src/szNotifier.ts index 3c3dc633..4a89e017 100644 --- a/src/szNotifier.ts +++ b/src/szNotifier.ts @@ -51,7 +51,7 @@ export class SzNotifier implements ISzNotifier { this.notifier.notify(notification); this.notifier.on('log', () => { const file = path.join(process.env.ProgramData, 'Screwzira-Downloader', 'screwzira-downloader.log'); - execFile(file, { shell: 'cmd' }); + execFile(file, { shell: 'powershell' }); }); } else {