55f740453c
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into disablemods
2024-06-28 20:34:59 +03:00
2ffabbdc6d
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into filters
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-06-10 10:00:52 +03:00
6607c3bfa4
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into disablemods
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-06-10 09:04:09 +03:00
29d32f0d9a
Update size order for folders
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-06-10 00:18:21 +03:00
242ddbb7e1
fix size column sorting
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2024-06-09 23:53:40 +03:00
13d29ac6f4
Updated the size sort code
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-12-22 23:35:48 +02:00
26931475ae
made folder size reflect the number of elements
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-11-19 15:58:30 +02:00
4d93f4adb1
Fixed folder size
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-11-15 12:10:47 +02:00
3cbc63bb9f
added size column
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-11-02 12:18:24 +02:00
d151e97e3a
Fixed some headers
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-10-21 22:40:37 +03:00
9aac8e389f
made release type visible
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-10-21 18:48:55 +03:00
b54376062e
Added mcVersion column
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-10-17 19:25:01 +03:00
749975e8ef
made side and loaders visible to user
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-10-15 12:46:23 +03:00
c41c39b5d8
cleanup the mod name checking
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-08-15 23:55:09 +03:00
1d468ac35a
chore: reformat
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-08-02 18:35:35 +02:00
0c6362f28d
Make trash hungry
...
Signed-off-by: TheKodeToad <TheKodeToad@proton.me >
2023-07-08 18:51:28 +01:00
a1053a4c5a
feat: warnings when instance resources are linked
...
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2023-03-20 14:56:32 -07:00
4ee29b388d
feat: add a provider column to the mods page
...
Signed-off-by: leo78913 <leo3758@riseup.net >
2022-12-15 12:02:08 -03:00
3ab17a97a8
fix: sorting by pack format
...
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-03 13:37:21 -03:00
050768c266
feat: add more resource pack info
...
Adds pack format id and description to ResourcePack, that'll be parsed
from pack.mcmeta.
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-09-03 13:37:21 -03:00
e2ab2aea32
change: add enable/disable to resources
...
TIL that zip resource packs, when disabled, actually have the effect of
not showing up in the game at all. Since this can be useful to someone,
I moved the logic for it to the resources.
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-08-20 10:49:54 -03:00
92aa24ae34
fix: don't give shared pointer to obj. external to the model
...
It causes some weird problems and adds refcounting overhead.
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-08-20 10:48:00 -03:00
97a74d5c1f
refactor: adapt rest of the codebase to the new resource model
...
In order to access the ModFolderModel from the ModFolderPage, i created
a new m_model for the correct type, shadowing the m_model of type
ResourceFolderModel. This creates two shared_ptr references to the same object,
but since they will have the same lifetime, it doesn't generate a memory
leak.
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-08-20 10:47:58 -03:00
1e2f0ab308
refactor: move more tied logic to model and move logic to the resources
...
This moves the QSortFilterProxyModel to the resource model files,
acessible via a factory method, and moves the sorting and filtering to
the objects themselves, decoupling the code a bit.
This also adds a basic implementation of methods in the
ResourceFolderModel, simplifying the process of constructing a new model
from it.
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-08-20 10:47:08 -03:00
3225f514f6
refactor: move general info from Mod to Resource
...
This allows us to create other resources that are not Mods, but can
still share a significant portion of code.
Signed-off-by: flow <flowlnlnln@gmail.com >
2022-08-20 10:41:59 -03:00