Skip to content
This repository was archived by the owner on May 19, 2021. It is now read-only.

Commit 17815f7

Browse files
committed
fix prebuild event output path for special characters
1 parent 9c83ea0 commit 17815f7

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

UnityLauncher/Form1.Designer.cs

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UnityLauncher/PreviousVersion.txt

0 Bytes
Binary file not shown.

UnityLauncher/UnityLauncher.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,6 @@
132132
</ItemGroup>
133133
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
134134
<PropertyGroup>
135-
<PreBuildEvent>powershell.exe -command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;$web = New-Object System.Net.WebClient;$web.Headers['User-Agent'] = 'DefinitelyBrowser';$results = $web.DownloadString('https://api.github.com/repos/unitycoder/unitylauncher/releases/latest');$results = $results | ConvertFrom-Json;$results = $results | select -expand tag_name;echo $results | Out-File $(ProjectDir)PreviousVersion.txt;"</PreBuildEvent>
135+
<PreBuildEvent>powershell.exe -command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;$web = New-Object System.Net.WebClient;$web.Headers['User-Agent'] = 'DefinitelyBrowser';$results = $web.DownloadString('https://api.github.com/repos/unitycoder/unitylauncher/releases/latest');$results = $results | ConvertFrom-Json;$results = $results | select -expand tag_name;echo $results | Out-File \"$(ProjectDir)PreviousVersion.txt\";"</PreBuildEvent>
136136
</PropertyGroup>
137137
</Project>

0 commit comments

Comments
 (0)