From 1b95061bcf111020ac5245db3598cc57f6aa1d6c Mon Sep 17 00:00:00 2001
From: Luna <93695520+LunaisLazier@users.noreply.github.com>
Date: Wed, 2 Oct 2024 23:20:49 -0500
Subject: [PATCH] Adjust branding to that of ShatteredPrism
---
.github/ISSUE_TEMPLATE/bug_report.yml | 14 +-
.github/ISSUE_TEMPLATE/rfc.yml | 16 +-
.github/ISSUE_TEMPLATE/suggestion.yml | 12 +-
.github/workflows/build.yml | 66 +--
.github/workflows/trigger_release.yml | 65 +--
CMakeLists.txt | 6 +-
README.md | 110 +---
...ml => org.lunaislazier.ShatteredPrism.yml} | 12 +-
flatpak/{fjordlauncher => shatteredprism} | 2 +-
launcher/Application.cpp | 10 +-
.../resources/multimc/scalable/launcher.svg | 52 +-
launcher/ui/dialogs/AboutDialog.cpp | 13 +-
launcher/ui/pages/global/APIPage.ui | 2 +-
.../ui/pages/modplatform/flame/FlamePage.ui | 20 +-
launcher/ui/themes/CatPack.cpp | 2 +-
launcher/updater/PrismExternalUpdater.cpp | 2 +-
.../updater/prismupdater/PrismUpdater.cpp | 18 +-
program_info/CMakeLists.txt | 42 +-
program_info/fjordlauncher.icns | Bin 35338 -> 0 bytes
program_info/fjordlauncher.ico | Bin 372526 -> 0 bytes
program_info/fjordlauncher.qrc | 2 +-
...enicons.fjord.sh => genicons.shattered.sh} | 40 +-
...org.lunaislazier.ShatteredPrism Source.svg | 51 ++
...org.lunaislazier.ShatteredPrism.bigsur.svg | 4 +
...rg.lunaislazier.ShatteredPrism.desktop.in} | 2 +-
...naislazier.ShatteredPrism.metainfo.xml.in} | 12 +-
.../org.lunaislazier.ShatteredPrism.svg | 51 ++
.../org.unmojang.FjordLauncher.Source.svg | 323 ------------
.../org.unmojang.FjordLauncher.bigsur.svg | 487 ------------------
program_info/org.unmojang.FjordLauncher.svg | 1 -
program_info/shatteredprism-header-black.svg | 48 ++
program_info/shatteredprism-header.svg | 48 ++
...ordlauncher.6.scd => shatteredprism.6.scd} | 20 +-
program_info/shatteredprism.icns | Bin 0 -> 819348 bytes
program_info/shatteredprism.ico | Bin 0 -> 150129 bytes
...manifest.in => shatteredprism.manifest.in} | 2 +-
...ordlauncher.rc.in => shatteredprism.rc.in} | 10 +-
37 files changed, 469 insertions(+), 1096 deletions(-)
rename flatpak/{org.unmojang.FjordLauncher.yml => org.lunaislazier.ShatteredPrism.yml} (94%)
rename flatpak/{fjordlauncher => shatteredprism} (92%)
delete mode 100644 program_info/fjordlauncher.icns
delete mode 100644 program_info/fjordlauncher.ico
rename program_info/{genicons.fjord.sh => genicons.shattered.sh} (51%)
mode change 100755 => 100644
create mode 100644 program_info/org.lunaislazier.ShatteredPrism Source.svg
create mode 100644 program_info/org.lunaislazier.ShatteredPrism.bigsur.svg
rename program_info/{org.unmojang.FjordLauncher.desktop.in => org.lunaislazier.ShatteredPrism.desktop.in} (92%)
mode change 100755 => 100644
rename program_info/{org.unmojang.FjordLauncher.metainfo.xml.in => org.lunaislazier.ShatteredPrism.metainfo.xml.in} (75%)
create mode 100644 program_info/org.lunaislazier.ShatteredPrism.svg
delete mode 100644 program_info/org.unmojang.FjordLauncher.Source.svg
delete mode 100644 program_info/org.unmojang.FjordLauncher.bigsur.svg
delete mode 100644 program_info/org.unmojang.FjordLauncher.svg
create mode 100644 program_info/shatteredprism-header-black.svg
create mode 100644 program_info/shatteredprism-header.svg
rename program_info/{fjordlauncher.6.scd => shatteredprism.6.scd} (75%)
create mode 100644 program_info/shatteredprism.icns
create mode 100644 program_info/shatteredprism.ico
rename program_info/{fjordlauncher.manifest.in => shatteredprism.manifest.in} (92%)
rename program_info/{fjordlauncher.rc.in => shatteredprism.rc.in} (69%)
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
+
+
+
+ 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.
+
LunaisLazier %1
\n").arg(getGitHub("lunaislazier")); + stream << "Chaiznt %1
\n").arg(getGitHub("chai-znt")); + stream << QString("Raia/Lichen %1
\n").arg(getWebsite("https://twitter.com/LichenOnaWall")); + stream << "Evan Goode %1
\n").arg(getGitHub("evan-goode")); stream << "Fl>|*^=WLS!mt75jx*?PSM*n y0LafwjL+iDm;N;>oUEEZ50k!rsYfK8@Re7KeM*AgtXE51MgRy%^;-HRsDHt4
zI|hLk@(zA*kh&=NK?a;4gEI{9`u*MVoSB+~(FYYs_=*`qpbnI*H&EwNG>?#a1+#(d
zB&_rQ3KZvE|42D$Pk~PvLs)t5aiPE`*GvF=+Chjm;6D!cF_?@ZV%a=4oBy}bbN%B0
z^0*EefQ$$%0LV}L{U5y?%S;{i2iJs3auA8@V*~-9ftdkCJ_#%sWg_nFTH^=c8+XBafRUb_@M;9
z5U#oL>+gLFe&(S&aQ}{t*xb_&A%NLz4%tEx4DQOrOA|Br=BYkBceW4Nf`c{f&1gx~
zml1Tec3^$?8a(ydLCoi}&`v%O@M}MZ)BwwZ)5jP90@_lHBT%1D-S;yFx0Pu=Hut$g
z|25A5+I#KprjLS^@c~?suVd+Ri(C}Y+_n=|B<@WWk?>$on%=o_6@LD0`;m%P$4U|c
zc;ZwavPB2EBFFyqJ=oFHQI)y@AQg*ZEIp5xE)IJG${Xxz;7OmRPwJrz_+f(I5dwSG
zcH^hsejD17ajb4@#%-I{;GH*Z!@b+rqdk?t%t98^^Es7OcVu=B&!6eTb7%U&g}|oH
zw$PC2TG6((8<8vI@xq&jjoAS8-l`8gDr46NfNR+Gi)aBT0rpb903glBuLlOOo|pi2
z20FRZ_`=-DBhkDTv1GT_6g=0dzMd@n0T1fUOk-`cz7ZXavunAHq<24h|Ps)sn(n
zwympL{Q%IMh~pclE@3`jFg*Y6z6E+VfUI+>82mCe>f?9cgtzY8WIQ)&+gRJ)g17A0
zh==xU!KSV@q;q+Ur{~>Odkh$zox^jd`*7&e5ZaP)Z0u@V^5&t-A;uW?Zr*_-=T6}4
zz$I-8Q1H{p!7vGp5D8tWLr|FyD8U>;p5dw~*AW9KX##}N6$0Hj2rnT-5q301%mA4%
z#Qi8AKd=+;+q1cpnV3)55V9EV0BwFK6Kljsw@iHv8ofFeE-|
Rw&hA#!{+zJ1vo%M}`v4Mgl^Z{)w`{4UuTeV+bMVNWF%C
zq!NZus$OP+WhW6k{%Kh0J`emM?^G7>+NNhEpHu3bzOSTnZ!zG9n&I?OqW}O2O-V#S
zRA&0VgcX@gTuT4%OJ6$p3^e%Xu!5?;q^p4e0D7$e09aFpzBSR^(cWio-Mu#-b(sJF
zGp*KA)c#7r@2ey*(?F#%G~oR+4Sp#oe8AB5zo|8t%cIKxtU{2MRdJVE@0Buy65xlE
zMeNk)VUN8I9p_(O>X$YT!pfIES6bSKFbeNo7hP2d^IC#MCX#)bKkobI7oOrS_^098
z{VU@2_tVwF007Md1OPVm^0Q-Isl)|)>+T)JShCAV?=93}dGM2irGVeBj|DUe1N_06
z1`!4XK!e{KKt`Yv{NQ)*2?XW@z>7sdT6!=CG=xh12&E(}skfq71i=x#@NbCrKjW4Q
ztnv$jorUzrazI~J+K2cQDqc=3+ifwVSac|QZu(PwUwGkZANXa;uN71MC0&gSK>k_N
zhhLazUYI?Z*tKt6A=$i6ZfgZxDfrnHfZsgt-cP|#z#amA#-KEU02495ADlK+PxJwj
zRSMivW&?b`StX7|U!9fu5!ACRLD~Hvt~_^8QQshyuj{-#
z0-WQYT6t^N6SD)qDl5Kyd7iW>HPk&W9)Nn_yT?Cj)$``wH&>oqJ}=*Gm48%4Is#|b
z-q!BK+^F5Y@am86$%?D4?(N}R2XIaR9r^pmZSJi|$ExzRR33rz
cs4-sw_RA
z*mL(X&G&+}I>+3db9ig+UK-waXI`XsPjlANglg*UmqXQ!&%p!ia`J=%e<;!$bj`5y
z<`*OGuBh*y%GY&n9)V+Px&@wIcGcJuv#V?7XM_DR@PK1DFK{fED%d~o?|gT+HeX`i
z-DErS-j#KZcTpJy+KGPdq-yH67edty&xREUUT}jYCtsjPxbX(@g~Ij1>|0)pyyV<`
zw^hFCigE;$QWu<9`KPB&%nAPS1eq89J$L|W0q3~@=LBXxpyvn2^1*uEg_g+t1?s4g
zwRhg9y>(ctb63xoW^LXn-%+>kb63y%$h)xahIcYA!WzI%Xa^KGvWB{`8<;n;dx2};
zM_;f!;b*Kd485&eMCJX-D+*BO(CheY<=xkuoL~2tX1)g4r;6tR$MP-$>s2k@*}q5~
zMdlyPz0eY`m$?x8<}H=uTAi=FyQ}4k!#kOGDD5J(9U9a>KwbY#n7SSw;7Q^Su6|&~
ztPNaMP%C_P;|t;ct-J@>IRsxhzSJYQF8Ac3mMet!IW@sN#mx8O0q_N`2k5*f@08&k
z%;#3Mc(1CCpnnAXAIZH4+*8~)f1yq8v)$dky5gLB_a)!mt=0L1cQUV46>U|u4eNn#
z_6}0l!2^uM59kR-ZoI*xC%CH