From 8b3353ca9f0d74d489697671895aed4ebaeec78a Mon Sep 17 00:00:00 2001 From: NaysKutzu <87282334+NaysKutzu@users.noreply.github.com> Date: Sun, 1 Oct 2023 17:15:54 +0200 Subject: [PATCH] PUSH -> Removed non used packages -> New look for readme -> Removed codeql workflow since it is useless --- .github/README.md | 70 ++++++++++++++++++++++++++++++ .github/workflows/codeql.yml | 82 ------------------------------------ Program.cs | 2 - PteroController.csproj | 3 -- Pterodactyl/User/Info.cs | 1 - README.md | 79 ---------------------------------- 6 files changed, 70 insertions(+), 167 deletions(-) create mode 100644 .github/README.md delete mode 100644 .github/workflows/codeql.yml delete mode 100644 README.md diff --git a/.github/README.md b/.github/README.md new file mode 100644 index 0000000..4664609 --- /dev/null +++ b/.github/README.md @@ -0,0 +1,70 @@ + +![Logo](https://i.imgur.com/xI3GLFc.jpeg) + +# PteroController +A Pterodactyl Panel desktop app that uses the Client API! + + +

+ +## Download + +Here are some download links: + +Project is not done yet + +## Support + +For support, join our Discord server. + +Discord: [discord.gg/mythicalsystems](https://discord.gg/7BZTmSK2D8) + + +## Features + +- Multi panel support +- Server List +- Live Console +- No delay +- Free <3 + +## FAQ + +#### Is this a virus? + +No, our app is 100% safe and has no virus inside it or any kind of keylogger, etc. + +#### Why dose windows show a warning when i open the app? +Because the app is not signed by Microsoft yet. + +#### Is this really free? +Yes it's totally free forever + +## Authors + +- [@NaysKutzu](https://github.com/NaysKutzu) + + +## License + +[MIT](https://choosealicense.com/licenses/mit/) + + +## Used By + +This project is used by the following companies: + +- [MythicalSystems](https://mythicalsystems.me) + +[IF YOU WANT YOUR NAME HERE, DM ME ON DISCORD: `NaysKutzu#5375`] + + +## Tech Stack + +**Client:** [C#](https://dotnet.microsoft.com/en-us/languages/csharp), [WinForms](https://learn.microsoft.com/en-us/dotnet/desktop/winforms/overview/?view=netdesktop-7.0), [.NET Framwork](https://dotnet.microsoft.com/en-us/learn/dotnet/what-is-dotnet-framework) + +**Design**: [GunaUI](https://gunaui.com/) + +**Packages**: [discord-rpc-csharp](https://github.com/Lachee/discord-rpc-csharp), [GunaUI](https://gunaui.com/), [PteroConsole.NET](https://github.com/Marcel-Baumgartner/PteroConsole.NET), [Json.NET](https://www.newtonsoft.com/json) + +**Server:** [Pterodactyl](https://pterodactyl.io/) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index c3f8141..0000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,82 +0,0 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# -name: "CodeQL" - -on: - push: - branches: [ "v2develop" ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ "v2develop" ] - schedule: - - cron: '15 18 * * 0' - -jobs: - analyze: - name: Analyze - # Runner size impacts CodeQL analysis time. To learn more, please see: - # - https://gh.io/recommended-hardware-resources-for-running-codeql - # - https://gh.io/supported-runners-and-hardware-resources - # - https://gh.io/using-larger-runners - # Consider using larger runners for possible analysis time improvements. - runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} - timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} - permissions: - actions: read - contents: read - security-events: write - - strategy: - fail-fast: false - matrix: - language: [ 'csharp' ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ] - # Use only 'java' to analyze code written in Java, Kotlin or both - # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both - # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - - # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs - # queries: security-extended,security-and-quality - - - # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v2 - - # ℹ️ Command-line programs to run using the OS shell. - # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun - - # If the Autobuild fails above, remove it and uncomment the following three lines. - # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. - - # - run: | - # echo "Run, Build Application using script" - # ./location_of_script_within_repo/buildscript.sh - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 - with: - category: "/language:${{matrix.language}}" diff --git a/Program.cs b/Program.cs index 7480884..118a7e2 100644 --- a/Program.cs +++ b/Program.cs @@ -7,8 +7,6 @@ internal static class Program ///

/// The main entry point for the application. /// - public static string AppSettings = Application.StartupPath + @"\settings.ini"; - public static string AppAccountInfo = Application.StartupPath + @"\account.ini"; public static string AppVersion = "1.0.0"; [STAThread] public static void Main() diff --git a/PteroController.csproj b/PteroController.csproj index 190befd..228c453 100644 --- a/PteroController.csproj +++ b/PteroController.csproj @@ -34,13 +34,10 @@ - - - diff --git a/Pterodactyl/User/Info.cs b/Pterodactyl/User/Info.cs index fead271..32bd919 100644 --- a/Pterodactyl/User/Info.cs +++ b/Pterodactyl/User/Info.cs @@ -1,5 +1,4 @@ using Newtonsoft.Json.Linq; -using Salaros.Configuration; using System.Net.Http; using System.Net.Http.Headers; #pragma warning disable diff --git a/README.md b/README.md deleted file mode 100644 index 6c737e2..0000000 --- a/README.md +++ /dev/null @@ -1,79 +0,0 @@ - -![Logo](https://i.imgur.com/xI3GLFc.jpeg) - -# PteroController -A Pterodactyl Panel desktop app that uses the Client API! - - -

- -## Download - -Here are some download links: - -CMD: -```batch -@powershell -NoProfile -ExecutionPolicy Bypass -Command "Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/MythicalLTD/PteroController/develop/PteroController.bat' -OutFile 'script.bat'; start 'script.bat'" -``` - - -## Support - -For support, join our Discord server. - -Discord: [discord.gg/mythicalsystems](https://discord.gg/7BZTmSK2D8) - - -## Features - -- Server List -- Live Console -- No delay -- Free <3 - -## FAQ - -#### Is this a virus? - -No, our app is 100% safe and has no virus inside it or any kind of keylogger, etc. - -#### Why dose windows show a warning when i open the app? -Because the app is not signed by Microsoft yet - -#### Is this really free? -Yes it's totally free forever - -#### Is there another theme? -No currently the app is still in development, and we don't provide themes yet but if you are excellent as a designer in WinForms you can make your own theme - -### Im a developer where can i find the BunifUI files? -Well we are using a cracked version of BunifUI and we wont provide the files on the repo but if you need them dm `NaysKutzu#5375` on discord - -### How can i develop my own plugin? -Well to make your own plugin for PteroController you will have to have some knowledge of c# and .net and if you alertly know all of that here you can find a the [documentation](https://docs.mythicalsystems.tech/PteroController/HowToMakeAPlugin) - -## Authors - -- [@NaysKutzu](https://github.com/NaysKutzu) - - -## License - -[MIT](https://choosealicense.com/licenses/mit/) - - -## Used By - -This project is used by the following companies: - -- [MythicalSystems](https://mythicalsystems.tech) -- [NoxlCraft](https://noxlcraft.me) - -[IF YOU WANT YOUR NAME HERE, DM ME ON DISCORD: `NaysKutzu#5375`] - - -## Tech Stack - -**Client:** C#, WinForms, .NET - -**Server:** Pterodactyl