aboutsummaryrefslogtreecommitdiff
path: root/launcher
AgeCommit message (Collapse)Author
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-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-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-15Added Launch Demo button.jopejoe1
Signed-off-by: jopejoe1 <johannes@joens.email>
2022-09-14Merge pull request #982 from DavidoTek/windarkmode2Sefa Eyeoglu
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-11refactor: restructure testsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-09-10fix: emit signals when aborting NetJobflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-07fix: start at least one task in ConcurrentTaskflow
This allows us to emit all the necessary stuff when we're finished in the case of starting a task with no subtasks. In particular, this caused the mod updater to not work properly :) Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-07Merge pull request #997 from flowln/fix_major_version_filterflow
2022-09-07Merge pull request #1105 from flowln/better_resource_packsflow
Add basic resource pack parsing and fix issues
2022-09-07refactor: create mod pages and filter widget by factory methodsflow
This takes most expensive operations out of the constructors. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-09-07fix: use more robust method of finding matches for major versionflow
This uses the proper version list to find all MC versions matching the major number (_don't say anything about SemVer_ :gun:). Signed-off-by: flow <flowlnlnln@gmail.com>