2c744da9f7
More cleanup
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-04-21 18:42:06 +03:00
ffaa47bf54
Small cleanup
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-04-21 18:42:06 +03:00
c1490cd627
Refator task to work with multiple providers
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-04-21 18:42:06 +03:00
fac33498db
Made some copy by reference
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-04-21 18:42:06 +03:00
f3f8f3574a
Small headers removal
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-04-21 18:42:05 +03:00
7bd26ce468
Semi fixed the Modrinth dependency implementation
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-04-21 18:42:05 +03:00
bcea19b957
Tried to fix codeQL
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-04-21 18:42:05 +03:00
5079ce8d64
Fixed headers
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-04-21 18:42:05 +03:00
4fe497cd68
First working version with curseforge mods
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-04-21 18:42:05 +03:00
92cda68480
Update launcher/minecraft/MinecraftInstance.cpp
...
Co-authored-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
Signed-off-by: Japa <japa4551@protonmail.com >
2023-04-21 11:18:17 -03:00
f41426f394
Instance Description displays the last launch date
...
Initial Draft using the Standard C++ Library, still requires testing.
Signed-off-by: Japa <japa4551@protonmail.com >
2023-04-21 00:30:38 -03:00
12f0d51c0c
Fix: signal/slot macro -> func pointer & network fixes
...
- convert qt connect calls to use function pointers instead of the signal/slot macros wherever practical (UI classes were mostly left alone, target was tasks and processes)
- give signals an explicit receivers to use the static method over the instance method wherever practical
- ensure networks tasks are using the `errorOccured` signal added in Qt5.15 over the deprecated `error` signal
- ensure all networks tasks have an sslErrors signal connected
- add seemingly missing `MinecraftAccount::authSucceeded` connection for `MSAInteractive` login flow
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2023-04-17 18:23:18 -07:00
4fbd5abe41
Added task to load dependencies
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-04-12 00:45:44 +03:00
d524935b67
Added task to load local mod information
...
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com >
2023-04-11 20:55:10 +03:00
458c2f38bc
cleanup: code review sugestions
...
clean up translation strings
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2023-03-20 14:56:33 -07:00
a0e03c41c0
fix: typos
...
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2023-03-20 14:56:32 -07: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
f3f0652d2b
Merge pull request #853 from kumquat-ir/nil
...
NilLoader mod metadata support
2023-03-05 13:39:00 +01:00
651e511ff0
fix: use makeShared for importing components
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-03-01 12:33:00 +01:00
4878f1a438
Merge pull request #735 from Scrumplex/import-component
2023-03-01 09:49:47 +01:00
dc8109658c
review fixes
...
Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.com >
2023-02-22 13:20:13 -05:00
7973b01e81
fix metadata for mods with .nilmod
extension
...
Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.com >
2023-02-19 17:21:53 -05:00
256fc322a8
minor cleanup
...
Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.com >
2023-02-16 12:57:35 -05:00
9c2a3231c5
do not create nilmods folder
...
"it cant be that easy" - me, clueless
Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.com >
2023-02-13 01:45:23 -05:00
c07fff7503
switch to qdcss for parsing
...
make it not horrible to look at
Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.com >
2023-02-12 17:23:15 -05:00
7896dd19c1
nilmods instance page
...
mostly copied from the coremod page impl
Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.com >
2023-02-11 17:46:17 -05:00
f5f2d33f93
parse nil metadata
...
Signed-off-by: kumquat-ir <66188216+kumquat-ir@users.noreply.github.com >
2023-02-11 17:46:17 -05:00
34460dd77a
ensure command env vars use native path seperators
...
fix #824
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2023-02-04 12:28:52 -07:00
6ac073e779
fix: fix component uid regex
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-02-03 18:32:57 +01:00
4166d9ab7b
fix: give error when components have bad uids
...
This allows other code to reject proceeding when the UID is bad, which
is generally a good idea. :p
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net >
Signed-off-by: flow <flowlnlnln@gmail.com >
2023-02-02 17:11:24 -03:00
29f7ea752f
refactor: make shared_qobject_ptr ctor explicit
...
This turns issues like creating two shared ptrs from a single raw ptr
from popping up at runtime, instead making them a compile error.
Signed-off-by: flow <flowlnlnln@gmail.com >
2023-01-25 16:57:51 -03:00
199a7df807
refactor: add error handling to component import
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-01-25 10:43:23 +01:00
5186ad95d3
Merge pull request #784 from flowln/fix_resource_folder_double_smart_ptrs
2023-01-25 10:33:01 +01:00
6d27ef5eea
fix(ResourceFolder): don't create two smart ptrs for the same raw ptr
...
Signed-off-by: flow <flowlnlnln@gmail.com >
2023-01-24 17:04:01 -03:00
6e841a3b7e
Merge branch 'develop' into remove-updater
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-01-24 14:40:17 +01:00
16477a8f6c
Merge pull request #675 from flowln/generalize_mod_model
2023-01-23 23:58:52 +01:00
1a35fec134
Merge pull request #696 from Ryex/import-all-the-things
...
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/581
Fixes https://github.com/PrismLauncher/PrismLauncher/issues/700
2023-01-16 10:04:09 +01:00
cd893e18d2
chore: update license headers
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-01-14 17:21:52 +01:00
cf022524d1
Merge pull request #743 from flowln/fix_mods_with_wrong_modListVersion
2023-01-14 12:19:12 -03:00
ebb0596c1a
fix: don't fail mod parsing when encountering invalid modListVersion
...
The spec (admitely a very old one) states that this entry should always
have the value "2". However, some mods do not follow this convention,
causing issues.
One notable example is the 1.6 version of Aether II for 1.7.10, that has
this value set at "5" for whatever reason.
Signed-off-by: flow <flowlnlnln@gmail.com >
2023-01-13 21:15:10 -03:00
6a18079953
refactor: generalize mod models and APIs to resources
...
Firstly, this abstract away behavior in the mod download models that can
also be applied to other types of resources into a superclass, allowing
other resource types to be implemented without so much code duplication.
For that, this also generalizes the APIs used (currently, ModrinthAPI
and FlameAPI) to be able to make requests to other types of resources.
It also does a general cleanup of both of those. In particular, this
makes use of std::optional instead of invalid values for errors and,
well, optional values :p
This is a squash of some commits that were becoming too interlaced
together to be cleanly separated.
Signed-off-by: flow <flowlnlnln@gmail.com >
2023-01-13 16:23:00 -03:00
b2f48eaeb8
Merge branch 'PrismLauncher:develop' into instance-accounts
2023-01-12 20:11:46 -08:00
fff52cb247
feat: add button to import component JSONs
...
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net >
2023-01-11 13:50:57 +01:00
574af2c795
chore: cleanup review suggestions
...
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2023-01-09 17:18:08 -07:00
03b75bf2a9
feat: Import all the things!
...
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2023-01-07 15:04:22 -07:00
f3f628410d
Merge pull request #576 from Ryex/identify-zip-packs
...
fix https://github.com/PrismLauncher/PrismLauncher/issues/349
2023-01-07 17:33:34 +01:00
e0e3d4d8fe
Merge branch 'PrismLauncher:develop' into instance-accounts
2023-01-02 11:59:29 -07:00
7e2d78bab5
Allow selecting a default account to use with an instance
...
Signed-off-by: Aaron <10217842+byteduck@users.noreply.github.com >
2023-01-02 11:17:19 -07:00
0ebf04a021
fix newlines
...
Co-authored-by: flow <flowlnlnln@gmail.com >
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com >
2022-12-30 10:21:49 -07:00
d55f47077a
Merge pull request #626 from leo78913/mods-provider-column
...
closes https://github.com/PrismLauncher/PrismLauncher/issues/402
2022-12-30 11:39:03 -03:00