mirror of
https://github.com/LBPUnion/UnionPatcher.git
synced 2025-08-04 15:18:49 +00:00
Rename root namespace to LBPUnion.UnionPatcher
This commit is contained in:
parent
3048e20351
commit
91dfa33a7a
13 changed files with 23 additions and 15 deletions
|
@ -1,4 +1,4 @@
|
|||
namespace UnionPatcher.Gui.Linux {
|
||||
namespace LBPUnion.UnionPatcher.Gui.Linux {
|
||||
public static class Program {
|
||||
public static void Main() {
|
||||
Gui.Show();
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<AssemblyName>LBPUnion.UnionPatcher.Gui.Linux</AssemblyName>
|
||||
<RootNamespace>LBPUnion.UnionPatcher.Gui.Linux</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
namespace UnionPatcher.Gui.MacOS {
|
||||
namespace LBPUnion.UnionPatcher.Gui.MacOS {
|
||||
public static class Program {
|
||||
public static void Main() {
|
||||
Gui.Show();
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<RuntimeIdentifiers>osx-x64</RuntimeIdentifiers>
|
||||
<AssemblyName>LBPUnion.UnionPatcher.Gui.MacOS</AssemblyName>
|
||||
<RootNamespace>LBPUnion.UnionPatcher.Gui.MacOS</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
|
||||
namespace UnionPatcher.Gui.Windows {
|
||||
namespace LBPUnion.UnionPatcher.Gui.Windows {
|
||||
public static class Program {
|
||||
[STAThread]
|
||||
public static void Main() {
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net5.0-windows</TargetFramework>
|
||||
<RootNamespace>UnionPatcher.Gui.Windows</RootNamespace>
|
||||
<RootNamespace>LBPUnion.UnionPatcher.Gui.Windows</RootNamespace>
|
||||
<AssemblyName>LBPUnion.UnionPatcher.Gui.Windows</AssemblyName>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
|
||||
namespace UnionPatcher.Gui {
|
||||
namespace LBPUnion.UnionPatcher.Gui {
|
||||
public static class EasterEgg {
|
||||
private static bool? restitch = null;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using Eto.Forms;
|
||||
|
||||
namespace UnionPatcher.Gui {
|
||||
namespace LBPUnion.UnionPatcher.Gui {
|
||||
public static class Gui {
|
||||
public static void Show() {
|
||||
new Application().Run(new MainForm());
|
||||
|
|
|
@ -4,7 +4,7 @@ using Eto;
|
|||
using Eto.Drawing;
|
||||
using Eto.Forms;
|
||||
|
||||
namespace UnionPatcher.Gui {
|
||||
namespace LBPUnion.UnionPatcher.Gui {
|
||||
public class MainForm : Form {
|
||||
private readonly FilePicker filePicker;
|
||||
private readonly TextBox serverUrl;
|
||||
|
@ -76,7 +76,7 @@ namespace UnionPatcher.Gui {
|
|||
return;
|
||||
}
|
||||
|
||||
CreateOkDialog("Success!", "The Server URL has been patched to " + this.serverUrl.Text).ShowModal();
|
||||
this.CreateOkDialog("Success!", "The Server URL has been patched to " + this.serverUrl.Text).ShowModal();
|
||||
};
|
||||
|
||||
return control;
|
||||
|
@ -108,19 +108,19 @@ namespace UnionPatcher.Gui {
|
|||
Rows = {
|
||||
new TableRow(
|
||||
new TableCell(new Label { Text = "EBOOT.elf: ", VerticalAlignment = VerticalAlignment.Center }),
|
||||
new TableCell(filePicker = new FilePicker { TabIndex = 0 })
|
||||
new TableCell(this.filePicker = new FilePicker { TabIndex = 0 })
|
||||
),
|
||||
new TableRow(
|
||||
new TableCell(new Label { Text = "Server URL: ", VerticalAlignment = VerticalAlignment.Center }),
|
||||
new TableCell(serverUrl = new TextBox { TabIndex = 1 })
|
||||
new TableCell(this.serverUrl = new TextBox { TabIndex = 1 })
|
||||
),
|
||||
new TableRow(
|
||||
new TableCell(new Label { Text = "Output filename: ", VerticalAlignment = VerticalAlignment.Center }),
|
||||
new TableCell(this.outputFileName = new FilePicker { TabIndex = 2, FileAction = FileAction.SaveFile })
|
||||
),
|
||||
new TableRow(
|
||||
new TableCell(CreateHelpButton(4)),
|
||||
new TableCell(CreatePatchButton(3))
|
||||
new TableCell(this.CreateHelpButton(4)),
|
||||
new TableCell(this.CreatePatchButton(3))
|
||||
),
|
||||
},
|
||||
};
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<RootNamespace>UnionPatcher.Gui</RootNamespace>
|
||||
<RootNamespace>LBPUnion.UnionPatcher.Gui</RootNamespace>
|
||||
<AssemblyName>LBPUnion.UnionPatcher.Gui</AssemblyName>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -2,7 +2,7 @@ using System;
|
|||
using System.IO;
|
||||
using System.Text;
|
||||
|
||||
namespace UnionPatcher {
|
||||
namespace LBPUnion.UnionPatcher {
|
||||
public static class Patcher {
|
||||
private static readonly string[] ToBePatched = {
|
||||
"https://littlebigplanetps3.online.scee.com:10061/LITTLEBIGPLANETPS3_XML",
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
|
||||
namespace UnionPatcher {
|
||||
namespace LBPUnion.UnionPatcher {
|
||||
public static class Program {
|
||||
public const string Version = "1.0";
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<AssemblyName>LBPUnion.UnionPatcher</AssemblyName>
|
||||
<RootNamespace>LBPUnion.UnionPatcher</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue