aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/MainWindow.cpp
AgeCommit message (Collapse)Author
2022-12-03fix: warn before trashing instancesRyan Cao
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2022-12-01fix: explicitly set scheme for local file in -I argumentflow
Otherwise isLocalFile() will return false for local files without the file:// thingy. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-11-27Merge remote-tracking branch 'upstream/develop' into ↵Sefa Eyeoglu
import-resource-pack-dialog-uwu
2022-11-27fix: improve code readabilitySefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-25Merge pull request #227 from Leo40Git/feature/instance-shortcutsSefa Eyeoglu
Closes https://github.com/PrismLauncher/PrismLauncher/issues/210
2022-11-20refactor: move RP/TP validation to their respective utilsflow
This makes it easier to validate individual resources, and allows the logic to be used in other places in the future, if we need to. Signed-off-by: flow <flowlnlnln@gmail.com>
2022-11-20fix: stray includeRyan Cao
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2022-11-20fix: add support for CLI and drag and dropRyan Cao
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2022-11-18Merge pull request #455 from leo78913/menubar-stuffDioEgizio
2022-11-17fix: Fix usage belowRedson
Signed-off-by: Redson <redson@riseup.net>
2022-11-17chore: Change var nameRedsonBr140
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net> Signed-off-by: RedsonBr140 <redson@riseup.net>
2022-11-16chore: Var definition inside the for loopRedsonBr140
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: RedsonBr140 <redson@riseup.net>
2022-11-15fix: Fix some stuff in the menu barleo78913
- Remove duplicated launch actions - Enable the add instance action icon in menus - Remove ugly separator at the end of the help menu if the updater is disabled - Add icons to the help and news menu items Signed-off-by: leo78913 <leo3758@riseup.net>
2022-11-15feat: Make the changes persistent.Redson
Signed-off-by: Redson <redson@riseup.net>
2022-11-15fix: Check the box when the theme is changed via settingsRedson
Signed-off-by: Redson <redson@riseup.net>
2022-11-15fix: Check the current theme box on startup.Redson
Signed-off-by: Redson <redson@riseup.net>
2022-11-15fix: Build on QT6Redson
Signed-off-by: Redson <redson@riseup.net>
2022-11-15Merge remote-tracking branch 'upstream/develop' into feature/instance-shortcutsADudeCalledLeo
2022-11-14feat: Add themes and their logic.leo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2022-11-14Merge branch 'PrismLauncher:develop' into menu-themesRedsonBr140
2022-11-14feat: Add empty menuRedson
Signed-off-by: Redson <redson@riseup.net>
2022-11-14Add iconADudeCalledLeo
NOTE: Currently missing on Legacy, Flat and Flat (White) Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-14refactor: improve readabilitySefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-14Merge branch 'develop' into macos-add-to-pathRyan Cao
2022-11-14slight reword: "install to PATH"Ryan Cao
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2022-11-13Windows, Linux: prevent segfault on missing iconADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-13Linux: fixesADudeCalledLeo
- Fix shortcut icons - Possibly fix shortcut creation on AppImages - Fix shortcut not working if path to launcher contains spaces Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-13tabs -> spacesADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-13Mac: attempt 2ADudeCalledLeo
- create .command files instead of .sh - fix shortcuts not working if path to Prism Launcher contains spaces - fix path to executable in shortcutss - add check for running from extracted folder (prevents creating shortcuts) Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Mac: fix buildADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Windows: remove icon if shortcut creation failsADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12refactor #if checksADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Mac: now supported! [UNTESTED]ADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Move addAction call above left-align loopADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12this ain't static, falcoADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Apply suggestions from code reviewADudeCalledLeo
Co-authored-by: Sefa Eyeoglu <contact@scrumplex.net> Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Fix nested #if directiveADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Windows: fix window icon being replacedADudeCalledLeo
Dunno why it happens but the fix was literally 2 lines, so whatever I guess Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Windows: add instance icon to shortcutADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Remove unnessecary "is defined" checkADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12[UNTESTED] Linux: add icons to shortcutsADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Windows: implement FS::createShortcutADudeCalledLeo
Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-12Add 'Create shortcut' button to instance toolbarADudeCalledLeo
Implemented on Windows only rn! Signed-off-by: ADudeCalledLeo <7997354+Leo40Git@users.noreply.github.com>
2022-11-10Merge pull request #406 from Scrumplex/fix-clear-metadataflow
2022-11-06Merge pull request #405 from AshtakaOOf/spookyDioEgizio
2022-11-06Merge pull request #242 from marcelohdez/more-copy-optionsSefa Eyeoglu
2022-11-06fix: save metacache after clearingSefa Eyeoglu
If the user closes the launcher right after clearing, it probably didn't actually clear the cache yet. Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-06refactor: rename halloween cats to -spookySefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-06fix: allow -ween variants for all catsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-06Merge pull request #383 from leo78913/toolbar-lockSefa Eyeoglu