mirror of
https://gitlab.com/2009scape/Saradomin-Launcher.git
synced 2026-08-01 14:19:14 -06:00
replicate changes from the old branch
This commit is contained in:
parent
806e831a18
commit
6a41444fac
6 changed files with 9 additions and 22 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 632 B |
Binary file not shown.
|
Before Width: | Height: | Size: 40 KiB |
|
|
@ -43,13 +43,6 @@
|
|||
<ProjectReference Include="..\Glitonea\Glitonea.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<AvaloniaResource Include="Resources\Fonts\runescape_uf.ttf" />
|
||||
<AvaloniaResource Include="Resources\Images\previewbg.png" />
|
||||
<AvaloniaResource Include="Resources\Images\club.png" />
|
||||
<AvaloniaResource Include="Resources\Fonts\runescape_plain.ttf" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Update="Views\Windows\MainWindow.axaml.cs">
|
||||
<DependentUpon>MainWindow.axaml</DependentUpon>
|
||||
|
|
|
|||
|
|
@ -75,6 +75,15 @@ namespace Saradomin.ViewModel.Controls
|
|||
Message.Subscribe<MainViewLoadedMessage>(this, OnMainViewLoaded);
|
||||
}
|
||||
|
||||
public void LaunchScapeWebsite()
|
||||
=> CrossPlatform.LaunchURL("https://2009scape.org");
|
||||
|
||||
public void OpenPluginTutorial()
|
||||
=> CrossPlatform.LaunchURL("https://gitlab.com/2009scape/tools/client-plugins");
|
||||
|
||||
public void LaunchProjectWebsite()
|
||||
=> CrossPlatform.LaunchURL("https://gitlab.com/2009scape/Saradomin-Launcher");
|
||||
|
||||
public async Task BrowseForJavaExecutable()
|
||||
{
|
||||
var window = Application.Current!.GetMainWindow();
|
||||
|
|
@ -95,21 +104,6 @@ namespace Saradomin.ViewModel.Controls
|
|||
}
|
||||
}
|
||||
|
||||
private void LaunchScapeWebsite()
|
||||
{
|
||||
CrossPlatform.LaunchURL("https://2009scape.org");
|
||||
}
|
||||
|
||||
private void OpenPluginTutorial()
|
||||
{
|
||||
CrossPlatform.LaunchURL("https://gitlab.com/2009scape/tools/client-plugins");
|
||||
}
|
||||
|
||||
private void LaunchProjectWebsite()
|
||||
{
|
||||
CrossPlatform.LaunchURL("https://gitlab.com/2009scape/Saradomin-Launcher");
|
||||
}
|
||||
|
||||
private void OnMainViewLoaded(MainViewLoadedMessage _)
|
||||
{
|
||||
Message.Subscribe<SettingsModifiedMessage>(this, OnSettingsModified);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue