Skip to content

Commit

Permalink
powershell instead of cmd. Able to launch file under programdata
Browse files Browse the repository at this point in the history
  • Loading branch information
yoavain committed Nov 9, 2019
1 parent 8ad9a28 commit 2e3ad6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/szNotifier.ts
Expand Up @@ -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 {
Expand Down

0 comments on commit 2e3ad6c

Please sign in to comment.