aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-20fix: some abort-related issuesflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20feat(ui): improve info dialog before updating an instanceflow
Adds a 'Cancel' option, and add a note about doing a backup before updating. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20fix(ui): hook up abort status signal in ProgressDialogflow
Now we have a visual indication on when tasks are abortable! Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20fix: hook up setAbortStatus in instance import tasksflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20feat: add canAbort() status change in Taskflow
By now, it's a recurring pattern of wanting to restrict aborting in certain situations. This avoids further code duplication, and adds a signal that external users can hook up to to respond to such change. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20fix: simplify abort handling and add missing emitsflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-20fix: correctly set managed pack fields in CF packflow
Signed-off-by: flow <flowlnlnln@gmail.com>
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-20fix: add more legacy architecturesSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20refactor: drop 64-bit checkSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20feat: support multiarch system classifiersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20refactor: introduce RuntimeContextSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-20fix: register JavaRealArchitecture for MinecraftInstanceSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
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>