diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 86ebee052..4fb4dab7a 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -6,9 +6,9 @@ body: attributes: value: | Before submitting a bug report, please make sure you have read this *entire* form, and that: - * You have read the [Fjord Launcher wiki](https://fjordlauncher.org/wiki/) and it has not answered your question. + * You have read the [Prism Launcher wiki](https://prismlauncher.org/wiki/) and it has not answered your question. * Your bug is not caused by Minecraft or any mods you have installed. - * Your issue has not been reported before, [make sure to use the search function!](https://github.com/unmojang/FjordLauncher/issues) + * Your issue has not been reported before, [make sure to use the search function!](https://github.com/lunaislazier/ShatteredPrism/issues) **Do not forget to give your issue a descriptive title.** "Bug in the instance screen" makes it hard to distinguish issues at a glance. - type: dropdown @@ -23,15 +23,15 @@ body: - Other - type: textarea attributes: - label: Version of Fjord Launcher - description: The version of Fjord Launcher used in the bug report. - placeholder: Fjord Launcher 5.1 + label: Version of Shattered Prism + description: The version of Shattered Prism used in the bug report. + placeholder: Shattered Prism 1.3 validations: required: true - type: textarea attributes: label: Version of Qt - description: The version of Qt used in the bug report. You can find it in Help -> About Fjord Launcher -> About Qt. + description: The version of Qt used in the bug report. You can find it in Help -> About Shattered Prism -> About Qt. placeholder: Qt 6.3.0 validations: required: true @@ -39,7 +39,7 @@ body: attributes: label: Description of bug description: What did you expect to happen, what happened, and why is it incorrect? - placeholder: The parrot button should show a parrot, but it showed a cat instead! + placeholder: The cat button should show a cat, but it showed a parrot instead! validations: required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/rfc.yml b/.github/ISSUE_TEMPLATE/rfc.yml index 1c157a9e4..25075de84 100644 --- a/.github/ISSUE_TEMPLATE/rfc.yml +++ b/.github/ISSUE_TEMPLATE/rfc.yml @@ -6,38 +6,38 @@ body: - type: markdown attributes: value: | - ### Use this form to suggest a larger change for Fjord Launcher. + ### Use this form to suggest a larger change for Shattered Prism. - type: textarea attributes: label: Goal description: Short description, 1-2 sentences. - placeholder: Remove the parrot from the launcher. + placeholder: Remove the cat from the launcher. validations: required: true - type: textarea attributes: label: Motivation description: | - Introduce the topic. If this is a not-well-known section of Fjord Launcher, a detailed explanation of the background is recommended. + Introduce the topic. If this is a not-well-known section of Shattered Prism, a detailed explanation of the background is recommended. Some example points of discussion: - What specific problems are you facing right now that you're trying to address? - Are there any previous discussions? Link to them and summarize them (don't force your readers to read them though!). - Is there any precedent set by other software? If so, link to resources. - placeholder: I don't like parrots. I think many users also don't like parrots. + placeholder: I don't like cats. I think many users also don't like cats. validations: required: true - type: textarea attributes: label: Specification description: A concrete, thorough explanation of what is being planned. - placeholder: Remove the parrot button and all references to the parrot from the codebase. Including resource files. + placeholder: Remove the cat button and all references to the cat from the codebase. Including resource files. validations: required: true - type: textarea attributes: label: Drawbacks description: Carefully consider every possible objection and issue with your proposal. This section should be updated as feedback comes in from discussion. - placeholder: Some users might like parrots. + placeholder: Some users might like cats. validations: required: true - type: textarea @@ -47,14 +47,14 @@ body: Are there any portions of your proposal which need to be discussed with the community before the RFC can proceed? Be careful here -- an RFC with a lot of remaining questions is likely to be stalled. If your RFC is mostly unresolved questions and not too much substance, it may not be ready. - placeholder: Do a lot of users care about the parrot? + placeholder: Do a lot of users care about the cat? validations: required: true - type: textarea attributes: label: Alternatives Considered description: A list of alternatives, that have been considered and offer equal or similar features to the proposed change. - placeholder: Maybe the parrot could be replaced with a dog? + placeholder: Maybe the cat could be replaced with a dog? validations: required: true - type: checkboxes diff --git a/.github/ISSUE_TEMPLATE/suggestion.yml b/.github/ISSUE_TEMPLATE/suggestion.yml index 13a03005b..17487f004 100644 --- a/.github/ISSUE_TEMPLATE/suggestion.yml +++ b/.github/ISSUE_TEMPLATE/suggestion.yml @@ -5,26 +5,26 @@ body: - type: markdown attributes: value: | - ### Use this form to suggest a feature for Fjord Launcher. + ### Use this form to suggest a feature for Shattered Prism. - type: input attributes: label: Role - description: In what way do you use Fjord Launcher that needs this feature? + description: In what way do you use Shattered Prism that needs this feature? placeholder: I play modded Minecraft. validations: required: true - type: input attributes: label: Suggestion - description: What do you want Fjord Launcher to do? - placeholder: I want the parrot button to squawk. + description: What do you want Shattered Prism to do? + placeholder: I want the cat button to meow. validations: required: true - type: input attributes: label: Benefit - description: Why do you need Fjord Launcher to do this? - placeholder: so that I can always hear a parrot when I need to. + description: Why do you need Shattered Prism to do this? + placeholder: so that I can always hear a cat when I need to. validations: required: true - type: checkboxes diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e46d66318..87ed762ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -376,7 +376,7 @@ jobs: cmake --install ${{ env.BUILD_DIR }} cd ${{ env.INSTALL_DIR }} - chmod +x "FjordLauncher.app/Contents/MacOS/fjordlauncher" + chmod +x "ShatteredPrism.app/Contents/MacOS/ShatteredPrism" if [ -n '${{ secrets.APPLE_CODESIGN_ID }}' ]; then APPLE_CODESIGN_ID='${{ secrets.APPLE_CODESIGN_ID }}' @@ -384,8 +384,8 @@ jobs: APPLE_CODESIGN_ID='-' fi - sudo codesign --sign "$APPLE_CODESIGN_ID" --deep --force --entitlements "../program_info/App.entitlements" --options runtime "FjordLauncher.app/Contents/MacOS/fjordlauncher" - mv "FjordLauncher.app" "Fjord Launcher.app" + sudo codesign --sign "$APPLE_CODESIGN_ID" --deep --force --entitlements "../program_info/App.entitlements" --options runtime "ShatteredPrism.app/Contents/MacOS/ShatteredPrism" + mv "ShatteredPrism.app" "Shattered Prism.app" - name: Notarize (macOS) if: runner.os == 'macOS' @@ -393,25 +393,25 @@ jobs: cd ${{ env.INSTALL_DIR }} if [ -n '${{ secrets.APPLE_NOTARIZE_PASSWORD }}' ]; then - ditto -c -k --sequesterRsrc --keepParent "Fjord Launcher.app" ../FjordLauncher.zip - xcrun notarytool submit ../FjordLauncher.zip \ + ditto -c -k --sequesterRsrc --keepParent "Shattered Prism.app" ../ShatteredPrism.zip + xcrun notarytool submit ../ShatteredPrism.zip \ --wait --progress \ --apple-id '${{ secrets.APPLE_NOTARIZE_APPLE_ID }}' \ --team-id '${{ secrets.APPLE_NOTARIZE_TEAM_ID }}' \ --password '${{ secrets.APPLE_NOTARIZE_PASSWORD }}' - xcrun stapler staple "Fjord Launcher.app" + xcrun stapler staple "Shattered Prism.app" else echo ":warning: Skipping notarization as credentials are not present." >> $GITHUB_STEP_SUMMARY fi - ditto -c -k --sequesterRsrc --keepParent "Fjord Launcher.app" ../FjordLauncher.zip + ditto -c -k --sequesterRsrc --keepParent "Shattered Prism.app" ../ShatteredPrism.zip - name: Make Sparkle signature (macOS) if: matrix.name == 'macOS' run: | if [ '${{ secrets.SPARKLE_ED25519_KEY }}' != '' ]; then echo '${{ secrets.SPARKLE_ED25519_KEY }}' > ed25519-priv.pem - signature=$(/opt/homebrew/opt/openssl@3/bin/openssl pkeyutl -sign -rawin -in ${{ github.workspace }}/FjordLauncher.zip -inkey ed25519-priv.pem | openssl base64 | tr -d \\n) + signature=$(/opt/homebrew/opt/openssl@3/bin/openssl pkeyutl -sign -rawin -in ${{ github.workspace }}/ShatteredPrism.zip -inkey ed25519-priv.pem | openssl base64 | tr -d \\n) rm ed25519-priv.pem cat >> $GITHUB_STEP_SUMMARY << EOF ### Artifact Information :information_source: @@ -453,7 +453,7 @@ jobs: if (Get-Content ./codesign.pfx){ cd ${{ env.INSTALL_DIR }} # We ship the exact same executable for portable and non-portable editions, so signing just once is fine - SignTool sign /fd sha256 /td sha256 /f ../codesign.pfx /p '${{ secrets.WINDOWS_CODESIGN_PASSWORD }}' /tr http://timestamp.digicert.com fjordlauncher.exe fjordlauncher_updater.exe fjordlauncher_filelink.exe + SignTool sign /fd sha256 /td sha256 /f ../codesign.pfx /p '${{ secrets.WINDOWS_CODESIGN_PASSWORD }}' /tr http://timestamp.digicert.com ShatteredPrism.exe ShatteredPrism_updater.exe ShatteredPrism_filelink.exe } else { ":warning: Skipped code signing for Windows, as certificate was not present." >> $env:GITHUB_STEP_SUMMARY } @@ -494,7 +494,7 @@ jobs: if: runner.os == 'Windows' run: | if (Get-Content ./codesign.pfx){ - SignTool sign /fd sha256 /td sha256 /f codesign.pfx /p '${{ secrets.WINDOWS_CODESIGN_PASSWORD }}' /tr http://timestamp.digicert.com FjordLauncher-Setup.exe + SignTool sign /fd sha256 /td sha256 /f codesign.pfx /p '${{ secrets.WINDOWS_CODESIGN_PASSWORD }}' /tr http://timestamp.digicert.com ShatteredPrism-Setup.exe } else { ":warning: Skipped code signing for Windows, as certificate was not present." >> $env:GITHUB_STEP_SUMMARY } @@ -507,10 +507,10 @@ jobs: run: | cmake --install ${{ env.BUILD_DIR }} --prefix ${{ env.INSTALL_APPIMAGE_DIR }}/usr - mv ${{ env.INSTALL_APPIMAGE_DIR }}/usr/share/metainfo/org.unmojang.FjordLauncher.metainfo.xml ${{ env.INSTALL_APPIMAGE_DIR }}/usr/share/metainfo/org.fjordlauncher.FjordLauncher.appdata.xml + mv ${{ env.INSTALL_APPIMAGE_DIR }}/usr/share/metainfo/org.lunaislazier.ShatteredPrism.metainfo.xml ${{ env.INSTALL_APPIMAGE_DIR }}/usr/share/metainfo/org.shatteredprism.ShatteredPrism.appdata.xml export "NO_APPSTREAM=1" # we have to skip appstream checking because appstream on ubuntu 20.04 is outdated - export OUTPUT="FjordLauncher-Linux-x86_64.AppImage" + export OUTPUT="ShatteredPrism-Linux-x86_64.AppImage" chmod +x linuxdeploy-*.AppImage @@ -529,7 +529,7 @@ jobs: chmod +x AppImageUpdate-x86_64.AppImage cp AppImageUpdate-x86_64.AppImage ${{ env.INSTALL_APPIMAGE_DIR }}/usr/bin - export UPDATE_INFORMATION="gh-releases-zsync|${{ github.repository_owner }}|${{ github.event.repository.name }}|latest|FjordLauncher-Linux-x86_64.AppImage.zsync" + export UPDATE_INFORMATION="gh-releases-zsync|${{ github.repository_owner }}|${{ github.event.repository.name }}|latest|ShatteredPrism-Linux-x86_64.AppImage.zsync" if [ '${{ secrets.GPG_PRIVATE_KEY_ID }}' != '' ]; then export SIGN=1 @@ -541,9 +541,9 @@ jobs: echo ":warning: Skipped code signing for Linux AppImage, as gpg key was not present." >> $GITHUB_STEP_SUMMARY fi - ./linuxdeploy-x86_64.AppImage --appdir ${{ env.INSTALL_APPIMAGE_DIR }} --output appimage --plugin qt -i ${{ env.INSTALL_APPIMAGE_DIR }}/usr/share/icons/hicolor/scalable/apps/org.unmojang.FjordLauncher.svg + ./linuxdeploy-x86_64.AppImage --appdir ${{ env.INSTALL_APPIMAGE_DIR }} --output appimage --plugin qt -i ${{ env.INSTALL_APPIMAGE_DIR }}/usr/share/icons/hicolor/scalable/apps/org.unmojang.ShatteredPrism.svg - mv "FjordLauncher-Linux-x86_64.AppImage" "FjordLauncher-Linux-${{ env.VERSION }}-${{ inputs.build_type }}-x86_64.AppImage" + mv "ShatteredPrism-Linux-x86_64.AppImage" "ShatteredPrism-Linux-${{ env.VERSION }}-${{ inputs.build_type }}-x86_64.AppImage" - name: Package (Linux, portable) if: runner.os == 'Linux' @@ -572,57 +572,57 @@ jobs: if: runner.os == 'macOS' uses: actions/upload-artifact@v4 with: - name: FjordLauncher-${{ matrix.name }}-${{ env.VERSION }}-${{ inputs.build_type }} - path: FjordLauncher.zip + name: ShatteredPrism-${{ matrix.name }}-${{ env.VERSION }}-${{ inputs.build_type }} + path: ShatteredPrism.zip - name: Upload binary zip (Windows) if: runner.os == 'Windows' uses: actions/upload-artifact@v4 with: - name: FjordLauncher-${{ matrix.name }}-${{ env.VERSION }}-${{ inputs.build_type }} + name: ShatteredPrism-${{ matrix.name }}-${{ env.VERSION }}-${{ inputs.build_type }} path: ${{ env.INSTALL_DIR }}/** - name: Upload binary zip (Windows, portable) if: runner.os == 'Windows' uses: actions/upload-artifact@v4 with: - name: FjordLauncher-${{ matrix.name }}-Portable-${{ env.VERSION }}-${{ inputs.build_type }} + name: ShatteredPrism-${{ matrix.name }}-Portable-${{ env.VERSION }}-${{ inputs.build_type }} path: ${{ env.INSTALL_PORTABLE_DIR }}/** - name: Upload installer (Windows) if: runner.os == 'Windows' uses: actions/upload-artifact@v4 with: - name: FjordLauncher-${{ matrix.name }}-Setup-${{ env.VERSION }}-${{ inputs.build_type }} - path: FjordLauncher-Setup.exe + name: ShatteredPrism-${{ matrix.name }}-Setup-${{ env.VERSION }}-${{ inputs.build_type }} + path: ShatteredPrism-Setup.exe - name: Upload binary tarball (Linux, portable, Qt 5) if: runner.os == 'Linux' && matrix.qt_ver != 6 uses: actions/upload-artifact@v4 with: - name: FjordLauncher-${{ runner.os }}-Qt5-Portable-${{ env.VERSION }}-${{ inputs.build_type }} - path: FjordLauncher-portable.tar.gz + name: ShatteredPrism-${{ runner.os }}-Qt5-Portable-${{ env.VERSION }}-${{ inputs.build_type }} + path: ShatteredPrism-portable.tar.gz - name: Upload binary tarball (Linux, portable, Qt 6) if: runner.os == 'Linux' && matrix.qt_ver != 5 uses: actions/upload-artifact@v4 with: - name: FjordLauncher-${{ runner.os }}-Qt6-Portable-${{ env.VERSION }}-${{ inputs.build_type }} - path: FjordLauncher-portable.tar.gz + name: ShatteredPrism-${{ runner.os }}-Qt6-Portable-${{ env.VERSION }}-${{ inputs.build_type }} + path: ShatteredPrism-portable.tar.gz - name: Upload AppImage (Linux) if: runner.os == 'Linux' && matrix.qt_ver != 5 uses: actions/upload-artifact@v4 with: - name: FjordLauncher-${{ runner.os }}-${{ env.VERSION }}-${{ inputs.build_type }}-x86_64.AppImage - path: FjordLauncher-${{ runner.os }}-${{ env.VERSION }}-${{ inputs.build_type }}-x86_64.AppImage + name: ShatteredPrism-${{ runner.os }}-${{ env.VERSION }}-${{ inputs.build_type }}-x86_64.AppImage + path: ShatteredPrism-${{ runner.os }}-${{ env.VERSION }}-${{ inputs.build_type }}-x86_64.AppImage - name: Upload AppImage Zsync (Linux) if: runner.os == 'Linux' && matrix.qt_ver != 5 uses: actions/upload-artifact@v4 with: - name: FjordLauncher-${{ runner.os }}-${{ env.VERSION }}-${{ inputs.build_type }}-x86_64.AppImage.zsync - path: FjordLauncher-Linux-x86_64.AppImage.zsync + name: ShatteredPrism-${{ runner.os }}-${{ env.VERSION }}-${{ inputs.build_type }}-x86_64.AppImage.zsync + path: ShatteredPrism-Linux-x86_64.AppImage.zsync - name: ccache stats (Windows MinGW-w64) if: runner.os == 'Windows' && matrix.msystem != '' @@ -645,8 +645,8 @@ jobs: if: inputs.build_type == 'Debug' uses: flatpak/flatpak-github-actions/flatpak-builder@v6 with: - bundle: "Fjord Launcher.flatpak" - manifest-path: flatpak/org.unmojang.FjordLauncher.yml + bundle: "Shattered Prism.flatpak" + manifest-path: flatpak/org.lunaislazier.ShatteredPrism.yml nix: name: Nix (${{ matrix.system }}) @@ -691,9 +691,9 @@ jobs: - name: Build debug package if: ${{ inputs.build_type == 'Debug' }} run: | - nix build --print-build-logs .#fjordlauncher-debug + nix build --print-build-logs .#shatteredprism-debug - name: Build release package if: ${{ inputs.build_type != 'Debug' }} run: | - nix build --print-build-logs .#fjordlauncher + nix build --print-build-logs .#shatteredprism diff --git a/.github/workflows/trigger_release.yml b/.github/workflows/trigger_release.yml index e1edcca13..d2bcb9507 100644 --- a/.github/workflows/trigger_release.yml +++ b/.github/workflows/trigger_release.yml @@ -1,6 +1,7 @@ name: Build Application and Make Release on: + workflow_dispatch: push: tags: - "*" @@ -36,7 +37,7 @@ jobs: uses: actions/checkout@v4 with: submodules: "true" - path: "FjordLauncher-source" + path: "ShatteredPrism-source" - name: Download artifacts uses: actions/download-artifact@v4 - name: Grab and store version @@ -45,38 +46,38 @@ jobs: echo "VERSION=$tag_name" >> $GITHUB_ENV - name: Package artifacts properly run: | - mv ${{ github.workspace }}/FjordLauncher-source FjordLauncher-${{ env.VERSION }} - mv FjordLauncher-Linux-Qt6-Portable*/FjordLauncher-portable.tar.gz FjordLauncher-Linux-Qt6-Portable-${{ env.VERSION }}.tar.gz - mv FjordLauncher-Linux-Qt5-Portable*/FjordLauncher-portable.tar.gz FjordLauncher-Linux-Qt5-Portable-${{ env.VERSION }}.tar.gz - mv FjordLauncher-*.AppImage/FjordLauncher-*.AppImage FjordLauncher-Linux-x86_64.AppImage - mv FjordLauncher-*.AppImage.zsync/FjordLauncher-*.AppImage.zsync FjordLauncher-Linux-x86_64.AppImage.zsync - mv FjordLauncher-macOS-Legacy*/FjordLauncher.zip FjordLauncher-macOS-Legacy-${{ env.VERSION }}.zip - mv FjordLauncher-macOS*/FjordLauncher.zip FjordLauncher-macOS-${{ env.VERSION }}.zip + mv ${{ github.workspace }}/ShatteredPrism-source ShatteredPrism-${{ env.VERSION }} + mv ShatteredPrism-Linux-Qt6-Portable*/ShatteredPrism-portable.tar.gz ShatteredPrism-Linux-Qt6-Portable-${{ env.VERSION }}.tar.gz + mv ShatteredPrism-Linux-Qt5-Portable*/ShatteredPrism-portable.tar.gz ShatteredPrism-Linux-Qt5-Portable-${{ env.VERSION }}.tar.gz + mv ShatteredPrism-*.AppImage/ShatteredPrism-*.AppImage ShatteredPrism-Linux-x86_64.AppImage + mv ShatteredPrism-*.AppImage.zsync/ShatteredPrism-*.AppImage.zsync ShatteredPrism-Linux-x86_64.AppImage.zsync + mv ShatteredPrism-macOS-Legacy*/ShatteredPrism.zip ShatteredPrism-macOS-Legacy-${{ env.VERSION }}.zip + mv ShatteredPrism-macOS*/ShatteredPrism.zip ShatteredPrism-macOS-${{ env.VERSION }}.zip - tar --exclude='.git' -czf FjordLauncher-${{ env.VERSION }}.tar.gz FjordLauncher-${{ env.VERSION }} + tar --exclude='.git' -czf ShatteredPrism-${{ env.VERSION }}.tar.gz ShatteredPrism-${{ env.VERSION }} - for d in FjordLauncher-Windows-MSVC*; do + for d in ShatteredPrism-Windows-MSVC*; do cd "${d}" || continue LEGACY="$(echo -n ${d} | grep -o Legacy || true)" ARM64="$(echo -n ${d} | grep -o arm64 || true)" INST="$(echo -n ${d} | grep -o Setup || true)" PORT="$(echo -n ${d} | grep -o Portable || true)" - NAME="FjordLauncher-Windows-MSVC" + NAME="ShatteredPrism-Windows-MSVC" test -z "${LEGACY}" || NAME="${NAME}-Legacy" test -z "${ARM64}" || NAME="${NAME}-arm64" test -z "${PORT}" || NAME="${NAME}-Portable" - test -z "${INST}" || mv FjordLauncher-*.exe ../${NAME}-Setup-${{ env.VERSION }}.exe + test -z "${INST}" || mv ShatteredPrism-*.exe ../${NAME}-Setup-${{ env.VERSION }}.exe test -n "${INST}" || zip -r -9 "../${NAME}-${{ env.VERSION }}.zip" * cd .. done - for d in FjordLauncher-Windows-MinGW-w64*; do + for d in ShatteredPrism-Windows-MinGW-w64*; do cd "${d}" || continue INST="$(echo -n ${d} | grep -o Setup || true)" PORT="$(echo -n ${d} | grep -o Portable || true)" - NAME="FjordLauncher-Windows-MinGW-w64" + NAME="ShatteredPrism-Windows-MinGW-w64" test -z "${PORT}" || NAME="${NAME}-Portable" - test -z "${INST}" || mv FjordLauncher-*.exe ../${NAME}-Setup-${{ env.VERSION }}.exe + test -z "${INST}" || mv ShatteredPrism-*.exe ../${NAME}-Setup-${{ env.VERSION }}.exe test -n "${INST}" || zip -r -9 "../${NAME}-${{ env.VERSION }}.zip" * cd .. done @@ -87,23 +88,23 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} tag_name: ${{ github.ref }} - name: Fjord Launcher ${{ env.VERSION }} + name: Shattered Prism ${{ env.VERSION }} draft: true prerelease: false files: | - FjordLauncher-Linux-Qt5-Portable-${{ env.VERSION }}.tar.gz - FjordLauncher-Linux-x86_64.AppImage - FjordLauncher-Linux-x86_64.AppImage.zsync - FjordLauncher-Linux-Qt6-Portable-${{ env.VERSION }}.tar.gz - FjordLauncher-Windows-MinGW-w64-${{ env.VERSION }}.zip - FjordLauncher-Windows-MinGW-w64-Portable-${{ env.VERSION }}.zip - FjordLauncher-Windows-MinGW-w64-Setup-${{ env.VERSION }}.exe - FjordLauncher-Windows-MSVC-arm64-${{ env.VERSION }}.zip - FjordLauncher-Windows-MSVC-arm64-Portable-${{ env.VERSION }}.zip - FjordLauncher-Windows-MSVC-arm64-Setup-${{ env.VERSION }}.exe - FjordLauncher-Windows-MSVC-${{ env.VERSION }}.zip - FjordLauncher-Windows-MSVC-Portable-${{ env.VERSION }}.zip - FjordLauncher-Windows-MSVC-Setup-${{ env.VERSION }}.exe - FjordLauncher-macOS-${{ env.VERSION }}.zip - FjordLauncher-macOS-Legacy-${{ env.VERSION }}.zip - FjordLauncher-${{ env.VERSION }}.tar.gz + ShatteredPrism-Linux-Qt5-Portable-${{ env.VERSION }}.tar.gz + ShatteredPrism-Linux-x86_64.AppImage + ShatteredPrism-Linux-x86_64.AppImage.zsync + ShatteredPrism-Linux-Qt6-Portable-${{ env.VERSION }}.tar.gz + ShatteredPrism-Windows-MinGW-w64-${{ env.VERSION }}.zip + ShatteredPrism-Windows-MinGW-w64-Portable-${{ env.VERSION }}.zip + ShatteredPrism-Windows-MinGW-w64-Setup-${{ env.VERSION }}.exe + ShatteredPrism-Windows-MSVC-arm64-${{ env.VERSION }}.zip + ShatteredPrism-Windows-MSVC-arm64-Portable-${{ env.VERSION }}.zip + ShatteredPrism-Windows-MSVC-arm64-Setup-${{ env.VERSION }}.exe + ShatteredPrism-Windows-MSVC-${{ env.VERSION }}.zip + ShatteredPrism-Windows-MSVC-Portable-${{ env.VERSION }}.zip + ShatteredPrism-Windows-MSVC-Setup-${{ env.VERSION }}.exe + ShatteredPrism-macOS-${{ env.VERSION }}.zip + ShatteredPrism-macOS-Legacy-${{ env.VERSION }}.zip + ShatteredPrism-${{ env.VERSION }}.tar.gz diff --git a/CMakeLists.txt b/CMakeLists.txt index 6fbcb9e6c..336d2f4a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -192,7 +192,7 @@ set(Launcher_VERSION_NAME4_COMMA "${Launcher_VERSION_MAJOR},${Launcher_VERSION_M set(Launcher_BUILD_PLATFORM "unknown" CACHE STRING "A short string identifying the platform that this build was built for. Only used to display in the about dialog.") # Github repo URL with releases for updater -set(Launcher_UPDATER_GITHUB_REPO "https://github.com/unmojang/FjordLauncher" CACHE STRING "Base github URL for the updater.") +set(Launcher_UPDATER_GITHUB_REPO "https://github.com/lunaislazier/ShatteredPrism" CACHE STRING "Base github URL for the updater.") # Name to help updater identify valid artifacts set(Launcher_BUILD_ARTIFACT "" CACHE STRING "Artifact name to help the updater identify valid artifacts.") @@ -204,7 +204,7 @@ set(Launcher_META_URL "https://meta.unmojang.org/v1/" CACHE STRING "URL to fetch set(Launcher_IMGUR_CLIENT_ID "5b97b0713fba4a3" CACHE STRING "Client ID you can get from Imgur when you register an application") # Bug tracker URL -set(Launcher_BUG_TRACKER_URL "https://github.com/unmojang/FjordLauncher/issues" CACHE STRING "URL for the bug tracker.") +set(Launcher_BUG_TRACKER_URL "https://github.com/lunaislazier/ShatteredPrism/issues" CACHE STRING "URL for the bug tracker.") # Translations Platform URL set(Launcher_TRANSLATIONS_URL "https://hosted.weblate.org/projects/prismlauncher/launcher/" CACHE STRING "URL for the translations platform.") @@ -350,7 +350,7 @@ include(ECMQtDeclareLoggingCategory) ####################################### Program Info ####################################### -set(Launcher_APP_BINARY_NAME "fjordlauncher" CACHE STRING "Name of the Launcher binary") +set(Launcher_APP_BINARY_NAME "shatteredprism" CACHE STRING "Name of the Launcher binary") add_subdirectory(program_info) ####################################### Install layout ####################################### diff --git a/README.md b/README.md index f185fb8b4..24dc366c4 100644 --- a/README.md +++ b/README.md @@ -1,104 +1,40 @@ -# Fjord Launcher logo Fjord Launcher +

+ + + + ShatteredPrism + +

-Fjord Launcher is a **fork** of [Prism Launcher](https://github.com/PrismLauncher/PrismLauncher). It was based on [PollyMC](https://github.com/fn2006/PollyMC), which is now unmaintained. It is **not** endorsed by or affiliated with Prism Launcher or PollyMC. +

+ ShatteredPrism is a custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once.
+
This is a fork of PrismLauncher and is not endorsed by it. +

-## Advantages of this fork over Prism Launcher +# Advantages over PrismLauncher -- [Support for alternative auth servers](doc/alternative-auth-servers.md) +- Completely DRM-Free. +- In-App FTB Modpack Downloading restored. +- Support 3rd Party Auth Servers(courtesy of [this project](https://github.com/fn2006/PollyMC/)). -- Ability to download FTB modpacks from within the launcher - -## Having a problem with the launcher? - -You **will not** open an issue in the Prism Launcher repo. - -You **will not** ask about Fjord Launcher in the Prism Launcher discord. - -You **will** ask in #fjord-launcher in our [Matrix space](https://matrix.to/#/#unmojang:matrix.org). - -You **will** open an issue [here](https://github.com/unmojang/FjordLauncher/issues). ## Installation -### Windows +- Downloads can be found on the [GitHub Releases](https://github.com/LunaisLazier/ShatteredPrism/releases). +- Last build status can be found in the [GitHub Actions](https://github.com/LunaisLazier/ShatteredPrism/actions) tab (this also includes the pull requests status). -#### [Scoop](https://scoop.sh) (recommended) +## Community & Support -```PowerShell -scoop bucket add unmojang https://github.com/unmojang/scoop-unmojang -scoop install unmojang/fjordlauncher -``` +Feel free to create a GitHub issue if you find a bug or want to suggest something, it is currently the **only** way to contact anyone regarding this project. -#### Windows (Manual) +Do **not** ask for support on any of the official PrismLauncher channels as they cannot be held responsible for any issues caused by the changes made. -You can get installers or portable builds from the [releases section](https://github.com/unmojang/FjordLauncher/releases/latest), MSVC builds are recommended over MinGW builds, but there's no real difference. -### macOS +## License [![https://github.com/PrismLauncher/PrismLauncher/blob/develop/LICENSE](https://img.shields.io/github/license/PrismLauncher/PrismLauncher?label=License&logo=gnu&color=C4282D)](LICENSE) -#### [Homebrew](https://brew.sh) (recommended) +All launcher code is available under the GPL-3.0-only license. -```Shell -brew tap unmojang/homebrew-unmojang -brew install --cask fjordlauncher -``` - -#### macOS (Manual) - -There are builds for macOS in the [releases section](https://github.com/unmojang/FjordLauncher/releases/latest). - -### Flatpak - -```Shell -flatpak remote-add --user --if-not-exists unmojang https://unmojang.github.io/unmojang-flatpak/index.flatpakrepo -flatpak install org.unmojang.FjordLauncher -``` - -### Arch Linux - -Fjord Launcher is [available](https://aur.archlinux.org/packages?O=0&K=fjordlauncher) from the AUR: - -```Shell -paru -S fjordlauncher -paru -S fjordlauncher-git # build latest Git commit from source -``` - -`fjordlauncher` is available in [Chaotic-AUR](https://aur.chaotic.cx/). - -The `fjordlauncher-bin` AUR package is broken; see [https://github.com/unmojang/FjordLauncher/issues/20](https://github.com/unmojang/FjordLauncher/issues/20). - -### Debian/Ubuntu - -Install from the MPR with [Mist](https://docs.makedeb.org/using-the-mpr/mist-the-mpr-cli/#installing-mist): - -```Shell -mist install fjordlauncher -mist install fjordlauncher-bin # binary package -mist install fjordlauncher-git # build latest Git commit from source -``` - -### Nix - -This repository contains a Nix flake: - -```Shell -nix run github:unmojang/FjordLauncher -``` - -See [nix/README.md](nix/README.md) for details. - -### Gentoo - -Install from the [unmojang overlay](https://github.com/unmojang/unmojang-overlay): - -```Shell -eselect repository add unmojang-overlay git https://github.com/unmojang/unmojang-overlay -emerge --sync unmojang-overlay -emerge -av games-action/fjordlauncher -``` - -### Other Linux - -AppImages are available in the [releases section](https://github.com/unmojang/FjordLauncher/releases/latest). +The logo and related assets are under the CC BY-NC-SA 4.0 license. ## Building diff --git a/flatpak/org.unmojang.FjordLauncher.yml b/flatpak/org.lunaislazier.ShatteredPrism.yml similarity index 94% rename from flatpak/org.unmojang.FjordLauncher.yml rename to flatpak/org.lunaislazier.ShatteredPrism.yml index d1c418151..564b22c85 100644 --- a/flatpak/org.unmojang.FjordLauncher.yml +++ b/flatpak/org.lunaislazier.ShatteredPrism.yml @@ -1,11 +1,11 @@ -id: org.unmojang.FjordLauncher +id: org.lunaislazier.ShatteredPrism runtime: org.kde.Platform runtime-version: 6.7 sdk: org.kde.Sdk sdk-extensions: - org.freedesktop.Sdk.Extension.openjdk17 -command: fjordlauncher +command: shatteredprism finish-args: - --share=ipc - --socket=x11 @@ -27,7 +27,7 @@ modules: # Needed for proper Wayland support - libdecor.json - - name: fjordlauncher + - name: shatteredprism buildsystem: cmake-ninja builddir: true config-opts: @@ -135,10 +135,10 @@ modules: buildsystem: simple build-commands: - install -Dm755 prime-run /app/bin/prime-run - - mv /app/bin/fjordlauncher /app/bin/fjordrun - - install -Dm755 fjordlauncher /app/bin/fjordlauncher + - mv /app/bin/shatteredprism /app/bin/shatteredrun + - install -Dm755 shatteredprism /app/bin/shatteredprism sources: - type: file path: prime-run - type: file - path: fjordlauncher + path: shatteredprism diff --git a/flatpak/fjordlauncher b/flatpak/shatteredprism similarity index 92% rename from flatpak/fjordlauncher rename to flatpak/shatteredprism index 5e2960993..3deaef236 100644 --- a/flatpak/fjordlauncher +++ b/flatpak/shatteredprism @@ -8,4 +8,4 @@ done export PATH="${PATH}${PATH:+:}/usr/lib/extensions/vulkan/gamescope/bin:/usr/lib/extensions/vulkan/MangoHud/bin" export VK_LAYER_PATH="/usr/lib/extensions/vulkan/share/vulkan/implicit_layer.d/" -exec /app/bin/fjordrun "$@" +exec /app/bin/shatteredrun "$@" diff --git a/launcher/Application.cpp b/launcher/Application.cpp index 9aa613589..3ddead52d 100644 --- a/launcher/Application.cpp +++ b/launcher/Application.cpp @@ -948,7 +948,7 @@ Application::Application(int& argc, char** argv) : QApplication(argc, argv) // check update locks { - auto update_log_path = FS::PathCombine(m_dataPath, "logs", "fjordlauncher_update.log"); + auto update_log_path = FS::PathCombine(m_dataPath, "logs", "shatteredprism_update.log"); auto update_lock = QFileInfo(FS::PathCombine(m_dataPath, ".prism_launcher_update.lock")); if (update_lock.exists()) { @@ -962,7 +962,7 @@ Application::Application(int& argc, char** argv) : QApplication(argc, argv) "\n" "This likely means that a update attempt failed. Please ensure your installation is in working order before " "proceeding.\n" - "Check the Fjord Launcher updater log at: \n" + "Check the Shattered Prism updater log at: \n" "%7\n" "for details on the last update attempt.\n" "\n" @@ -998,7 +998,7 @@ Application::Application(int& argc, char** argv) : QApplication(argc, argv) "\n" "Please ensure your installation is in working order before " "proceeding.\n" - "Check the Fjord Launcher updater log at: \n" + "Check the Shattered Prism updater log at: \n" "%1\n" "for details on the last update attempt.") .arg(update_log_path); @@ -1029,7 +1029,7 @@ Application::Application(int& argc, char** argv) : QApplication(argc, argv) auto infoMsg = tr("Update succeeded\n" "\n" "You are now running %1 .\n" - "Check the Fjord Launcher updater log at: \n" + "Check the Shattered Prism updater log at: \n" "%2\n" "for details.") .arg(BuildConfig.printableVersionString()) @@ -1249,7 +1249,7 @@ void Application::performMainStartupAction() msgBox.setWindowTitle(tr("Fetch CurseForge Core API key?")); msgBox.setText(tr("Would you like to fetch the official CurseForge app's API key now?")); msgBox.setInformativeText( - tr("Using the official CurseForge app's API key may break CurseForge's terms of service but should allow Fjord Launcher " + tr("Using the official CurseForge app's API key may break CurseForge's terms of service but should allow Shattered Prism " "to download all mods in a modpack without you needing to download any of them manually.")); msgBox.setStandardButtons(QMessageBox::No | QMessageBox::Yes); msgBox.setDefaultButton(QMessageBox::Yes); diff --git a/launcher/resources/multimc/scalable/launcher.svg b/launcher/resources/multimc/scalable/launcher.svg index 60914ff57..8bc67bd15 100644 --- a/launcher/resources/multimc/scalable/launcher.svg +++ b/launcher/resources/multimc/scalable/launcher.svg @@ -1 +1,51 @@ - \ No newline at end of file + + + + + + + + + + diff --git a/launcher/ui/dialogs/AboutDialog.cpp b/launcher/ui/dialogs/AboutDialog.cpp index d4225f06c..7db724624 100644 --- a/launcher/ui/dialogs/AboutDialog.cpp +++ b/launcher/ui/dialogs/AboutDialog.cpp @@ -72,7 +72,18 @@ QString getCreditsHtml() stream << "
\n"; //: %1 is the name of the launcher, determined at build time, e.g. "Prism Launcher Developers" - stream << "

" << QObject::tr("%1 Developers", "About Credits").arg(BuildConfig.LAUNCHER_DISPLAYNAME) << "

\n"; + stream << "

" << QObject::tr("%1 Developer", "About Credits").arg(BuildConfig.LAUNCHER_DISPLAYNAME) << "

\n"; + stream << QString("

LunaisLazier %1

\n").arg(getGitHub("lunaislazier")); + stream << "
\n"; + + //: %1 is the name of the launcher, determined at build time, e.g. "Prism Launcher Contributors" + stream << "

" << QObject::tr("%1 Contributors", "About Credits").arg(BuildConfig.LAUNCHER_DISPLAYNAME) << "

\n"; + stream << QString("

Chaiznt %1

\n").arg(getGitHub("chai-znt")); + stream << QString("

Raia/Lichen %1

\n").arg(getWebsite("https://twitter.com/LichenOnaWall")); + stream << "
\n"; + + //: %1 is the name of the launcher, determined at build time, e.g. "Prism Launcher Contributors" + stream << "

" << QObject::tr("%1 Contributors", "About Credits").arg("Fjord Launcher") << "

\n"; stream << QString("

Evan Goode %1

\n").arg(getGitHub("evan-goode")); stream << "
\n"; diff --git a/launcher/ui/pages/global/APIPage.ui b/launcher/ui/pages/global/APIPage.ui index e9eb77581..35760c645 100644 --- a/launcher/ui/pages/global/APIPage.ui +++ b/launcher/ui/pages/global/APIPage.ui @@ -294,7 +294,7 @@ - <html><head/><body><p>Note: you probably don't need to set this if CurseForge already works.</p><p><span style=" font-weight:700;">Using the official CurseForge app's API key may break CurseForge's terms of service but should allow Fjord Launcher to download all mods in a modpack without you needing to download any of them manually.</span></p></body></html> + <html><head/><body><p>Note: you probably don't need to set this if CurseForge already works.</p><p><span style=" font-weight:700;">Using the official CurseForge app's API key may break CurseForge's terms of service but should allow Shattered Prism to download all mods in a modpack without you needing to download any of them manually.</span></p></body></html> true diff --git a/launcher/ui/pages/modplatform/flame/FlamePage.ui b/launcher/ui/pages/modplatform/flame/FlamePage.ui index b028e7569..bceb5d777 100644 --- a/launcher/ui/pages/modplatform/flame/FlamePage.ui +++ b/launcher/ui/pages/modplatform/flame/FlamePage.ui @@ -11,24 +11,6 @@ - - - - - true - - - - Note: CurseForge allows creators to block access to third-party tools like Prism Launcher. As such, you may need to manually download some mods to be able to install a modpack. - - - Qt::AlignCenter - - - true - - - @@ -120,4 +102,4 @@ - + \ No newline at end of file diff --git a/launcher/ui/themes/CatPack.cpp b/launcher/ui/themes/CatPack.cpp index 85eb85a18..efa183fad 100644 --- a/launcher/ui/themes/CatPack.cpp +++ b/launcher/ui/themes/CatPack.cpp @@ -46,7 +46,7 @@ QString BasicCatPack::path() { const auto now = QDate::currentDate(); - const auto birthday = QDate(now.year(), 11, 1); + const auto birthday = QDate(now.year(), 2, 4); const auto xmas = QDate(now.year(), 12, 25); const auto halloween = QDate(now.year(), 10, 31); diff --git a/launcher/updater/PrismExternalUpdater.cpp b/launcher/updater/PrismExternalUpdater.cpp index da1861103..4d075e4e9 100644 --- a/launcher/updater/PrismExternalUpdater.cpp +++ b/launcher/updater/PrismExternalUpdater.cpp @@ -57,7 +57,7 @@ PrismExternalUpdater::PrismExternalUpdater(QWidget* parent, const QString& appDi priv = new PrismExternalUpdater::Private(); priv->appDir = QDir(appDir); priv->dataDir = QDir(dataDir); - auto settings_file = priv->dataDir.absoluteFilePath("fjordlauncher_update.cfg"); + auto settings_file = priv->dataDir.absoluteFilePath("shatteredprism_update.cfg"); priv->settings = std::make_unique(settings_file, QSettings::Format::IniFormat); priv->allowBeta = priv->settings->value("allow_beta", false).toBool(); priv->autoCheck = priv->settings->value("auto_check", false).toBool(); diff --git a/launcher/updater/prismupdater/PrismUpdater.cpp b/launcher/updater/prismupdater/PrismUpdater.cpp index 8f43c8415..ccd01bcc2 100644 --- a/launcher/updater/prismupdater/PrismUpdater.cpp +++ b/launcher/updater/prismupdater/PrismUpdater.cpp @@ -218,11 +218,11 @@ PrismUpdaterApp::PrismUpdaterApp(int& argc, char** argv) : QApplication(argc, ar // Command line parsing QCommandLineParser parser; - parser.setApplicationDescription(QObject::tr("An auto-updater for Fjord Launcher")); + parser.setApplicationDescription(QObject::tr("An auto-updater for Shattered Prism")); parser.addOptions( { { { "d", "dir" }, tr("Use a custom path as application root (use '.' for current directory)."), tr("directory") }, - { { "V", "fjordlauncher-version" }, + { { "V", "shatteredprism-version" }, tr("Use this version as the installed launcher version. (provided because stdout can not be reliably captured on windows)"), tr("installed launcher version") }, { { "I", "install-version" }, "Install a specific version.", tr("version name") }, @@ -286,7 +286,7 @@ PrismUpdaterApp::PrismUpdaterApp(int& argc, char** argv) : QApplication(argc, ar m_selectUI = parser.isSet("select-ui"); m_allowDowngrade = parser.isSet("allow-downgrade"); - auto version = parser.value("fjordlauncher-version"); + auto version = parser.value("shatteredprism-version"); if (!version.isEmpty()) { if (version.contains('-')) { auto index = version.indexOf('-'); @@ -364,7 +364,7 @@ PrismUpdaterApp::PrismUpdaterApp(int& argc, char** argv) : QApplication(argc, ar #endif } - m_updateLogPath = FS::PathCombine(m_dataPath, "logs", "fjordlauncher_update.log"); + m_updateLogPath = FS::PathCombine(m_dataPath, "logs", "shatteredprism_update.log"); { // setup logging FS::ensureFolderPathExists(FS::PathCombine(m_dataPath, "logs")); @@ -588,7 +588,7 @@ void PrismUpdaterApp::run() if (m_isFlatpak) { showFatalErrorMessage(tr("Updating flatpack not supported"), tr("Actions outside of checking if an update is available are not " - "supported when running the flatpak version of Fjord Launcher.")); + "supported when running the flatpak version of Shattered Prism.")); return; } if (m_isAppimage) { @@ -1111,13 +1111,13 @@ void PrismUpdaterApp::backupAppDir() if (file_list.isEmpty()) { // best guess if (BuildConfig.BUILD_ARTIFACT.toLower().contains("linux")) { - file_list.append({ "FjordLauncher", "bin", "share", "lib" }); + file_list.append({ "ShatteredPrism", "bin", "share", "lib" }); } else { // windows by process of elimination file_list.append({ "jars", - "fjordlauncher.exe", - "fjordlauncher_filelink.exe", - "fjordlauncher_updater.exe", + "shatteredprism.exe", + "shatteredprism_filelink.exe", + "shatteredprism_updater.exe", "qtlogging.ini", "imageformats", "iconengines", diff --git a/program_info/CMakeLists.txt b/program_info/CMakeLists.txt index f8c5bd7b5..f0f4e8feb 100644 --- a/program_info/CMakeLists.txt +++ b/program_info/CMakeLists.txt @@ -8,8 +8,8 @@ if(UNIX) endif() endif() -set(Launcher_CommonName "FjordLauncher") -set(Launcher_DisplayName "Fjord Launcher") +set(Launcher_CommonName "ShatteredPrism") +set(Launcher_DisplayName "Shattered Prism") set(Launcher_Name "${Launcher_CommonName}" PARENT_SCOPE) set(Launcher_DisplayName "${Launcher_DisplayName}" PARENT_SCOPE) @@ -19,28 +19,28 @@ set(Launcher_Copyright_Mac "© 2024-2024 Fjord Launcher Contributors, © 2022-20 set(Launcher_Copyright "${Launcher_Copyright}" PARENT_SCOPE) set(Launcher_Domain "" PARENT_SCOPE) set(Launcher_UserAgent "PrismLauncher/${Launcher_RELEASE_VERSION_NAME}" PARENT_SCOPE) -set(Launcher_ConfigFile "fjordlauncher.cfg" PARENT_SCOPE) -set(Launcher_Git "https://github.com/unmojang/FjordLauncher" PARENT_SCOPE) -set(Launcher_DesktopFileName "org.unmojang.FjordLauncher.desktop" PARENT_SCOPE) -set(Launcher_SVGFileName "org.unmojang.FjordLauncher.svg" PARENT_SCOPE) +set(Launcher_ConfigFile "shatteredprism.cfg" PARENT_SCOPE) +set(Launcher_Git "https://github.com/lunaislazier/ShatteredPrism" PARENT_SCOPE) +set(Launcher_DesktopFileName "org.lunaislazier.ShatteredPrism.desktop" PARENT_SCOPE) +set(Launcher_SVGFileName "org.lunaislazier.ShatteredPrism.svg" PARENT_SCOPE) -set(Launcher_Desktop "program_info/org.unmojang.FjordLauncher.desktop" PARENT_SCOPE) +set(Launcher_Desktop "program_info/org.lunaislazier.ShatteredPrism.desktop" PARENT_SCOPE) set(Launcher_mrpack_MIMEInfo "program_info/modrinth-mrpack-mime.xml" PARENT_SCOPE) -set(Launcher_MetaInfo "program_info/org.unmojang.FjordLauncher.metainfo.xml" PARENT_SCOPE) -set(Launcher_SVG "program_info/org.unmojang.FjordLauncher.svg" PARENT_SCOPE) -set(Launcher_Branding_ICNS "program_info/fjordlauncher.icns" PARENT_SCOPE) -set(Launcher_Branding_ICO "program_info/fjordlauncher.ico") +set(Launcher_MetaInfo "program_info/org.lunaislazier.ShatteredPrism.metainfo.xml" PARENT_SCOPE) +set(Launcher_SVG "program_info/org.lunaislazier.ShatteredPrism.svg" PARENT_SCOPE) +set(Launcher_Branding_ICNS "program_info/shatteredprism.icns" PARENT_SCOPE) +set(Launcher_Branding_ICO "program_info/shatteredprism.ico") set(Launcher_Branding_ICO "${Launcher_Branding_ICO}" PARENT_SCOPE) -set(Launcher_Branding_WindowsRC "program_info/fjordlauncher.rc" PARENT_SCOPE) -set(Launcher_Branding_LogoQRC "program_info/fjordlauncher.qrc" PARENT_SCOPE) +set(Launcher_Branding_WindowsRC "program_info/shatteredprism.rc" PARENT_SCOPE) +set(Launcher_Branding_LogoQRC "program_info/shatteredprism.qrc" PARENT_SCOPE) set(Launcher_Portable_File "program_info/portable.txt" PARENT_SCOPE) -configure_file(org.unmojang.FjordLauncher.desktop.in org.unmojang.FjordLauncher.desktop) -configure_file(org.unmojang.FjordLauncher.metainfo.xml.in org.unmojang.FjordLauncher.metainfo.xml) -configure_file(fjordlauncher.rc.in fjordlauncher.rc @ONLY) -configure_file(fjordlauncher.manifest.in fjordlauncher.manifest @ONLY) -configure_file(fjordlauncher.ico fjordlauncher.ico COPYONLY) +configure_file(org.lunaislazier.ShatteredPrism.desktop.in org.lunaislazier.ShatteredPrism.desktop) +configure_file(org.lunaislazier.ShatteredPrism.metainfo.xml.in org.lunaislazier.ShatteredPrism.metainfo.xml) +configure_file(shatteredprism.rc.in shatteredprism.rc @ONLY) +configure_file(shatteredprism.manifest.in shatteredprism.manifest @ONLY) +configure_file(shatteredprism.ico shatteredprism.ico COPYONLY) if(MSVC) set(Launcher_MSVC_Redist_NSIS_Section [=[ @@ -69,13 +69,13 @@ endif() configure_file(win_install.nsi.in win_install.nsi @ONLY) if(SCDOC_FOUND) - set(in_scd "${CMAKE_CURRENT_SOURCE_DIR}/fjordlauncher.6.scd") - set(out_man "${CMAKE_CURRENT_BINARY_DIR}/fjordlauncher.6") + set(in_scd "${CMAKE_CURRENT_SOURCE_DIR}/shatteredprism.6.scd") + set(out_man "${CMAKE_CURRENT_BINARY_DIR}/shatteredprism.6") add_custom_command( DEPENDS "${in_scd}" OUTPUT "${out_man}" COMMAND ${SCDOC_SCDOC} < "${in_scd}" > "${out_man}" ) add_custom_target(man ALL DEPENDS ${out_man}) - set(Launcher_ManPage "program_info/fjordlauncher.6" PARENT_SCOPE) + set(Launcher_ManPage "program_info/shatteredprism.6" PARENT_SCOPE) endif() diff --git a/program_info/fjordlauncher.icns b/program_info/fjordlauncher.icns deleted file mode 100644 index 5e8b707d3..000000000 Binary files a/program_info/fjordlauncher.icns and /dev/null differ diff --git a/program_info/fjordlauncher.ico b/program_info/fjordlauncher.ico deleted file mode 100644 index 8f4bab177..000000000 Binary files a/program_info/fjordlauncher.ico and /dev/null differ diff --git a/program_info/fjordlauncher.qrc b/program_info/fjordlauncher.qrc index 8702f3eca..7c59befbf 100644 --- a/program_info/fjordlauncher.qrc +++ b/program_info/fjordlauncher.qrc @@ -1,6 +1,6 @@ - org.unmojang.FjordLauncher.svg + org.lunaislazier.ShatteredPrism.svg diff --git a/program_info/genicons.fjord.sh b/program_info/genicons.shattered.sh old mode 100755 new mode 100644 similarity index 51% rename from program_info/genicons.fjord.sh rename to program_info/genicons.shattered.sh index 464ce4bbd..5e8e649e4 --- a/program_info/genicons.fjord.sh +++ b/program_info/genicons.shattered.sh @@ -10,7 +10,7 @@ svg2png() { } if command -v "svgo"; then - svgo org.unmojang.FjordLauncher.Source.svg -o org.unmojang.FjordLauncher.svg + svgo org.lunaislazier.ShatteredPrism.Source.svg -o org.lunaislazier.ShatteredPrism.svg else echo 'ERROR: svgo not in $PATH' fi @@ -19,22 +19,22 @@ if command -v "inkscape" && command -v "icotool"; then # Windows ICO d=$(mktemp -d) - svg2png org.unmojang.FjordLauncher.svg "$d/fjordlauncher_16.png" 16 16 - svg2png org.unmojang.FjordLauncher.svg "$d/fjordlauncher_24.png" 24 24 - svg2png org.unmojang.FjordLauncher.svg "$d/fjordlauncher_32.png" 32 32 - svg2png org.unmojang.FjordLauncher.svg "$d/fjordlauncher_48.png" 48 48 - svg2png org.unmojang.FjordLauncher.svg "$d/fjordlauncher_64.png" 64 64 - svg2png org.unmojang.FjordLauncher.svg "$d/fjordlauncher_128.png" 128 128 - svg2png org.unmojang.FjordLauncher.svg "$d/fjordlauncher_256.png" 256 256 + svg2png org.lunaislazier.ShatteredPrism.svg "$d/shatteredprism_16.png" 16 16 + svg2png org.lunaislazier.ShatteredPrism.svg "$d/shatteredprism_24.png" 24 24 + svg2png org.lunaislazier.ShatteredPrism.svg "$d/shatteredprism_32.png" 32 32 + svg2png org.lunaislazier.ShatteredPrism.svg "$d/shatteredprism_48.png" 48 48 + svg2png org.lunaislazier.ShatteredPrism.svg "$d/shatteredprism_64.png" 64 64 + svg2png org.lunaislazier.ShatteredPrism.svg "$d/shatteredprism_128.png" 128 128 + svg2png org.lunaislazier.ShatteredPrism.svg "$d/shatteredprism_256.png" 256 256 - rm fjordlauncher.ico && icotool -o fjordlauncher.ico -c \ - "$d/fjordlauncher_256.png" \ - "$d/fjordlauncher_128.png" \ - "$d/fjordlauncher_64.png" \ - "$d/fjordlauncher_48.png" \ - "$d/fjordlauncher_32.png" \ - "$d/fjordlauncher_24.png" \ - "$d/fjordlauncher_16.png" + rm shatteredprism.ico && icotool -o shatteredprism.ico -c \ + "$d/shatteredprism_256.png" \ + "$d/shatteredprism_128.png" \ + "$d/shatteredprism_64.png" \ + "$d/shatteredprism_48.png" \ + "$d/shatteredprism_32.png" \ + "$d/shatteredprism_24.png" \ + "$d/shatteredprism_16.png" else echo "ERROR: Windows icons were NOT generated!" >&2 echo "ERROR: requires inkscape and icotool in PATH" @@ -44,11 +44,11 @@ if command -v "inkscape" && command -v "magick"; then # macOS ICNS d=$(mktemp -d) - d="$d/fjordlauncher.iconset" + d="$d/shatteredprism.iconset" mkdir -p "$d" - svg2png org.unmojang.FjordLauncher.bigsur.svg "$d/icon_512x512@2.png" 1024 1024 + svg2png org.lunaislazier.ShatteredPrism.bigsur.svg "$d/icon_512x512@2.png" 1024 1024 magick convert "$d/icon_512x512@2.png" -resize 16x16 "$d/icon_16x16.png" magick convert "$d/icon_512x512@2.png" -resize 32x32 "$d/icon_16x16@2.png" magick convert "$d/icon_512x512@2.png" -resize 32x32 "$d/icon_32x32.png" @@ -57,11 +57,11 @@ if command -v "inkscape" && command -v "magick"; then magick convert "$d/icon_512x512@2.png" -resize 256x256 "$d/icon_128x128@2.png" magick convert "$d/icon_512x512@2.png" -resize 256x256 "$d/icon_256x256.png" magick convert "$d/icon_512x512@2.png" -resize 512x512 "$d/icon_256x256@2.png" - magick convert "$d"/* fjordlauncher.icns + magick convert "$d"/* shatteredprism.icns else echo 'ERROR: macOS icons were NOT generated!' >&2 echo 'ERROR: requires inkscape and magick in $PATH' fi # replace icon in themes -cp -v org.unmojang.FjordLauncher.svg "../launcher/resources/multimc/scalable/launcher.svg" +cp -v org.lunaislazier.Shatteredprism.svg "../launcher/resources/multimc/scalable/launcher.svg" diff --git a/program_info/org.lunaislazier.ShatteredPrism Source.svg b/program_info/org.lunaislazier.ShatteredPrism Source.svg new file mode 100644 index 000000000..bfab74fe3 --- /dev/null +++ b/program_info/org.lunaislazier.ShatteredPrism Source.svg @@ -0,0 +1,51 @@ + + + + + + + + + + diff --git a/program_info/org.lunaislazier.ShatteredPrism.bigsur.svg b/program_info/org.lunaislazier.ShatteredPrism.bigsur.svg new file mode 100644 index 000000000..5e55c1d7d --- /dev/null +++ b/program_info/org.lunaislazier.ShatteredPrism.bigsur.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/program_info/org.unmojang.FjordLauncher.desktop.in b/program_info/org.lunaislazier.ShatteredPrism.desktop.in old mode 100755 new mode 100644 similarity index 92% rename from program_info/org.unmojang.FjordLauncher.desktop.in rename to program_info/org.lunaislazier.ShatteredPrism.desktop.in index 083573ec7..0cb6abb77 --- a/program_info/org.unmojang.FjordLauncher.desktop.in +++ b/program_info/org.lunaislazier.ShatteredPrism.desktop.in @@ -6,7 +6,7 @@ Type=Application Terminal=false Exec=@Launcher_APP_BINARY_NAME@ %U StartupNotify=true -Icon=org.unmojang.FjordLauncher +Icon=org.lunaislazier.ShatteredPrism Categories=Game;ActionGame;AdventureGame;Simulation; Keywords=game;minecraft;mc; StartupWMClass=@Launcher_CommonName@ diff --git a/program_info/org.unmojang.FjordLauncher.metainfo.xml.in b/program_info/org.lunaislazier.ShatteredPrism.metainfo.xml.in similarity index 75% rename from program_info/org.unmojang.FjordLauncher.metainfo.xml.in rename to program_info/org.lunaislazier.ShatteredPrism.metainfo.xml.in index 853e0a010..aff20d1ae 100644 --- a/program_info/org.unmojang.FjordLauncher.metainfo.xml.in +++ b/program_info/org.lunaislazier.ShatteredPrism.metainfo.xml.in @@ -1,16 +1,16 @@ - org.unmojang.FjordLauncher - org.unmojang.FjordLauncher.desktop - Fjord Launcher + org.lunaislazier.ShatteredPrism + org.lunaislazier.ShatteredPrism.desktop + Shattered Prism fn2006 A custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once CC0-1.0 GPL-3.0-only - https://github.com/unmojang/FjordLauncher - https://github.com/unmojang/FjordLauncher/issues + https://github.com/lunaislazier/ShatteredPrism + https://github.com/lunaislazier/ShatteredPrism/issues -

Fjord Launcher is a custom launcher for Minecraft that focuses on predictability, long term stability and simplicity.

+

Shattered Prism is a custom launcher for Minecraft that focuses on predictability, long term stability and simplicity.

Features:

  • Easily install game modifications, such as Fabric, Forge and Quilt
  • diff --git a/program_info/org.lunaislazier.ShatteredPrism.svg b/program_info/org.lunaislazier.ShatteredPrism.svg new file mode 100644 index 000000000..3b8b2d2db --- /dev/null +++ b/program_info/org.lunaislazier.ShatteredPrism.svg @@ -0,0 +1,51 @@ + + + + + + + + + + diff --git a/program_info/org.unmojang.FjordLauncher.Source.svg b/program_info/org.unmojang.FjordLauncher.Source.svg deleted file mode 100644 index d07eaee6b..000000000 --- a/program_info/org.unmojang.FjordLauncher.Source.svg +++ /dev/null @@ -1,323 +0,0 @@ - - - - diff --git a/program_info/org.unmojang.FjordLauncher.bigsur.svg b/program_info/org.unmojang.FjordLauncher.bigsur.svg deleted file mode 100644 index ccd7cfda3..000000000 --- a/program_info/org.unmojang.FjordLauncher.bigsur.svg +++ /dev/null @@ -1,487 +0,0 @@ - - diff --git a/program_info/org.unmojang.FjordLauncher.svg b/program_info/org.unmojang.FjordLauncher.svg deleted file mode 100644 index 60914ff57..000000000 --- a/program_info/org.unmojang.FjordLauncher.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/program_info/shatteredprism-header-black.svg b/program_info/shatteredprism-header-black.svg new file mode 100644 index 000000000..ef31d2929 --- /dev/null +++ b/program_info/shatteredprism-header-black.svg @@ -0,0 +1,48 @@ + + + + + + + + + + diff --git a/program_info/shatteredprism-header.svg b/program_info/shatteredprism-header.svg new file mode 100644 index 000000000..f803d24a6 --- /dev/null +++ b/program_info/shatteredprism-header.svg @@ -0,0 +1,48 @@ + + + + + + + + + + diff --git a/program_info/fjordlauncher.6.scd b/program_info/shatteredprism.6.scd similarity index 75% rename from program_info/fjordlauncher.6.scd rename to program_info/shatteredprism.6.scd index e4b1ce96f..b8e841be6 100644 --- a/program_info/fjordlauncher.6.scd +++ b/program_info/shatteredprism.6.scd @@ -1,27 +1,27 @@ -fjordlauncher(6) +shatteredprism(6) # NAME -fjordlauncher - a launcher and instance manager for Minecraft. +shatteredprism - a launcher and instance manager for Minecraft. # SYNOPSIS -*fjordlauncher* [OPTIONS...] +*shatteredprism* [OPTIONS...] # DESCRIPTION -Fjord Launcher is a custom launcher for Minecraft that allows you to easily manage +Shattered Prism is a custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once. It also allows you to easily install and remove mods by simply dragging and dropping. -Here are the current features of Fjord Launcher. +Here are the current features of Shattered Prism. # OPTIONS *-d, --dir*=DIRECTORY - Use DIRECTORY as the Fjord Launcher root. + Use DIRECTORY as the Shattered Prism root. *-l, --launch*=INSTANCE_ID Launch the instance specified by INSTANCE_ID. @@ -30,7 +30,7 @@ Here are the current features of Fjord Launcher. Show the configuration window of the instance specified by INSTANCE_ID. *--alive* - Write a small 'live.check' file after Fjord Launcher starts. + Write a small 'live.check' file after Shattered Prism starts. *-h, --help* Display help text and exit. @@ -69,11 +69,11 @@ variables, besides other common Qt variables: # BUGS -https://github.com/unmojang/FjordLauncher/issues +https://github.com/lunaislazier/ShatteredPrism/issues # RESOURCES -GitHub: https://github.com/unmojang/FjordLauncher +GitHub: https://github.com/lunaislazier/ShatteredPrism # AUTHORS @@ -86,3 +86,5 @@ PollyMC Contributors Prism Launcher Contributors Fjord Launcher Contributors + +Shattered Prism Contributors diff --git a/program_info/shatteredprism.icns b/program_info/shatteredprism.icns new file mode 100644 index 000000000..5f49a622e Binary files /dev/null and b/program_info/shatteredprism.icns differ diff --git a/program_info/shatteredprism.ico b/program_info/shatteredprism.ico new file mode 100644 index 000000000..76c3239e7 Binary files /dev/null and b/program_info/shatteredprism.ico differ diff --git a/program_info/fjordlauncher.manifest.in b/program_info/shatteredprism.manifest.in similarity index 92% rename from program_info/fjordlauncher.manifest.in rename to program_info/shatteredprism.manifest.in index 15afc5390..02d4f2b4e 100644 --- a/program_info/fjordlauncher.manifest.in +++ b/program_info/shatteredprism.manifest.in @@ -5,7 +5,7 @@ true - + diff --git a/program_info/fjordlauncher.rc.in b/program_info/shatteredprism.rc.in similarity index 69% rename from program_info/fjordlauncher.rc.in rename to program_info/shatteredprism.rc.in index 549f7faf8..35cdcb349 100644 --- a/program_info/fjordlauncher.rc.in +++ b/program_info/shatteredprism.rc.in @@ -3,8 +3,8 @@ #endif #include -IDI_ICON1 ICON DISCARDABLE "fjordlauncher.ico" -1 RT_MANIFEST "fjordlauncher.manifest" +IDI_ICON1 ICON DISCARDABLE "shatteredprism.ico" +1 RT_MANIFEST "shatteredprism.manifest" VS_VERSION_INFO VERSIONINFO FILEVERSION @Launcher_VERSION_NAME4_COMMA@ @@ -15,10 +15,10 @@ BEGIN BEGIN BLOCK "000004b0" BEGIN - VALUE "CompanyName", "MultiMC & Prism Launcher & Fjord Launcher Contributors" - VALUE "FileDescription", "Fjord Launcher" + VALUE "CompanyName", "MultiMC & Prism Launcher & Fjord Launcher & Shattered Prism Contributors" + VALUE "FileDescription", "Shattered Prism" VALUE "FileVersion", "@Launcher_VERSION_NAME4@" - VALUE "ProductName", "Fjord Launcher" + VALUE "ProductName", "Shattered Prism" VALUE "ProductVersion", "@Launcher_VERSION_NAME4@" END END