party party goku emote

This commit is contained in:
McMistrzYT 2024-01-21 22:06:11 +01:00
parent d73fd9154b
commit 9c645645be
3 changed files with 8 additions and 6 deletions

View File

@ -10,9 +10,11 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="BCMakeCert" Version="2.0.9" />
<PackageReference Include="FiddlerCore.Trial" Version="5.0.2" /> <PackageReference Include="FiddlerCore.Trial" Version="5.0.2" />
<PackageReference Include="Pastel" Version="5.0.0" /> <PackageReference Include="Pastel" Version="5.0.0" />
<PackageReference Include="System.ComponentModel.Composition" Version="8.0.0" /> <PackageReference Include="System.ComponentModel.Composition" Version="8.0.0" />
<PackageReference Include="Telerik.NetworkConnections" Version="0.2.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@ -16,7 +16,6 @@ namespace Partypacker
ushort? port = 6969; ushort? port = 6969;
Console.SetWindowSize(75, 20); Console.SetWindowSize(75, 20);
Console.SetBufferSize(75, 20);
Console.CursorVisible = false; Console.CursorVisible = false;
@ -39,8 +38,8 @@ namespace Partypacker
SelectableOption[] Options = new SelectableOption[] SelectableOption[] Options = new SelectableOption[]
{ {
new SelectableOption("Launch Fortnite", () => new SelectableOption("Launch Fortnite", () =>
Run(port, () => Process.Start("com.epicgames.launcher://apps/fn%3A4fe75bbc5a674f4f9b356b5c90567da5%3AFortnite?action=launch&silent=true"))), Run(port, () => Process.Start(new ProcessStartInfo { FileName = "com.epicgames.launcher://apps/fn%3A4fe75bbc5a674f4f9b356b5c90567da5%3AFortnite?action=launch&silent=true", UseShellExecute = true }))),
new SelectableOption("Open Dashboard", () => { Console.WriteLine("epic!"); }), new SelectableOption("Open Dashboard", () => Process.Start(new ProcessStartInfo { FileName = "https://partypack.mcthe.dev", UseShellExecute = true })),
new SelectableOption("Settings", () => { Console.WriteLine("awesome!"); }) new SelectableOption("Settings", () => { Console.WriteLine("awesome!"); })
}; };
@ -77,6 +76,7 @@ namespace Partypacker
catch (Exception e) catch (Exception e)
{ {
Console.WriteLine(e.Message); Console.WriteLine(e.Message);
Debug.Fail(e.StackTrace);
} }
finally finally
{ {
@ -105,7 +105,7 @@ namespace Partypacker
private static bool CleanUp(CtrlType ctrlType) private static bool CleanUp(CtrlType ctrlType)
{ {
Proxx.StopProxy(); Proxx?.StopProxy();
return true; return true;
} }
} }

View File

@ -141,9 +141,9 @@ namespace Partypacker.Net
return; return;
} }
string BaseURL = // thats gonna be taken on most machines but sure string BaseURL =
#if DEBUG #if DEBUG
"http://localhost:80"; "http://localhost:6677";
#else #else
"https://api.partypack.mcthe.dev"; "https://api.partypack.mcthe.dev";
#endif #endif