aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/MainWindow.cpp
AgeCommit message (Collapse)Author
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
2022-11-05Update launcher/ui/MainWindow.cppleo78913
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: leo78913 <leo3758@riseup.net>
2022-11-05fix: @timoreo22Ryan Cao
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2022-11-05fix: use `osascript` to get admin privilegesRyan Cao
inspired from VSCode's approach Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2022-11-05initial support for add to PATH actionRyan Cao
Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
2022-11-04feat: spooky cat for halloweenleozamboni
Signed-off-by: leozamboni <leonardonunes169@gmail.com>
2022-11-02add an option to lock the toolbarsleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2022-11-02remove logcatSantiago Cézar
Signed-off-by: Santiago Cézar <santiagocezar2013@gmail.com>
2022-11-01add rorySantiago Cézar
Signed-off-by: Santiago Cézar <santiagocezar2013@gmail.com> Co-authored-by: Ashtaka <66513643+AshtakaOOf@users.noreply.github.com>
2022-10-31Merge pull request #351 from Scrumplex/fix-trashSefa Eyeoglu
2022-10-31fix: fix undo key sequenceSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-10-30Change Profiles to Accounts for consistencyFayne Aldan
Signed-off-by: Fayne Aldan <FayneAldan@gmail.com>
2022-10-30fix: fix disabled trash undo actionSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-10-23Add "Select all" checkbox + ui revamp + code cleanupMarcelo Hernandez
Signed-off-by: Marcelo Hernandez <marcelohdez.inq@gmail.com>
2022-10-23add more options to copy instance dialogMarcelo Hernandez
- Copy game options, copy resource packs, copy shaders, copy servers, and copy mods - Also made a new InstanceCopyPrefs struct to store those options rather than passing 7 different booleans into InstanceCopyTask's constructor Signed-off-by: Marcelo Hernandez <marcelohdez.inq@gmail.com>
2022-10-23add icons to the instance toolbarleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2022-10-20add icons to the instance menu and 4 new icons:leo78913
delete rename tag export Signed-off-by: leo78913 <leo3758@riseup.net>