From 4920708ef6006fc61a9f9be2885e6fc0aeb74f69 Mon Sep 17 00:00:00 2001 From: GHXX Date: Thu, 1 Jul 2021 16:55:43 +0200 Subject: [PATCH] turned ps1 file into a batch file so its double-clickable --- DataInterfaceConsole/DataInterfaceConsole.csproj | 12 ++++++++---- DataInterfaceConsole/Install/installAndRun.bat | 2 ++ .../Install/{installAndRun.ps1 => installer.ps1} | 0 3 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 DataInterfaceConsole/Install/installAndRun.bat rename DataInterfaceConsole/Install/{installAndRun.ps1 => installer.ps1} (100%) diff --git a/DataInterfaceConsole/DataInterfaceConsole.csproj b/DataInterfaceConsole/DataInterfaceConsole.csproj index 7e81955..e59c956 100644 --- a/DataInterfaceConsole/DataInterfaceConsole.csproj +++ b/DataInterfaceConsole/DataInterfaceConsole.csproj @@ -16,10 +16,14 @@ - - PreserveNewest - installAndRun.ps1 - + + PreserveNewest + installAndRun.bat + + + PreserveNewest + installer.ps1 + diff --git a/DataInterfaceConsole/Install/installAndRun.bat b/DataInterfaceConsole/Install/installAndRun.bat new file mode 100644 index 0000000..eb42082 --- /dev/null +++ b/DataInterfaceConsole/Install/installAndRun.bat @@ -0,0 +1,2 @@ +@echo off +powershell -ExecutionPolicy Bypass -Command "& './installer.ps1'" \ No newline at end of file diff --git a/DataInterfaceConsole/Install/installAndRun.ps1 b/DataInterfaceConsole/Install/installer.ps1 similarity index 100% rename from DataInterfaceConsole/Install/installAndRun.ps1 rename to DataInterfaceConsole/Install/installer.ps1