aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-20feat: add override awareness to CF modpack updatingflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20fix: correctly set all managed pack fields in Modrinth packflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20feat: add override handling in modrinth pack updateflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20feat: add override helper functionsflow
These help us keep track of relevant metadata information about overrides, so that we know what they are when we update a pack. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: change the way instance names are handledflow
While working on pack updating, instance naming always gets in the way, since we need both way of respecting the user's name choice, and a standarized way of getting the original pack name / version. This tries to circunvent such problems by abstracting away the naming schema into it's own struct, holding both the original name / version, and the user-defined name, so that everyone can be happy and world peace can be achieved! (at least that's what i'd hope :c). Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: clean up InstanceImportTask a bitflow
Also removes a divide by two in the download progress (why was it there???) Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20feat: add curseforge modpack updatingflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: move creation of CF file download task to a separate functionflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: move flame modpack import to separate fileflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: add `throw_on_blocked` arg to Flame file parseflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20feat: add 'getFiles' by fileIds route in Flame APIflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20feat: add early modrinth pack updatingflow
Still some FIXMEs and TODOs to consider, but the general thing is here! Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: move modrinth modpack import to separate fileflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20refactor: add instance creation abstraction and move vanillaflow
This is so that 1. Code is more cleanly separated, and 2. Allows to more easily add instance updating :) Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20chore: add helper function for copying managed pack data between insts.flow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20Merge pull request #1108 from Scrumplex/better_texture_packsSefa Eyeoglu
2022-09-20fix: ensure all resource folders existSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20fix: actually render color codes for texture packsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20fix: comments and naming of texture pack stuffSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20fix: testsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20feat: add texture pack parsingSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20Merge pull request #1150 from flowln/fix_crash_on_game_quittxtsd
2022-09-20Merge pull request #1142 from flowln/better_fstxtsd
2022-09-18Merge pull request #903 from jopejoe1/demo-launchSefa Eyeoglu
2022-09-16fix: prevent container detaching in ResourceFolderModelflow
and use const accessors whenever we can! Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-16fix: prevent deletes by shared pointer accidental creationflow
This fixes the launcher crashing when opening the game :iea: Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-16fix: move newly allocated resources to the main threadflow
This avoids them getting deleted when the worker thread exits, due to thread affinity on the created thread. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-16fix: memory leak when getting mods from the mods folderflow
friendly reminder to always delete your news. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-15fix: enable demo launch only on supported instancesflow
e.g. >= 1.3.1 instances Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-15fix: show 'demo' instead of 'offline' in log when in demo modeflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-15change: move demo action to "Play offline" menuflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-15Add 'Ctrl+Alt+O' Shortcut to launch demo instance.jopejoe1
Signed-off-by: jopejoe1 <johannes@joens.email>
2022-09-15fix: allow demo for older versionsflow
We were not propagating the '--demo' flag in the legacy launcher, unconditionally setting the 'demo' parameter to false. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-15Added Launch Demo button.jopejoe1
Signed-off-by: jopejoe1 <johannes@joens.email>
2022-09-15Merge pull request #1146 from Scrumplex/fix-launch-rdflow
2022-09-15fix: allow starting rd- versionsSefa Eyeoglu
Using `Collections.emptyList()` doesn't allow us to later append stuff into that list. Use an empty `ArrayList` instead. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-14Merge pull request #982 from DavidoTek/windarkmode2Sefa Eyeoglu
2022-09-12chore(actions)!: bump macOS required version to 10.15flow
This is needed for std::filesystem support in macOS's libc. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-12chore(tests): add test for copy operation with blacklistflow
I almost :skull: because no tests used this x.x Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-12fix: use std::wstring for Windows filenamesflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-12chore: make DirNameFromString add normal duplicate identifierflow
Wrap the number in parenthesis to be similar to other software. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-12refactor: remove Win32 'crap' in FileSystemflow
We should use std::filesystem symlink and hardlink functions instead. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-12refactor: use std::filesystem for overridesflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-12refactor: use std::filesystem for path deletionflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-12refactor: use std::filesystem for file copyflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-12Merge pull request #1133 from Scrumplex/refactor-testsflow
Move tests to a separate folder, to fix issues and improve maintenance
2022-09-12Merge pull request #1123 from flowln/fix_abort_insttxtsd
2022-09-12fix(actions, win): only copy openssl libs on qt5 builds (#1130)DioEgizio
2022-09-11refactor: restructure testsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-11Merge pull request #1129 from dada513/metainfo_fixflow
Fixes FlatHub's image metadata for the 1.4.2 release