Skip to content

Commit

Permalink
turned ps1 file into a batch file so its double-clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
GHXX committed Jul 1, 2021
1 parent ee0b8c5 commit 4920708
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
12 changes: 8 additions & 4 deletions DataInterfaceConsole/DataInterfaceConsole.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@
</ItemGroup>

<ItemGroup>
<ContentWithTargetPath Include="Install\installAndRun.ps1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<TargetPath>installAndRun.ps1</TargetPath>
</ContentWithTargetPath>
<ContentWithTargetPath Include="Install\installAndRun.bat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<TargetPath>installAndRun.bat</TargetPath>
</ContentWithTargetPath>
<ContentWithTargetPath Include="Install\installer.ps1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<TargetPath>installer.ps1</TargetPath>
</ContentWithTargetPath>
</ItemGroup>

</Project>
2 changes: 2 additions & 0 deletions DataInterfaceConsole/Install/installAndRun.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@echo off
powershell -ExecutionPolicy Bypass -Command "& './installer.ps1'"
File renamed without changes.

0 comments on commit 4920708

Please sign in to comment.