Things for UpTool2

This commit is contained in:
JFronny 2020-06-13 12:58:04 +02:00
parent 9b48653122
commit 6b30a534fd
2 changed files with 11 additions and 1 deletions

View File

@ -3,8 +3,17 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Deterministic>false</Deterministic>
<AssemblyVersion>1.0.*</AssemblyVersion>
</PropertyGroup>
<PropertyGroup>
<PostBuildEvent Condition="'$(OS)' == 'Windows_NT'">
if exist "$(SolutionDir)Data\pkgtool.exe" ($(SolutionDir)Data\pkgtool.exe build --noLogo --binDir .) else if exist "%appdata%\UpTool2\Apps\0e35d154-d0d3-45e0-b080-62f521263a44\app\pkgtool.exe" ("%appdata%\UpTool2\Apps\0e35d154-d0d3-45e0-b080-62f521263a44\app\pkgtool.exe" build --noLogo --binDir .) else echo Cound not find Package build tools, skipping
</PostBuildEvent>
<PostBuildEvent Condition="'$(OS)' != 'Windows_NT'">
if [[ -f "$(SolutionDir)Data/pkgtool.exe" ]]; then $(SolutionDir)Data/pkgtool.exe build --noLogo --binDir .; else echo Cound not find Package build tools, skipping; fi
</PostBuildEvent>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="CC-Functions.Commandline" Version="1.1.7468.32091" />
</ItemGroup>

View File

@ -22,6 +22,7 @@ namespace Lemonade
private PlayerState _player;
private int _signCost;
//TODO restore last transaction if budget allows
public TransactionScreen(Settings set) : base(200, 20, ConsoleColor.Black, set.Color)
{
ContentPanel.ForeColor = ConsoleColor.DarkGray;