aboutsummaryrefslogtreecommitdiff
path: root/launcher
AgeCommit message (Collapse)Author
2023-02-04Merge pull request #802 from KosmX/developSefa Eyeoglu
2023-02-04fix: use /usr/bin/env bash in launch scriptSefa Eyeoglu
This should make it possible to run these scripts on any system, as /bin/bash is not standard! Notably this fixes the script on NixOS. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-02-03fix: fix component uid regexSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-02-02fix: give error when components have bad uidsflow
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-02fix(Inst.Import): don't allow bad file path in mrpack importflow
This checks the URL of the path of the file to be downloaded, ensuring that it always contains the root .minecraft target folder, following the warning in the mrpack documentation. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-02-01commit requested change, make the lock staticKosmX
Signed-off-by: KosmX <kosmx.mc@gmail.com>
2023-02-01thread-safe loggerKosmX
Signed-off-by: KosmX <kosmx.mc@gmail.com>
2023-01-28Fix: fix some regressions in the main windowleo78913
this removes the update action from the help button and fixes the add to path action not showing on macos Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-27Merge pull request #724 from leo78913/dot-ui-mainwindowflow
Closes https://github.com/PrismLauncher/PrismLauncher/issues/594 Closes https://github.com/PrismLauncher/PrismLauncher/issues/69 Closes https://github.com/PrismLauncher/PrismLauncher/issues/473
2023-01-27better fix for WideBar::insertSeparatorleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-27Remove unused BarEntry variableleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-27Update launcher/ui/MainWindow.uileo78913
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-27Update launcher/ui/MainWindow.uileo78913
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-26refactor: clean up some MainWindow stuffleo78913
this makes the accounts button and menubar item share the same QMenu and also refactors some code Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-25refactor: make shared_qobject_ptr ctor explicitflow
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-25refactor: add error handling to component importSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-01-25Merge pull request #784 from flowln/fix_resource_folder_double_smart_ptrsSefa Eyeoglu
2023-01-25Merge pull request #458 from Scrumplex/remove-updaterSefa Eyeoglu
2023-01-24fix(Tasks): don't try to start more tasks than necessaryflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-24fix(ResourceFolder): don't create two smart ptrs for the same raw ptrflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-24Update launcher/Application.cppRachel Powers
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net> Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-24Merge branch 'develop' into remove-updaterSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-01-24remove NDEBUG check per Scrumplex's ordersRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-23fix: let jars be found from inside build dir for debug buildsRachel Powers
debug bug builds run form inside the build dir before they are bundled can't find the jars Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-23Merge pull request #675 from flowln/generalize_mod_modelSefa Eyeoglu
2023-01-23Merge pull request #758 from flowln/fix_process_events_backstabSefa Eyeoglu
2023-01-23fix(license): add/fix my copyright/license headersflow
*sobbing in messy legal stuff i know nothing about* Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-21feat+fix(Version): make comparsion FlexVer-compatibleflow
... and fixes a minor issue in the parsing. This changes the expected behavior of Versions in one significant way: Now, Versions like 1.2 or 1.5 evaluate to LESS THAN 1.2.0 and 1.5.0 respectively. This makes sense for sorting versions, since one expects the versions without patch release to 'contain' the ones with, so the ones without should be evaluated uniformily with the ones with the patch. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-20Fix main window icon and stuffleo78913
i forgor 💀 Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20Fix: make the newsLabel toolbutton fullwidth againleo78913
this reverts it to how it was before the MainWindow .ui port Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20Fix status bar nameleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20remove useless setEnabled callsleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20feat(WideBar): custom context menu actionsleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20Fix: translate actionNoDefaultAcount textleo78913
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20Fix: translate NoAccountsAdded textleo78913
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20fix(widebar): fix insertSeparatorleo78913
WideBar::insertSeparator was adding the separator to the end of the toolbar Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20feat(WideBar): Allow disabling alt shortcutsleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20refactor: Port the main window to a .ui fileleo78913
some stuff still needs to be done in the c++ side because qt designer is dumb >:( the instance toolbar icon and instance name buttons are still added manually inside MainWindow.cpp looks almost identical, with some minor tweaks: - the instance toolbar is now a WideBar, so you can customize what actions you want :D - the instance toolbar buttons are now fullwidth - the close window button is now at the end of the file menu - the help menu has some layout changes this also fixes some stuff: - menus not having tooltips - the top toolbar not connecting to the title bar in kde - the instance toolbar separators looking weird after you move the toolbar Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20feat: add Widebar::InsertWidgetBefore methodleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2023-01-20make MainWindow cat update instantlyTayou
Signed-off-by: Tayou <tayou@gmx.net>
2023-01-20refactor: clean up Section structflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-20refactor: simplify Version operatorsflow
Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-19Version.cpp: Add new lineEdgars Cīrulis
Signed-off-by: Edgars Cīrulis <edgarsscirulis@gmail.com>
2023-01-19Version.h: Fix comparison of null version in Version classEdgars Cīrulis
Co-authored-by: Rachel Powers <508861+Ryex@users.noreply.github.com> Signed-off-by: Edgars Cīrulis <edgarsscirulis@gmail.com>
2023-01-19fix: proper null padded version comparisonRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-19feat: add debug printing for VersionRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-18fix: call processEvents() before adding new tasks to the task queueflow
This allows the ongoing task to go off the stack before the next one is started. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-17Version.cpp: Remove unnecessary QStringList includeEdgars Cīrulis
Signed-off-by: Edgars Cīrulis <edgarsscirulis@gmail.com>
2023-01-17Version.cpp: Decompose version strings according to flexverEdgars Cīrulis
Co-authored-by: Rachel Powers <508861+Ryex@users.noreply.github.com> Signed-off-by: Edgars Cīrulis <edgarsscirulis@gmail.com>
2023-01-17Version.cpp: Format parse function code using clang-formatEdgars Cīrulis
Signed-off-by: Edgars Cīrulis <edgarsscirulis@gmail.com>