Hide console windows when launching, limit the length of settings textbox

This commit is contained in:
enosich 2022-06-01 16:02:18 -04:00
parent 5d05a2be7e
commit 87d8ac5cf8
4 changed files with 7 additions and 3 deletions

1
.gitignore vendored
View file

@ -4,3 +4,4 @@ obj/
riderModule.iml
/_ReSharper.Caches/
.idea/
/.vs

View file

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<Version>1.1.0</Version>
</PropertyGroup>

View file

@ -29,7 +29,8 @@ namespace Saradomin.Services
{
Arguments = $"-jar {_clientUpdateService.PreferredTargetFilePath}",
WorkingDirectory = CrossPlatform.Locate2009scapeHome(),
UseShellExecute = true
UseShellExecute = true,
WindowStyle = ProcessWindowStyle.Hidden
}
};

View file

@ -202,7 +202,9 @@
Classes="NormalTextBox"
Text="{Binding Launcher.JavaExecutableLocation, Mode=TwoWay}"
Margin="2,0,0,0"
Watermark="Enter a path to java or java.exe..." />
Watermark="Enter a path to java or java.exe..."
HorizontalAlignment="Left"
MaxWidth="342"/>
<Button Grid.Row="1"
Grid.Column="1"