diff --git a/.env.example b/.env.example index c1c8f4d..e69de29 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +0,0 @@ -CURSEFORGE_API_KEY=$1234asdxXXXXXXkQCXXXXXXXXXXASDb32 -DISCORD_CLIENT_ID=561263XXXXXX \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 6fa5672..dafdc62 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -3,6 +3,13 @@ description: Create a report to help us improve title: "[BUG] " labels: ["bug"] body: + - type: markdown + attributes: + value: | + Bug is a problem which impairs or prevents the functions of the launcher from working as intended. + Thanks for taking the time to fill out a bug report! + Please provide as much information as you can to help us understand and reproduce the issue. + - type: textarea id: description attributes: @@ -43,8 +50,8 @@ body: id: version attributes: label: Version - description: What version of the project are you running? - placeholder: "e.g. v1.2.3" + description: What version of the launcher are you running? + placeholder: "e.g. \"v2.0.11 stable/pre-release\"" validations: required: true @@ -54,29 +61,16 @@ body: label: Operating System description: What operating system are you using? options: - - Windows - - macOS - - Linux - - iOS - - Android - - Other + - Windows 10 + - Windows 11 + - macOS (Apple Silicon) + - macOS (Intel) + - Linux Ubuntu/Debian-based + - Linux Fedora/RHEL-based + - Linux Arch-based validations: required: true - - type: dropdown - id: browser - attributes: - label: Browser (if applicable) - description: What browser are you using? - options: - - Chrome - - Firefox - - Safari - - Edge - - Opera - - Other - - N/A - - type: textarea id: additional attributes: diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 89b6e49..6d1d5d4 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -16,8 +16,10 @@ body: id: problem attributes: label: Is your feature request related to a problem? Please describe. - description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + description: A clear and concise description of what the problem is. placeholder: "Ex. I'm always frustrated when [...]" + validations: + required: true - type: textarea id: solution @@ -34,6 +36,14 @@ body: label: Describe alternatives you've considered description: A clear and concise description of any alternative solutions or features you've considered. placeholder: "Describe any alternative solutions or features you've considered." + validations: + required: true + + - type: screenshots + id: screenshots + attributes: + label: Screenshots (Optional) + description: If applicable, add screenshots to help explain your request. - type: textarea id: additional diff --git a/.github/ISSUE_TEMPLATE/new_translation_request.yml b/.github/ISSUE_TEMPLATE/new_translation_request.yml new file mode 100644 index 0000000..996deed --- /dev/null +++ b/.github/ISSUE_TEMPLATE/new_translation_request.yml @@ -0,0 +1,24 @@ +name: New Translation Request +description: Request new language translation for text or content on the launcher +title: "[TRANSLATION REQUEST] " +labels: ["translation request"] +body: + - type: input + id: language + attributes: + label: Request New Language + description: What language do you want our launcher to support? + placeholder: "e.g. German (de-DE), Russian (ru-RU), etc." + validations: + required: true + + - type: dropdown + id: contriution_willingness + attributes: + label: Willingness to Contribute + description: Are you willing to help with the translation effort? + options: + - Yes, I can help translate from English to the requested language! + - No, I just want to request the language. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/support_request.yml b/.github/ISSUE_TEMPLATE/support_request.yml index 1b03828..71d98e1 100644 --- a/.github/ISSUE_TEMPLATE/support_request.yml +++ b/.github/ISSUE_TEMPLATE/support_request.yml @@ -3,6 +3,13 @@ description: Request help or support title: "[SUPPORT] " labels: ["support"] body: + - type: markdown + attributes: + value: | + If you need help or support with using the launcher, please fill out this support request. + Provide as much detail as possible so we can assist you effectively. + **Need a quick assistance?** Please Open-A-Ticket in our [Discord Server](https://discord.gg/gME8rUy3MB)! + - type: textarea id: question attributes: @@ -17,14 +24,18 @@ body: attributes: label: Context description: Provide any relevant context or background information. - placeholder: "I've tried..., I expected..., but got..." + placeholder: "I've tried..., but got..." + validations: + required: true - type: input id: version attributes: label: Version description: What version are you using? - placeholder: "e.g. v1.2.3" + placeholder: "e.g. v2.0.11 stable/pre-release" + validations: + required: true - type: dropdown id: platform @@ -32,13 +43,15 @@ body: label: Platform description: What platform are you using? options: - - Windows - - macOS - - Linux - - iOS - - Android - - Web Browser - - Other + - Windows 10 + - Windows 11 + - macOS (Apple Silicon) + - macOS (Intel) + - Linux Ubuntu/Debian-based + - Linux Fedora/RHEL-based + - Linux Arch-based + validations: + required: true - type: textarea id: logs @@ -46,6 +59,8 @@ body: label: Logs or Error Messages description: If applicable, paste any error messages or logs here. render: shell + validations: + required: true - type: textarea id: additional diff --git a/.github/ISSUE_TEMPLATE/translation_fix_request.yml b/.github/ISSUE_TEMPLATE/translation_fix_request.yml new file mode 100644 index 0000000..e8477d0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/translation_fix_request.yml @@ -0,0 +1,41 @@ +name: Translation Fix Request +description: Request a fix of translation for text or content in the launcher +title: "[TRANSLATION FIX] " +labels: ["translation fix"] +body: + - type: input + id: language + attributes: + label: Target Language + description: What language do you want to translate to? + placeholder: "e.g. Spanish (es-ES), Portuguese (pt-BR), etc." + validations: + required: true + + - type: textarea + id: source_text + attributes: + label: Source Text + description: The original text that needs to be translated. + placeholder: "Paste the text here..." + validations: + required: true + + - type: textarea + id: context + attributes: + label: Context + description: Provide context about where this text appears or how it's used. + placeholder: "This text appears in..., It's used for..." + + - type: textarea + id: screenshots + attributes: + label: Screenshots + description: If applicable, add screenshots to help explain your problem. + + - type: textarea + id: notes + attributes: + label: Additional Notes + description: Any specific instructions or notes for the translator. \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 405e76d..04eabb7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Build and Release on: push: branches: - - release + - main tags: - 'v*' workflow_dispatch: @@ -13,7 +13,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - # FIX Install bsdtar for Pacman builds - name: Install build dependencies run: | sudo apt-get update @@ -25,14 +24,6 @@ jobs: cache: 'npm' - run: npm ci - - name: Create .env file - env: - CF_KEY: ${{ secrets.CURSEFORGE_API_KEY }} - DISCORD_ID: ${{ secrets.DISCORD_CLIENT_ID }} - run: | - echo "CURSEFORGE_API_KEY=$CF_KEY" > .env - echo "DISCORD_CLIENT_ID=$DISCORD_ID" >> .env - - name: Build Linux Packages run: | npx electron-builder --linux --x64 --arm64 --publish never @@ -44,7 +35,7 @@ jobs: dist/*.AppImage.blockmap dist/*.deb dist/*.rpm - dist/*.pacman + dist/*.pkg.tar.zst dist/latest-linux.yml build-windows: @@ -57,14 +48,6 @@ jobs: cache: 'npm' - run: npm ci - - name: Create .env file - env: - CF_KEY: ${{ secrets.CURSEFORGE_API_KEY }} - DISCORD_ID: ${{ secrets.DISCORD_CLIENT_ID }} - run: | - echo "CURSEFORGE_API_KEY=$CF_KEY" > .env - echo "DISCORD_CLIENT_ID=$DISCORD_ID" >> .env - - name: Build Windows Packages run: npx electron-builder --win --publish never - uses: actions/upload-artifact@v4 @@ -85,15 +68,7 @@ jobs: cache: 'npm' - run: npm ci - - name: Create .env file - env: - CF_KEY: ${{ secrets.CURSEFORGE_API_KEY }} - DISCORD_ID: ${{ secrets.DISCORD_CLIENT_ID }} - run: | - echo "CURSEFORGE_API_KEY=$CF_KEY" > .env - echo "DISCORD_CLIENT_ID=$DISCORD_ID" >> .env - - - name: Build Windows Packages + - name: Build macOS Packages run: npx electron-builder --mac --publish never - uses: actions/upload-artifact@v4 with: @@ -108,7 +83,7 @@ jobs: runs-on: ubuntu-latest if: | startsWith(github.ref, 'refs/tags/v') || - github.ref == 'refs/heads/release' || + github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' permissions: @@ -137,12 +112,12 @@ jobs: # If it's a tag, use the tag. tag_name: ${{ github.ref_type == 'tag' && github.ref_name || format('v{0}.r{1}', steps.pkg_version.outputs.VERSION, github.run_number) }} # If it's the 'release' branch, use 'v2.0.2-beta.r42' - name: ${{ github.ref_type == 'tag' && github.ref_name || format('v{0}-beta.r{1}', steps.pkg_version.outputs.VERSION, github.run_number) }} + # name: ${{ github.ref_type == 'tag' && github.ref_name || format('v{0}-beta.r{1}', steps.pkg_version.outputs.VERSION, github.run_number) }} files: | artifacts/linux-builds/**/* artifacts/windows-builds/**/* artifacts/macos-builds/**/* generate_release_notes: true draft: true - # DYNAMIC FLAGS: Mark as pre-release ONLY IF it's NOT a tag (meaning it's a branch push) - prerelease: ${{ github.ref_type != 'tag' }} + prerelease: false + diff --git a/.gitignore b/.gitignore index b533c73..c3f4c5a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,23 @@ -dist/* -node_modules/* -bun.lock - -# Build artifacts -src/ -pkg/ - -# Package files -*.tar.zst -*.zst.DS_Store -*.zst -bun.lockb +# General / Node +node_modules/ +dist/ .env + +# Arch Linux / makepkg: Ignore folders created when running 'makepkg' locally +/src/ +/pkg/ + +# Built packages: {revents committing large binaries +*.pkg.tar.zst +*.pkg.tar.xz + +# Source downloads used by PKGBUILD +*.src.tar.gz + +# Project Specific: Downloaded patcher (from hytale-auth-server) +backend/patcher/ + +# macOS Specific +.DS_Store +*.zst.DS_Store +bun.lock diff --git a/GUI/index.html b/GUI/index.html index 272dab1..5b4d13d 100644 --- a/GUI/index.html +++ b/GUI/index.html @@ -123,6 +123,29 @@ value="Player" /> +
- Select your preferred GPU (Linux: - affects DRI_PRIME) + Switch between stable release and + experimental pre-release versions +
++ + Changing branch will download + and install a different game version
-+ + Select your preferred GPU (Linux: + affects DRI_PRIME) +
+ +- - Your unique player identifier for - this username -
-