From 84909bfcf85b91d085ea9dca78be00482b7fd231 Mon Sep 17 00:00:00 2001 From: Blake Matthes Date: Wed, 15 Apr 2026 07:31:06 -0500 Subject: [PATCH] ci(service): changes to the script to allow running the powershell on execution palicy restrictions --- scripts/services.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/services.ps1 b/scripts/services.ps1 index 58701f3..af70dec 100644 --- a/scripts/services.ps1 +++ b/scripts/services.ps1 @@ -14,8 +14,8 @@ param ( # .\scripts\services.ps1 -serviceName "LSTV3_app" -option "install" -appPath "D:\LST_V3" -description "Logistics Support Tool" -command "run start" # server migrations get - reminder to add to old version in pkg "start:lst": "cd lstV2 && npm start", -# .\scripts\services.ps1 -serviceName "LST_app" -option "install" -appPath "D:\LST" -description "Logistics Support Tool" -command "run start" -# .\scripts\services.ps1 -serviceName "LST_app" -option "install" -appPath "D:\LST" -description "Logistics Support Tool" -command "run start:lst" +# powershell.exe -ExecutionPolicy Bypass -File .\scripts\services.ps1 -serviceName "LST_app" -option "install" -appPath "D:\LST" -description "Logistics Support Tool" -command "run start" +# powershell.exe -ExecutionPolicy Bypass -File .\scripts\services.ps1 -serviceName "LSTV2" -option "install" -appPath "D:\LST" -description "Logistics Support Tool" -command "run start:lst" $nssmPath = $AppPath + "\nssm.exe" $npmPath = "C:\Program Files\nodejs\npm.cmd" # Path to npm.cmd