chore: nuke linux + update readme
This commit is contained in:
parent
6d886f0132
commit
a0d4f848ef
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"dotnet.defaultSolution": "Kiseki.Launcher.sln"
|
||||||
|
}
|
||||||
|
|
@ -1,23 +0,0 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<OutputType>Exe</OutputType>
|
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
|
||||||
<Nullable>enable</Nullable>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<None Remove="**\*.glade" />
|
|
||||||
<EmbeddedResource Include="**\*.glade">
|
|
||||||
<LogicalName>%(Filename)%(Extension)</LogicalName>
|
|
||||||
</EmbeddedResource>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="GtkSharp" Version="3.24.24.95" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<Import Project="..\Kiseki.Launcher.Core\Kiseki.Launcher.Core.projitems" Label="Shared" />
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
|
|
@ -1,32 +0,0 @@
|
||||||
using Gtk;
|
|
||||||
using Kiseki.Launcher.Core;
|
|
||||||
|
|
||||||
using UI = Gtk.Builder.ObjectAttribute;
|
|
||||||
|
|
||||||
namespace Kiseki.Launcher.Linux
|
|
||||||
{
|
|
||||||
public class MainWindow : Window
|
|
||||||
{
|
|
||||||
[UI] private readonly Image Logo = null;
|
|
||||||
[UI] private readonly ProgressBar ProgressBar = null;
|
|
||||||
[UI] private readonly Label PageHeading = null;
|
|
||||||
[UI] private readonly Button CancelButton = null;
|
|
||||||
|
|
||||||
private readonly Controller Controller;
|
|
||||||
|
|
||||||
public MainWindow() : this(new Builder("MainWindow.glade")) { }
|
|
||||||
|
|
||||||
private MainWindow(Builder builder) : base(builder.GetRawOwnedObject("MainWindow"))
|
|
||||||
{
|
|
||||||
builder.Autoconnect(this);
|
|
||||||
|
|
||||||
DeleteEvent += Window_DeleteEvent;
|
|
||||||
CancelButton.Clicked += Window_DeleteEvent;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Window_DeleteEvent(object? sender, EventArgs? e)
|
|
||||||
{
|
|
||||||
Application.Quit();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,86 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!-- Generated with glade 3.40.0 -->
|
|
||||||
<interface>
|
|
||||||
<requires lib="gtk+" version="3.24"/>
|
|
||||||
<object class="GtkWindow" id="MainWindow">
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="title" translatable="yes">Kiseki</property>
|
|
||||||
<property name="resizable">False</property>
|
|
||||||
<property name="destroy-with-parent">True</property>
|
|
||||||
<property name="skip-taskbar-hint">True</property>
|
|
||||||
<child>
|
|
||||||
<!-- n-columns=3 n-rows=3 -->
|
|
||||||
<object class="GtkGrid">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<child>
|
|
||||||
<object class="GtkButton" id="CancelButton">
|
|
||||||
<property name="label" translatable="yes">Cancel</property>
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">True</property>
|
|
||||||
<property name="receives-default">True</property>
|
|
||||||
<property name="halign">center</property>
|
|
||||||
<property name="valign">center</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="left-attach">2</property>
|
|
||||||
<property name="top-attach">2</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkImage" id="Icon">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="stock">gtk-dialog-question</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="left-attach">0</property>
|
|
||||||
<property name="top-attach">0</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkLabel" id="Caption">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="halign">start</property>
|
|
||||||
<property name="valign">end</property>
|
|
||||||
<property name="margin-start">32</property>
|
|
||||||
<property name="margin-bottom">5</property>
|
|
||||||
<property name="label" translatable="yes">label</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="left-attach">1</property>
|
|
||||||
<property name="top-attach">0</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<object class="GtkProgressBar" id="ProgressBar">
|
|
||||||
<property name="visible">True</property>
|
|
||||||
<property name="can-focus">False</property>
|
|
||||||
<property name="halign">center</property>
|
|
||||||
<property name="valign">start</property>
|
|
||||||
</object>
|
|
||||||
<packing>
|
|
||||||
<property name="left-attach">1</property>
|
|
||||||
<property name="top-attach">1</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<placeholder/>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<placeholder/>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<placeholder/>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<placeholder/>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<placeholder/>
|
|
||||||
</child>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
</object>
|
|
||||||
</interface>
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
||||||
using Gtk;
|
|
||||||
|
|
||||||
namespace Kiseki.Launcher.Linux
|
|
||||||
{
|
|
||||||
public class Program
|
|
||||||
{
|
|
||||||
[STAThread]
|
|
||||||
public static void Main(string[] args)
|
|
||||||
{
|
|
||||||
Application.Init();
|
|
||||||
|
|
||||||
var app = new Application("org.Kiseki.Launcher", GLib.ApplicationFlags.None);
|
|
||||||
app.Register(GLib.Cancellable.Current);
|
|
||||||
|
|
||||||
var window = new MainWindow();
|
|
||||||
app.AddWindow(window);
|
|
||||||
|
|
||||||
window.Show();
|
|
||||||
Application.Run();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project>
|
|
||||||
<PropertyGroup>
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Any CPU</Platform>
|
|
||||||
<PublishDir>..\build\linux-x64\</PublishDir>
|
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
|
||||||
<_TargetId>Folder</_TargetId>
|
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
|
||||||
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
|
|
||||||
<SelfContained>false</SelfContained>
|
|
||||||
<PublishSingleFile>true</PublishSingleFile>
|
|
||||||
<PublishReadyToRun>false</PublishReadyToRun>
|
|
||||||
</PropertyGroup>
|
|
||||||
</Project>
|
|
||||||
|
|
@ -5,8 +5,6 @@ VisualStudioVersion = 17.6.33712.159
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kiseki.Launcher.Windows", "Kiseki.Launcher.Windows\Kiseki.Launcher.Windows.csproj", "{38AAA6A8-C482-4F17-816F-E0A42B065033}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kiseki.Launcher.Windows", "Kiseki.Launcher.Windows\Kiseki.Launcher.Windows.csproj", "{38AAA6A8-C482-4F17-816F-E0A42B065033}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kiseki.Launcher.Linux", "Kiseki.Launcher.Linux\Kiseki.Launcher.Linux.csproj", "{40AB861A-C06C-4279-86F6-EC60BEC2C690}"
|
|
||||||
EndProject
|
|
||||||
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Kiseki.Launcher.Core", "Kiseki.Launcher.Core\Kiseki.Launcher.Core.shproj", "{9DA0F813-6151-496B-B907-C94A7B6A3889}"
|
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Kiseki.Launcher.Core", "Kiseki.Launcher.Core\Kiseki.Launcher.Core.shproj", "{9DA0F813-6151-496B-B907-C94A7B6A3889}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
|
|
|
||||||
|
|
@ -2,4 +2,4 @@
|
||||||
Launches Kiseki game clients from the website
|
Launches Kiseki game clients from the website
|
||||||
|
|
||||||
# License
|
# License
|
||||||
Licensed under the GNU Affero General Public License v3.0. A copy of it [has been included](https://github.com/kiseki-lol/launcher/blob/trunk/LICENSE).
|
Kiseki.Launcher is licensed under the Licensed under the [GNU Affero General Public License v3](https://www.gnu.org/licenses/agpl-3.0.txt). A copy of it has been included with Kiseki.Launcher.
|
||||||
Loading…
Reference in New Issue