mirror of
https://gitlab.com/2009scape/Saradomin-Launcher.git
synced 2026-08-01 14:19:14 -06:00
Hide console windows when launching, limit the length of settings textbox
This commit is contained in:
parent
5d05a2be7e
commit
87d8ac5cf8
4 changed files with 7 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -4,3 +4,4 @@ obj/
|
|||
riderModule.iml
|
||||
/_ReSharper.Caches/
|
||||
.idea/
|
||||
/.vs
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -29,7 +29,8 @@ namespace Saradomin.Services
|
|||
{
|
||||
Arguments = $"-jar {_clientUpdateService.PreferredTargetFilePath}",
|
||||
WorkingDirectory = CrossPlatform.Locate2009scapeHome(),
|
||||
UseShellExecute = true
|
||||
UseShellExecute = true,
|
||||
WindowStyle = ProcessWindowStyle.Hidden
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue