Skip to content

Commit

Permalink
PUSH
Browse files Browse the repository at this point in the history
-> Rename to Pterodactyl Desktop
-> New login design
-> New loading screen design
-> Added a label to display a non official product by Pterodactyl
-> Redesign the main form
-> Added graphs for cpu and ram
-> Added more features to the main page
-> Changed colors
  • Loading branch information
NaysKutzu committed Oct 5, 2023
1 parent cb17f1a commit 73aca33
Show file tree
Hide file tree
Showing 33 changed files with 864 additions and 433 deletions.
2 changes: 1 addition & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

![Logo](https://i.imgur.com/xI3GLFc.jpeg)

# PteroController
# Pterodactyl
A Pterodactyl Panel desktop app that uses the Client API!


Expand Down
2 changes: 1 addition & 1 deletion .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PteroController GitHub Security Policy
# Pterodactyl GitHub Security Policy

## Table of Contents
1. [Introduction](#introduction)
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: windows-latest

env:
Solution_Name: PteroController.sln
Solution_Name: Pterodactyl.sln

steps:
- name: Checkout
Expand All @@ -33,10 +33,10 @@ jobs:

# Execute all unit tests in the solution
- name: Execute unit tests
run: dotnet test PteroController.csproj
run: dotnet test Pterodactyl.csproj

# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore and build the application
run: dotnet build PteroController.csproj
run: dotnet build Pterodactyl.csproj
env:
Configuration: ${{ matrix.configuration }}
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bin/
obj/
.vs/
PteroControllerSetup/Debug/
PteroControllerSetup/Release/
PterodactylSetup/Debug/
PterodactylSetup/Release/
4 changes: 2 additions & 2 deletions Forms/FrmAlert.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Forms/FrmAlert.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

using PteroController.Properties;
using Pterodactyl.Properties;
# pragma warning disable

namespace PteroController.Forms
namespace Pterodactyl.Forms
{
public partial class FrmAlert : Form
{
Expand Down
10 changes: 5 additions & 5 deletions Forms/FrmInstallTools.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Forms/FrmInstallTools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.IO.Compression;
using System.Net.Http;

namespace PteroController.Forms
namespace Pterodactyl.Forms
{
public partial class FrmInstallTools : Form
{
Expand Down
32 changes: 24 additions & 8 deletions Forms/FrmLoading.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions Forms/FrmLoading.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

using PteroController.Properties;
using Pterodactyl.Properties;
using System.Diagnostics;
using System.Text.RegularExpressions;

namespace PteroController.Forms
namespace Pterodactyl.Forms
{
public partial class FrmLoading : Form
{
Expand All @@ -19,7 +19,7 @@ private void lblexit_Click(object sender, EventArgs e)

private async void CheckForUpdate()
{
string url = "https://raw.githubusercontent.com/MythicalLTD/PteroController/v2develop/Program.cs";
string url = "https://raw.githubusercontent.com/MythicalLTD/Pterodactyl-Desktop/v2develop/Program.cs";

using (HttpClient httpClient = new HttpClient())
{
Expand Down Expand Up @@ -62,11 +62,11 @@ private async void CheckForUpdate()
}
private void RunInstallerWithBatchScript()
{
if (File.Exists("PteroControllerSetup.msi"))
if (File.Exists("PterodactylSetup.msi"))
{
string batchScript = @"
@echo off
start /b PteroControllerSetup.msi
start /b PterodactylSetup.msi
exit
";

Expand Down Expand Up @@ -97,7 +97,7 @@ private void FrmLoading_Load(object sender, EventArgs e)
}
public static async Task Download()
{
string releaseURL = "https://github.com/MythicalLTD/PteroController/releases/latest/download/PteroControllerSetup.msi";
string releaseURL = "https://github.com/MythicalLTD/Pterodactyl-Desktop/releases/latest/download/PterodactylSetup.msi";
using (HttpClient client = new HttpClient())
{
HttpResponseMessage response = await client.GetAsync(releaseURL);
Expand All @@ -106,7 +106,7 @@ public static async Task Download()
{
using (Stream contentStream = await response.Content.ReadAsStreamAsync())
{
using (FileStream fileStream = new FileStream("PteroControllerSetup.msi", FileMode.Create))
using (FileStream fileStream = new FileStream("PterodactylSetup.msi", FileMode.Create))
{
await contentStream.CopyToAsync(fileStream);
Console.WriteLine("Updater has been downloaded successfully!");
Expand Down
Loading

0 comments on commit 73aca33

Please sign in to comment.