From 56c80b09797d9bb0fada6ae0a1e6a64e25886bd0 Mon Sep 17 00:00:00 2001 From: Allan Bowe <4420615+allanbowe@users.noreply.github.com> Date: Fri, 17 Jun 2022 13:46:08 +0100 Subject: [PATCH] Update Session.ts --- api/src/controllers/internal/Session.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/api/src/controllers/internal/Session.ts b/api/src/controllers/internal/Session.ts index a120128..39c86e2 100644 --- a/api/src/controllers/internal/Session.ts +++ b/api/src/controllers/internal/Session.ts @@ -82,6 +82,8 @@ ${autoExecContent}` // however we also need a promise so that we can update the // session array to say that it has (eventually) finished. + // Additional windows specific options to avoid the desktop popups. + execFilePromise(process.sasLoc, [ '-SYSIN', codePath, @@ -95,7 +97,9 @@ ${autoExecContent}` autoExecPath, '-ENCODING', 'UTF-8', - process.platform === 'win32' ? '-nosplash' : '' + process.platform === 'win32' ? '-nosplash' : '', + process.platform === 'win32' ? '-icon' : '', + process.platform === 'win32' ? '-nologo' : '' ]) .then(() => { session.completed = true