Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge PrismLauncher:8.0 to unmojang #116

Merged
merged 397 commits into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
397 commits
Select commit Hold shift + click to select a range
f6d8c96
Rework
TheKodeToad Aug 10, 2023
b3b2e9d
Merge branch 'develop' into feat/acknowledge_release_type
Trial97 Aug 12, 2023
7189070
format and apply the sugestion
Trial97 Aug 12, 2023
6d070e8
"Format"
TheKodeToad Aug 12, 2023
6c362af
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Aug 15, 2023
cf27d2f
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Aug 15, 2023
8cff7c4
Merge branch 'develop' into rename-groups
TheKodeToad Aug 15, 2023
1faf741
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Aug 15, 2023
589d8b6
feat:Added remove metadata button
Trial97 Aug 16, 2023
f919d36
made safe for vegetarians
Trial97 Aug 16, 2023
6c2c724
Update launcher/ui/pages/instance/ExternalResourcesPage.ui
Trial97 Aug 16, 2023
b0e197d
removed warning for one mod selected
Trial97 Aug 16, 2023
4a1d85f
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Aug 17, 2023
758999f
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Aug 17, 2023
044ce4d
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Aug 17, 2023
c5bac47
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Aug 17, 2023
d3acac1
added -Wno-gnu-zero-variadic-macro-arguments and fixed more warnings
Trial97 Aug 18, 2023
fecc1e0
Add Trial97 to contribuitors list
Trial97 Aug 18, 2023
ab6301d
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Aug 18, 2023
d25e89a
refactor packwiz file write
Trial97 Aug 19, 2023
2544444
renamed enum type
Trial97 Aug 20, 2023
8e5be6f
added suport for atlauncher browser download
Trial97 Aug 20, 2023
02264f6
Fixed codeql
Trial97 Aug 21, 2023
ea384d5
use qt separtor for file path
Trial97 Aug 24, 2023
2990c5d
Added optional mods dialog
Trial97 Aug 24, 2023
bb4b894
fixed icon importing
Trial97 Aug 24, 2023
f897b14
changed technic icon name retrival
Trial97 Aug 24, 2023
a2d4474
do not update the metadata if mod is invalid
Trial97 Aug 26, 2023
d1566f2
Merge branch 'develop' into env-vars
TheKodeToad Aug 26, 2023
479335d
Rewrite optional mod dialog
TheKodeToad Aug 26, 2023
0680d2d
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Aug 27, 2023
630145a
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Aug 27, 2023
7965279
Made text smaller
Trial97 Aug 27, 2023
07d8598
added catpacks tests
Trial97 Aug 27, 2023
5d70f4d
removed if
Trial97 Aug 28, 2023
311e36b
added new line
Trial97 Aug 28, 2023
211865a
handle gracefully the upload abort
Trial97 Aug 28, 2023
bdc2fca
refactor(nix): don't instantiate nixpkgs
Scrumplex Aug 28, 2023
c1855c6
Merge branch 'develop' into rename-groups
TheKodeToad Aug 29, 2023
8c30cb3
Fix CI
TheKodeToad Aug 29, 2023
f23a8e4
Enable antialiasing for mod and pack icons
TheKodeToad Aug 29, 2023
befa3ba
Merge branch 'develop' into feat/launcher-updater
TheKodeToad Aug 30, 2023
584e800
fix: remove -Wextra-semi
getchoo Aug 30, 2023
707da5a
fix(nix): include udev dependency
Scrumplex Aug 30, 2023
6cfe2db
moved catpack data to testdata
Trial97 Aug 31, 2023
7e65aea
format json
Trial97 Aug 31, 2023
30ff417
fix: make cached instead of file for ftb pack import
Trial97 Sep 1, 2023
e095780
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Sep 1, 2023
17f696b
small tweaks to atl icons
Trial97 Sep 1, 2023
1213a5a
Merge remote-tracking branch 'upstream/develop' into skinfix
TheKodeToad Sep 2, 2023
347228a
Legacy settings override default -> false
TheKodeToad Sep 2, 2023
19b5a5e
Remove final conflict - kept by mistake
TheKodeToad Sep 2, 2023
bbf4e3b
refactor(nix): use fixed points over rec
getchoo Sep 3, 2023
2918d61
refactor(nix): use pre-commit flake module
Scrumplex Sep 4, 2023
e155844
chore(deps): update cachix/install-nix-action action to v23
renovate[bot] Sep 4, 2023
94c1cd6
CurseForge shader downloading
TheKodeToad Sep 4, 2023
ad6f15f
Merge pull request #1604 from PrismLauncher/renovate/cachix-install-n…
Scrumplex Sep 4, 2023
e9ecdd0
Merge pull request #1574 from Scrumplex/refactor-flake
Scrumplex Sep 4, 2023
7dd2530
chore(deps): update actions/checkout action to v4
renovate[bot] Sep 4, 2023
546d49e
Merge pull request #1530 from Trial97/metadata_delete
Scrumplex Sep 4, 2023
cf59986
Merge pull request #1581 from getchoo/old-gcc
Scrumplex Sep 4, 2023
d483b61
Merge pull request #1578 from TheKodeToad/antialiasing
Scrumplex Sep 4, 2023
ba3a1b6
Merge pull request #1606 from PrismLauncher/renovate/actions-checkout…
Scrumplex Sep 4, 2023
e7d6be5
chore(deps): update actions/cache action to v3.3.2
renovate[bot] Sep 8, 2023
78f8a31
Merge pull request #1613 from PrismLauncher/renovate/actions-cache-3.x
Scrumplex Sep 8, 2023
89e434b
refactor(nix): don't concat final attr in fixed point
getchoo Sep 9, 2023
6aa821d
refactor(nix): match inputs value in flake
getchoo Sep 9, 2023
10192c5
feat(nix): add source filtering
getchoo Sep 9, 2023
82a0a5b
chore(nix): update lockfile
github-actions[bot] Sep 10, 2023
47d1f23
added side for modrinth mods
Trial97 Sep 10, 2023
9445a55
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Sep 10, 2023
4cb4244
Merge pull request #1619 from PrismLauncher/update_flake_lock_action
getchoo Sep 10, 2023
bf6dc10
Merge pull request #1605 from TheKodeToad/flame-shaders
Scrumplex Sep 16, 2023
00af385
Merge pull request #1572 from Trial97/catpacks2
Scrumplex Sep 16, 2023
9afe80b
chore(nix): update lockfile
github-actions[bot] Sep 17, 2023
d72c3ab
Merge pull request #1632 from PrismLauncher/update_flake_lock_action
Scrumplex Sep 17, 2023
a49851c
updated blocked mods with empty hash
Trial97 Sep 19, 2023
97ced1f
fix(nix): include libusb1 as a runtime dependency
getchoo Sep 19, 2023
97da889
chore(nix): add meta.mainProgram attribute
getchoo Sep 19, 2023
98bc102
Merge pull request #1618 from getchoo/cool-nix-stuff
Scrumplex Sep 20, 2023
81a3ba1
Update launcher/minecraft/mod/tasks/GetModDependenciesTask.cpp
Trial97 Sep 20, 2023
f3c0897
Skip folders when updating mods.
Sep 22, 2023
fa65ac3
chore(nix): update lockfile
github-actions[bot] Sep 24, 2023
14af704
Update launcher/ui/dialogs/ModUpdateDialog.cpp
bolli24 Sep 24, 2023
ad9fb73
Merge pull request #1647 from PrismLauncher/update_flake_lock_action
Scrumplex Sep 24, 2023
1684cff
Update links to Minecraft Wiki
lunaynx Sep 25, 2023
0406e16
Merge pull request #1655 from 0xallie/minecraft-wiki-migration
TheKodeToad Sep 25, 2023
7c636d4
Removed mojang
Trial97 Sep 25, 2023
86b47b3
Do not display invalid shaders
Trial97 Sep 25, 2023
4ee6a67
Added version check for neoforge filter
Trial97 Sep 25, 2023
ebde563
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Sep 26, 2023
b8d9c3d
format
Trial97 Sep 26, 2023
f370f0d
chore: cleanup a few more mentions of mojang accounts
getchoo Sep 27, 2023
59e565e
Merge pull request #1643 from bolli24/develop
Scrumplex Sep 27, 2023
498c9db
fixed appImageUpdate
Trial97 Sep 28, 2023
606c12f
more fixing
Trial97 Sep 28, 2023
7423849
updated portable update
Trial97 Sep 28, 2023
bef701e
chaged folder again
Trial97 Sep 28, 2023
9acbf98
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Sep 28, 2023
5b7c560
removed flame consturctor
Trial97 Sep 28, 2023
2ff9ef0
Merge pull request #1363 from Trial97/download_threads
Scrumplex Sep 28, 2023
531b580
Merge pull request #1263 from Trial97/develop
Scrumplex Sep 28, 2023
4802f69
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Sep 28, 2023
3429438
added version type to dep update
Trial97 Sep 28, 2023
84269f9
refactor(nix): use addOpenGLRunpath.driverLink in wrapper
getchoo Sep 30, 2023
00bbbdc
Update launcher/LaunchController.cpp
Trial97 Sep 30, 2023
317c7b5
Update launcher/minecraft/auth/AccountList.cpp
Trial97 Sep 30, 2023
589ab24
Merge pull request #1666 from getchoo/driverlink
Scrumplex Sep 30, 2023
be8a9f6
chore(nix): update lockfile
github-actions[bot] Oct 1, 2023
898a719
Merge pull request #1668 from PrismLauncher/update_flake_lock_action
Scrumplex Oct 1, 2023
e3a147f
Merge pull request #1656 from Trial97/remove_mojang2
Scrumplex Oct 1, 2023
eab1180
Merge pull request #1090 from Ryex/feat/acknowledge_release_type
Scrumplex Oct 1, 2023
2cea745
fix: do not update mods if no mod loader is selected
Trial97 Oct 1, 2023
93be8b0
refresh default account when list changes
Trial97 Oct 2, 2023
bfa9613
Merge pull request #1657 from Trial97/shader_txt
Scrumplex Oct 2, 2023
d612ab9
Merge pull request #1672 from Trial97/skin_refresh
Scrumplex Oct 2, 2023
540fc7d
Merge pull request #1670 from Trial97/seg_fault
TayouVR Oct 2, 2023
8069de2
fix folder attributes on windows copy
Trial97 Oct 2, 2023
77979b4
revert back the release order
Trial97 Oct 3, 2023
d186c34
Merge pull request #1676 from Trial97/release_order
Scrumplex Oct 4, 2023
3cba5ad
updated dependency cycle
Trial97 Oct 4, 2023
ac38585
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Oct 4, 2023
03ad430
Merge pull request #1537 from Trial97/warnings
Scrumplex Oct 4, 2023
024c474
Merge pull request #1678 from Trial97/release_order
TayouVR Oct 4, 2023
c78d4e7
added version test for snapshot
Trial97 Oct 4, 2023
e913f61
added a more strict condition for neoforge forge support
Trial97 Oct 4, 2023
c6c1703
Add more Java installation dirs
nea89o Oct 4, 2023
a7bdfb5
Merge pull request #1682 from romangraef/addmorejavas
Scrumplex Oct 4, 2023
b67c2c7
removed windows legacy builds
Trial97 Oct 5, 2023
4f1ee85
check for minecraft java runtime
Trial97 Oct 5, 2023
82461b1
rename for windows
Trial97 Oct 6, 2023
d49f81d
Drop leftover mod loader settings
TheKodeToad Oct 6, 2023
bca5e8f
Update launcher/minecraft/PackProfile.cpp
Trial97 Oct 6, 2023
8d0a532
Add no_color env variable
Trial97 Oct 6, 2023
dc74ea7
fixed wrong account selection
Trial97 Oct 6, 2023
05caa87
chore(nix): update lockfile
github-actions[bot] Oct 8, 2023
04a7275
Merge pull request #1695 from PrismLauncher/update_flake_lock_action
Scrumplex Oct 8, 2023
5f5214e
add fullstop
mustafakhalaf-git Oct 9, 2023
8eb8f16
oops
mustafakhalaf-git Oct 9, 2023
11a0241
Merge pull request #1699 from GitMuslim/develop
Scrumplex Oct 9, 2023
7e6a085
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Oct 9, 2023
5cb6d93
fixed updater build
Trial97 Oct 9, 2023
6150908
Merge pull request #1658 from Trial97/neoforge_version
Trial97 Oct 10, 2023
a7842ec
Merge pull request #1591 from Trial97/ftb_import_fix
Trial97 Oct 10, 2023
4eb8db1
Merge pull request #1543 from Trial97/packwiz
Trial97 Oct 10, 2023
ca4b58d
Merge pull request #1405 from Trial97/update_file
Trial97 Oct 10, 2023
32eaaa2
removed the better release for modrinth modpacks
Trial97 Oct 12, 2023
7015b8f
Merge pull request #1563 from Trial97/modrinth_pack
TayouVR Oct 13, 2023
023b3e3
Fixed arch build
Trial97 Oct 14, 2023
4939a33
chore(nix): update lockfile
github-actions[bot] Oct 15, 2023
c498ad1
Merge pull request #1711 from PrismLauncher/update_flake_lock_action
Scrumplex Oct 15, 2023
05d7cc3
Merge pull request #1709 from Trial97/arch_build
Trial97 Oct 15, 2023
6821344
Merge pull request #1684 from Trial97/remove_legacy
Trial97 Oct 15, 2023
2ab48a4
Merge pull request #1706 from Trial97/develop
Trial97 Oct 15, 2023
7112d04
Mark setting as optional
TheKodeToad Oct 15, 2023
9705e63
Merge pull request #1673 from Trial97/win_attr
TayouVR Oct 15, 2023
6fb7a98
Fix small mistake 😭
TheKodeToad Oct 15, 2023
6bbff31
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Oct 15, 2023
ef08137
added explicit qt version for linux portable
Trial97 Oct 15, 2023
ca9b593
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Oct 15, 2023
9d15255
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Oct 15, 2023
c4882e7
Merge pull request #443 from TheKodeToad/skinfix
TheKodeToad Oct 15, 2023
cc990c4
Merge branch 'develop' into env-vars
TheKodeToad Oct 15, 2023
5985d8b
Merge pull request #1383 from TheKodeToad/rename-groups
TayouVR Oct 15, 2023
0927035
Merge pull request #1549 from Trial97/atlauncher_browser
Trial97 Oct 16, 2023
6c9856b
chore: bump Qt to Qt 6.6.0
DioEgizio Oct 16, 2023
436db23
Merge pull request #1268 from Ryex/feat/launcher-updater
TayouVR Oct 16, 2023
aae65e3
Merge branch 'develop' into update-qt660
TayouVR Oct 16, 2023
8f2f998
Merge pull request #1717 from DioEgizio/update-qt660
Trial97 Oct 16, 2023
b1bd0ce
fixed code signing for appImage
Trial97 Oct 17, 2023
d348f20
fix: allow loading themes with missing resources folder
Scrumplex Oct 17, 2023
5aa2b88
Merge pull request #1721 from Trial97/develop
Trial97 Oct 17, 2023
069bc88
fix: don't always build updater on platforms besides mac
getchoo Oct 17, 2023
165d218
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLaunc…
Trial97 Oct 18, 2023
90ebbd8
Merge pull request #1724 from getchoo/no-default-updater
Scrumplex Oct 18, 2023
2081fcd
Merge pull request #1722 from Scrumplex/fix/readonly-themes
Scrumplex Oct 18, 2023
c638a63
Merge pull request #1726 from Trial97/contrib
TheKodeToad Oct 18, 2023
cf33927
Merge remote-tracking branch 'upstream/develop' into sysprops
TheKodeToad Oct 19, 2023
b9c1dc7
Merge pull request #1374 from Trial97/welcome_background
TayouVR Oct 19, 2023
1f2483c
Remove typo
Dnyanu76 Oct 19, 2023
9a0cfbc
Merge pull request #1733 from Dnyanu76/patch-1
TayouVR Oct 19, 2023
7ad48d8
Merge pull request #1692 from Trial97/msa_account
Trial97 Oct 19, 2023
e9fd02b
Fix code style
TheKodeToad Oct 20, 2023
80723ee
Fixed FTBApp import icon
Trial97 Oct 20, 2023
7b62d14
fixed squished mod icons
Trial97 Oct 20, 2023
5d92658
added Image column size hint
Trial97 Oct 20, 2023
f0fd1bd
Merge pull request #1737 from Trial97/fix_ftb_app_import_icon
Trial97 Oct 21, 2023
2c4af7e
Merge pull request #1290 from Trial97/refactor/NetActions
Trial97 Oct 21, 2023
e7e80e7
chore(nix): update lockfile
github-actions[bot] Oct 22, 2023
cefb96e
Merge pull request #1743 from PrismLauncher/update_flake_lock_action
Scrumplex Oct 22, 2023
db19362
feat: add launcher brand and version props
Scrumplex Oct 22, 2023
7d52068
fix switch/case fallthrough
TayouVR Oct 22, 2023
0fe3241
remove now unneeded Q_ASSERTs
TayouVR Oct 21, 2023
b376888
Merge pull request #1515 from TheKodeToad/sysprops
Scrumplex Oct 22, 2023
87f2f88
fix: java memory not set on initial setup
Trial97 Oct 23, 2023
5be80df
Replace `typedef` with `using`
LocalSpook Oct 23, 2023
a161f5c
Merge pull request #1747 from Trial97/fix_initial_java
TayouVR Oct 24, 2023
38d77b5
Merge pull request #1748 from LocalSpook/using
txtsd Oct 25, 2023
12d567a
made env vars behave like the rest of the settings
Trial97 Oct 26, 2023
bd11b93
Use hidden tab bar like other pages
TheKodeToad Oct 26, 2023
3719ea2
Merge pull request #1355 from TheKodeToad/env-vars
Scrumplex Oct 26, 2023
df2a92d
Merge pull request #1742 from TayouVR/fix-resourcepack-crash
TayouVR Oct 28, 2023
364cb4f
chore: remove windows 7/8 support
IThundxr Oct 28, 2023
69c2720
Merge pull request #1691 from Trial97/no_color
TayouVR Oct 28, 2023
9dcb7e9
chore(deps): update korthout/backport-action action to v2
renovate[bot] Oct 28, 2023
736246e
Merge pull request #1759 from PrismLauncher/renovate/korthout-backpor…
Scrumplex Oct 28, 2023
5430539
Localize sorting options for resource and shader packs
LocalSpook Oct 28, 2023
55ac17c
chore(nix): update lockfile
github-actions[bot] Oct 29, 2023
eb3f1ee
Merge pull request #1758 from IThundxr/patch-1
Trial97 Oct 29, 2023
ea7dd9c
Merge pull request #1761 from PrismLauncher/update_flake_lock_action
Scrumplex Oct 29, 2023
5a54d80
Fix group issues
TheKodeToad Oct 30, 2023
2526275
Better check
TheKodeToad Oct 30, 2023
86e2f6c
Merge pull request #1685 from Trial97/java
TayouVR Oct 31, 2023
f8bb1a8
Merge pull request #1766 from TheKodeToad/groups-fix
Trial97 Nov 1, 2023
2349f29
jsut a overflow protection
Trial97 Nov 1, 2023
220a1de
made sure that we do not relay for undefined behavior
Trial97 Nov 2, 2023
127a31b
Added warning for remove account
Trial97 Nov 3, 2023
b180823
Fixed visual bug with Modlist export
Trial97 Nov 3, 2023
1bd69ec
Update launcher/ui/pages/global/AccountListPage.cpp
Trial97 Nov 3, 2023
ef40ba8
Merge pull request #1782 from Trial97/warn_remove_account
Scrumplex Nov 3, 2023
b446bdf
Merge pull request #1783 from Trial97/visual_bug
TheKodeToad Nov 3, 2023
0f95bf1
Updated readme
Trial97 Nov 4, 2023
40ebae3
chore(nix): update lockfile
github-actions[bot] Nov 5, 2023
cf4144c
Fixed link to Fulmine's website
acdpsn Nov 4, 2023
070d83d
Merge pull request #1791 from PrismLauncher/update_flake_lock_action
Trial97 Nov 5, 2023
64bbcb2
chore(deps): update korthout/backport-action action to v2.1.0
renovate[bot] Nov 5, 2023
d13db11
Merge pull request #1789 from acdpsn/develop
Trial97 Nov 5, 2023
d2a85cb
visual: Fix spacing.
Vaxry Nov 5, 2023
52807ab
Merge pull request #1793 from Edgars-Cirulis/develop
TheKodeToad Nov 5, 2023
710a48f
changed type form double long to long long
Trial97 Nov 5, 2023
9a8667e
Added Global Dependenicies toggle
Trial97 Nov 5, 2023
bd9d5e0
Reword
TheKodeToad Nov 5, 2023
36d2109
Merge pull request #1792 from PrismLauncher/renovate/korthout-backpor…
getchoo Nov 5, 2023
902e861
Apply suggestions from code review
Trial97 Nov 5, 2023
3e7f908
Update launcher/ui/pages/instance/ModFolderPage.cpp
Trial97 Nov 5, 2023
867e622
Fixed mangoHub loading
Trial97 Nov 5, 2023
0eda244
Merge pull request #1797 from Trial97/fix_mangohub
Scrumplex Nov 6, 2023
cc29121
apply suggested changes
Trial97 Nov 6, 2023
670e91c
Increased the step to around 10MB
Trial97 Nov 6, 2023
ca226d2
Fixed comparation warning
Trial97 Nov 6, 2023
a2ab480
Merge pull request #1788 from Trial97/readme
getchoo Nov 6, 2023
3d529b0
Merge pull request #1772 from Trial97/pixmap_crash
Trial97 Nov 6, 2023
0b1dcb3
Merge pull request #1760 from LocalSpook/sorting
Trial97 Nov 6, 2023
8eac0d3
Merge pull request #1796 from Trial97/dep_global_toggle
Trial97 Nov 6, 2023
baa988e
Merge pull request #1739 from Trial97/mod_icons
TheKodeToad Nov 6, 2023
9430026
Merge tag '8.0' into unmojang-8.0
evan-goode Nov 15, 2023
cdb2f09
Merge branch 'unmojang' into unmojang-8.0
evan-goode Nov 16, 2023
518962c
Replace 'Prism Launcher' with 'PollyMC' in updater
evan-goode Nov 16, 2023
dcc2d77
Fix offline accounts
evan-goode Nov 16, 2023
8f540a5
Correctly save Mojang account type
evan-goode Nov 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Checks:
- modernize-use-using

SystemHeaders: false
4 changes: 2 additions & 2 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
if: github.repository_owner == 'PrismLauncher' && github.event.pull_request.merged == true && (github.event_name != 'labeled' || startsWith('backport', github.event.label.name))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Create backport PRs
uses: korthout/backport-action@v1.4.0
uses: korthout/backport-action@v2.1.0
with:
# Config README: https://github.com/korthout/backport-action#backport-action
pull_description: |-
Expand Down
136 changes: 57 additions & 79 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,56 +37,43 @@ jobs:
fail-fast: false
matrix:
include:

- os: ubuntu-20.04
qt_ver: 5

- os: ubuntu-20.04
qt_ver: 6
qt_host: linux
qt_arch: ''
qt_version: '6.2.4'
qt_modules: 'qt5compat qtimageformats'
qt_tools: ''
qt_arch: ""
qt_version: "6.2.4"
qt_modules: "qt5compat qtimageformats"
qt_tools: ""

- os: windows-2022
name: "Windows-MinGW-w64"
msystem: clang64
vcvars_arch: 'amd64_x86'

- os: windows-2022
name: "Windows-MSVC-Legacy"
msystem: ''
architecture: 'win32'
vcvars_arch: 'amd64_x86'
qt_ver: 5
qt_host: windows
qt_arch: 'win32_msvc2019'
qt_version: '5.15.2'
qt_modules: ''
qt_tools: 'tools_openssl_x86'
vcvars_arch: "amd64_x86"

- os: windows-2022
name: "Windows-MSVC"
msystem: ''
architecture: 'x64'
vcvars_arch: 'amd64'
msystem: ""
architecture: "x64"
vcvars_arch: "amd64"
qt_ver: 6
qt_host: windows
qt_arch: ''
qt_version: '6.5.2'
qt_version: '6.6.0'
qt_modules: 'qt5compat qtimageformats'
qt_tools: ''

- os: windows-2022
name: "Windows-MSVC-arm64"
msystem: ''
architecture: 'arm64'
vcvars_arch: 'amd64_arm64'
msystem: ""
architecture: "arm64"
vcvars_arch: "amd64_arm64"
qt_ver: 6
qt_host: windows
qt_arch: 'win64_msvc2019_arm64'
qt_version: '6.5.2'
qt_version: '6.6.0'
qt_modules: 'qt5compat qtimageformats'
qt_tools: ''

Expand All @@ -96,7 +83,7 @@ jobs:
qt_ver: 6
qt_host: mac
qt_arch: ''
qt_version: '6.5.2'
qt_version: '6.6.0'
qt_modules: 'qt5compat qtimageformats'
qt_tools: ''

Expand All @@ -105,9 +92,9 @@ jobs:
macosx_deployment_target: 10.13
qt_ver: 5
qt_host: mac
qt_version: '5.15.2'
qt_modules: ''
qt_tools: ''
qt_version: "5.15.2"
qt_modules: ""
qt_tools: ""

runs-on: ${{ matrix.os }}

Expand All @@ -125,11 +112,11 @@ jobs:
# PREPARE
##
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: 'true'
submodules: "true"

- name: 'Setup MSYS2'
- name: "Setup MSYS2"
if: runner.os == 'Windows' && matrix.msystem != ''
uses: msys2/setup-msys2@v2
with:
Expand Down Expand Up @@ -164,12 +151,12 @@ jobs:

- name: Retrieve ccache cache (Windows MinGW-w64)
if: runner.os == 'Windows' && matrix.msystem != '' && inputs.build_type == 'Debug'
uses: actions/[email protected].1
uses: actions/[email protected].2
with:
path: '${{ github.workspace }}\.ccache'
key: ${{ matrix.os }}-mingw-w64-ccache-${{ github.run_id }}
restore-keys: |
${{ matrix.os }}-mingw-w64-ccache
${{ matrix.os }}-mingw-w64-ccache

- name: Setup ccache (Windows MinGW-w64)
if: runner.os == 'Windows' && matrix.msystem != '' && inputs.build_type == 'Debug'
Expand Down Expand Up @@ -214,35 +201,35 @@ jobs:
if: runner.os == 'Windows' && matrix.architecture == 'arm64'
uses: jurplel/install-qt-action@v3
with:
aqtversion: '==3.1.*'
py7zrversion: '>=0.20.2'
version: ${{ matrix.qt_version }}
host: 'windows'
target: 'desktop'
arch: ''
modules: ${{ matrix.qt_modules }}
tools: ${{ matrix.qt_tools }}
cache: ${{ inputs.is_qt_cached }}
cache-key-prefix: host-qt-arm64-windows
dir: ${{ github.workspace }}\HostQt
set-env: false
aqtversion: "==3.1.*"
py7zrversion: ">=0.20.2"
version: ${{ matrix.qt_version }}
host: "windows"
target: "desktop"
arch: ""
modules: ${{ matrix.qt_modules }}
tools: ${{ matrix.qt_tools }}
cache: ${{ inputs.is_qt_cached }}
cache-key-prefix: host-qt-arm64-windows
dir: ${{ github.workspace }}\HostQt
set-env: false

- name: Install Qt (macOS, Linux, Qt 6 & Windows MSVC)
if: runner.os == 'Linux' && matrix.qt_ver == 6 || runner.os == 'macOS' || (runner.os == 'Windows' && matrix.msystem == '')
uses: jurplel/install-qt-action@v3
with:
aqtversion: '==3.1.*'
py7zrversion: '>=0.20.2'
version: ${{ matrix.qt_version }}
host: ${{ matrix.qt_host }}
target: 'desktop'
arch: ${{ matrix.qt_arch }}
modules: ${{ matrix.qt_modules }}
tools: ${{ matrix.qt_tools }}
cache: ${{ inputs.is_qt_cached }}
aqtversion: "==3.1.*"
py7zrversion: ">=0.20.2"
version: ${{ matrix.qt_version }}
host: ${{ matrix.qt_host }}
target: "desktop"
arch: ${{ matrix.qt_arch }}
modules: ${{ matrix.qt_modules }}
tools: ${{ matrix.qt_tools }}
cache: ${{ inputs.is_qt_cached }}

- name: Install MSVC (Windows MSVC)
if: runner.os == 'Windows' # We want this for MinGW builds as well, as we need SignTool
if: runner.os == 'Windows' # We want this for MinGW builds as well, as we need SignTool
uses: ilammy/msvc-dev-cmd@v1
with:
vsversion: 2022
Expand Down Expand Up @@ -283,12 +270,12 @@ jobs:
if: runner.os == 'Windows' && matrix.msystem != ''
shell: msys2 {0}
run: |
cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -DLauncher_BUILD_PLATFORM=official -DCMAKE_C_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DLauncher_QT_VERSION_MAJOR=6 -DCMAKE_OBJDUMP=/mingw64/bin/objdump.exe -G Ninja
cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -DLauncher_BUILD_PLATFORM=official -DCMAKE_C_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DLauncher_QT_VERSION_MAJOR=6 -DCMAKE_OBJDUMP=/mingw64/bin/objdump.exe -DLauncher_BUILD_ARTIFACT=${{ matrix.name }}-Qt${{ matrix.qt_ver }} -G Ninja

- name: Configure CMake (Windows MSVC)
if: runner.os == 'Windows' && matrix.msystem == ''
run: |
cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -DLauncher_BUILD_PLATFORM=official -DLauncher_QT_VERSION_MAJOR=${{ matrix.qt_ver }} -DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreadedDLL" -A${{ matrix.architecture}} -DLauncher_FORCE_BUNDLED_LIBS=ON
cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -DLauncher_BUILD_PLATFORM=official -DLauncher_QT_VERSION_MAJOR=${{ matrix.qt_ver }} -DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreadedDLL" -A${{ matrix.architecture}} -DLauncher_FORCE_BUNDLED_LIBS=ON -DLauncher_BUILD_ARTIFACT=${{ matrix.name }}-Qt${{ matrix.qt_ver }}
# https://github.com/ccache/ccache/wiki/MS-Visual-Studio (I coudn't figure out the compiler prefix)
if ("${{ env.CCACHE_VAR }}")
{
Expand All @@ -303,7 +290,7 @@ jobs:
- name: Configure CMake (Linux)
if: runner.os == 'Linux'
run: |
cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -DLauncher_BUILD_PLATFORM=official -DCMAKE_C_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DLauncher_QT_VERSION_MAJOR=${{ matrix.qt_ver }} -G Ninja
cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -DLauncher_BUILD_PLATFORM=official -DCMAKE_C_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DLauncher_QT_VERSION_MAJOR=${{ matrix.qt_ver }} -DLauncher_BUILD_ARTIFACT=Linux-Qt${{ matrix.qt_ver }} -G Ninja

##
# BUILD
Expand Down Expand Up @@ -343,7 +330,7 @@ jobs:
- name: Test (Windows MSVC)
if: runner.os == 'Windows' && matrix.msystem == '' && matrix.architecture != 'arm64'
run: |
ctest -E "^example64|example$" --test-dir build --output-on-failure -C ${{ inputs.build_type }}
ctest -E "^example64|example$" --test-dir build --output-on-failure -C ${{ inputs.build_type }}

##
# PACKAGE BUILDS
Expand Down Expand Up @@ -384,7 +371,7 @@ jobs:
run: |
cmake --install ${{ env.BUILD_DIR }}
touch ${{ env.INSTALL_DIR }}/manifest.txt
for l in $(find ${{ env.INSTALL_DIR }} -type f); do l=$(cygpath -u $l); l=${l#$(pwd)/}; l=${l#${{ env.INSTALL_DIR }}/}; l=${l#./}; echo $l; done >> ${{ env.INSTALL_DIR }}/manifest.txt
for l in $(find ${{ env.INSTALL_DIR }} -type f); do l=$(cygpath -u $l); l=${l#$(pwd)/}; l=${l#${{ env.INSTALL_DIR }}/}; l=${l#./}; echo $l; done >> ${{ env.INSTALL_DIR }}/manifest.txt

- name: Package (Windows MSVC)
if: runner.os == 'Windows' && matrix.msystem == ''
Expand All @@ -401,10 +388,9 @@ jobs:

Get-ChildItem ${{ env.INSTALL_DIR }} -Recurse | ForEach FullName | Resolve-Path -Relative | %{ $_.TrimStart('.\') } | %{ $_.TrimStart('${{ env.INSTALL_DIR }}') } | %{ $_.TrimStart('\') } | Out-File -FilePath ${{ env.INSTALL_DIR }}/manifest.txt


- name: Fetch codesign certificate (Windows)
if: runner.os == 'Windows'
shell: bash # yes, we are not using MSYS2 or PowerShell here
shell: bash # yes, we are not using MSYS2 or PowerShell here
run: |
echo '${{ secrets.WINDOWS_CODESIGN_CERT }}' | base64 --decode > codesign.pfx

Expand All @@ -414,7 +400,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 pollymc.exe pollymc_filelink.exe
SignTool sign /fd sha256 /td sha256 /f ../codesign.pfx /p '${{ secrets.WINDOWS_CODESIGN_PASSWORD }}' /tr http://timestamp.digicert.com pollymc.exe pollymc_updater.exe pollymc_filelink.exe
} else {
":warning: Skipped code signing for Windows, as certificate was not present." >> $env:GITHUB_STEP_SUMMARY
}
Expand Down Expand Up @@ -506,23 +492,15 @@ jobs:
export LD_LIBRARY_PATH

chmod +x AppImageUpdate-x86_64.AppImage
./AppImageUpdate-x86_64.AppImage --appimage-extract

mkdir -p ${{ env.INSTALL_APPIMAGE_DIR }}/usr/optional
mkdir -p ${{ env.INSTALL_APPIMAGE_DIR }}/usr/plugins

cp -r squashfs-root/usr/bin/* ${{ env.INSTALL_APPIMAGE_DIR }}/usr/bin
cp -r squashfs-root/usr/lib/* ${{ env.INSTALL_APPIMAGE_DIR }}/usr/lib
cp -r squashfs-root/usr/optional/* ${{ env.INSTALL_APPIMAGE_DIR }}/usr/optional
cp -r squashfs-root/usr/optional/* ${{ env.INSTALL_APPIMAGE_DIR }}/usr/plugins
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|PollyMC-Linux-x86_64.AppImage.zsync"

if [ '${{ secrets.GPG_PRIVATE_KEY_ID }}' != '' ]; then
export SIGN=1
export SIGN_KEY=${{ secrets.GPG_PRIVATE_KEY_ID }}
mkdir -p ~/.gnupg/
printf "$GPG_PRIVATE_KEY" | base64 --decode > ~/.gnupg/private.key
echo "$GPG_PRIVATE_KEY" > ~/.gnupg/private.key
gpg --import ~/.gnupg/private.key
else
echo ":warning: Skipped code signing for Linux AppImage, as gpg key was not present." >> $GITHUB_STEP_SUMMARY
Expand Down Expand Up @@ -568,14 +546,14 @@ jobs:
if: runner.os == 'Linux' && matrix.qt_ver != 6
uses: actions/upload-artifact@v3
with:
name: PollyMC-${{ runner.os }}-${{ env.VERSION }}-${{ inputs.build_type }}
name: PollyMC-${{ runner.os }}-Qt5-${{ env.VERSION }}-${{ inputs.build_type }}
path: PollyMC.tar.gz

- name: Upload binary tarball (Linux, portable, Qt 5)
if: runner.os == 'Linux' && matrix.qt_ver != 6
uses: actions/upload-artifact@v3
with:
name: PollyMC-${{ runner.os }}-Portable-${{ env.VERSION }}-${{ inputs.build_type }}
name: PollyMC-${{ runner.os }}-Qt5-Portable-${{ env.VERSION }}-${{ inputs.build_type }}
path: PollyMC-portable.tar.gz

- name: Upload binary tarball (Linux, Qt 6)
Expand Down Expand Up @@ -619,10 +597,10 @@ jobs:
options: --privileged
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
if: inputs.build_type == 'Release'
with:
submodules: 'true'
submodules: "true"
- name: Build Flatpak (Linux)
if: inputs.build_type == 'Release'
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: 'true'

Expand Down
27 changes: 15 additions & 12 deletions .github/workflows/trigger_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,25 @@ name: Build Application
on:
push:
branches-ignore:
- 'renovate/**'
- "renovate/**"
paths-ignore:
- '**.md'
- '**/LICENSE'
- 'flake.lock'
- 'packages/**'
- '.github/ISSUE_TEMPLATE/**'
- "**.md"
- "**/LICENSE"
- "flake.lock"
- "packages/**"
- ".github/ISSUE_TEMPLATE/**"
- ".markdownlint**"
pull_request:
paths-ignore:
- '**.md'
- '**/LICENSE'
- 'flake.lock'
- 'packages/**'
- '.github/ISSUE_TEMPLATE/**'
- "**.md"
- "**/LICENSE"
- "flake.lock"
- "packages/**"
- ".github/ISSUE_TEMPLATE/**"
- ".markdownlint**"
workflow_dispatch:

jobs:

build_debug:
name: Build Debug
uses: ./.github/workflows/build.yml
Expand All @@ -32,3 +33,5 @@ jobs:
WINDOWS_CODESIGN_CERT: ${{ secrets.WINDOWS_CODESIGN_CERT }}
WINDOWS_CODESIGN_PASSWORD: ${{ secrets.WINDOWS_CODESIGN_PASSWORD }}
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PRIVATE_KEY_ID: ${{ secrets.GPG_PRIVATE_KEY_ID }}
Loading
Loading