aboutsummaryrefslogtreecommitdiff
path: root/launcher/FileSystem.cpp
AgeCommit message (Collapse)Author
2023-08-02chore: reformatSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-07-10Shortcuts on macOS (#1081)Nathan
Co-authored-by: TheKodeToad <TheKodeToad@proton.me>
2023-07-05Merge pull request #1284 from Ryex/fix/properly-track-failed-copies-and-clonesSefa Eyeoglu
2023-07-02Fix compiling on OpenBSDFinian Wright
Signed-off-by: Finian Wright <turbowafflz@gmail.com>
2023-06-27Update launcher/FileSystem.cppRachel Powers
Co-authored-by: TheKodeToad <TheKodeToad@proton.me> Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-06-27fix(filesystem): track failed copies and clonesRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-06-27Fixed illegal characters in shortcuts nameTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-20Fix compiling on FreeBSDJakub Wroński
Signed-off-by: Jakub Wroński <kubawronski161@gmail.com>
2023-04-29refactor: Move ini to use QSettings && drop get/setList functionsRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-04-03fix: remove fixed datastream versionRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-04-03refactor: remove data duplication in statis FS NamesRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-31fix: typos, CamelCase to camelCase the new namesRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20spelling and formattingRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20format: clang-format to fix windows falloutRachel Powers
it looked fine over in vscod on windows but as soon as I opened it on linux via Helix the chaos was clear Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20refactor: use UUID toString modeRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20fix: clean up initial review comments (flowin)Rachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20fix: use noexcept overload of std::filesystem::hard_link_countRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20fix: mingw still missing typedefsRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20fix: windows compile brokeRachel Powers
move winapi defs into #ifndef blocks don't check explicitly for __mingw__ define function name win_ioctl_clone didn't get updated in teh last commit Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20refactor: cleanupFilesystem.cppRachel Powers
* remove now redundant reflink/clone code for windows * remove unnessacery debug code that could slow things down Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20feat: warnings when instance resources are linkedRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20fix: add missing mingw defsRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20feat(reflink): ioctl_clone for winbtrfs & ReFSRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20fix: macos compat after refactor of `clonefile`Rachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20feat: support reflink on windows via winbtrfs!Rachel Powers
https://github.com/maharmstone/btrfs Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20fix: windows test compatRachel Powers
fix: compiler warning on int qint32 compare Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20fix: Qt < 5.14.0 compatRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20fix: intelegent recursive links & symlink follow on exportRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20fix: cleanup UI, detect FAT and turn off linksRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20feat(reflink): hook up relink / clone on the copy dialogRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20feat: reflink / Clone support!Rachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20feat(symlinks&hardlinks): linkup copy dialogRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20refactor: make complete list of links to make and send that.Rachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20feat: successful process elevation and comunication!Rachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-20we want to make links!Rachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-01-10fix(FileSystem): don't attempt to trash items on Windows Serverflow
For some reason this makes some of our CI test runs super slow, and sometimes fail miserably. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-07Merge pull request #576 from Ryex/identify-zip-packsSefa Eyeoglu
fix https://github.com/PrismLauncher/PrismLauncher/issues/349
2022-12-29refactor: use std::filesystem::rename insted of copy and then moving.Rachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2022-12-14Improve handling of destructive actionsTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2022-12-08fix: fix creating instance shortcuts in flatpakleo78913
Signed-off-by: leo78913 <leo3758@riseup.net>
2022-11-25Merge pull request #227 from Leo40Git/feature/instance-shortcutsSefa Eyeoglu
Closes https://github.com/PrismLauncher/PrismLauncher/issues/210
2022-11-21fix: actually emit fileCopiedSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-13Linux: remove TryExec entry from .desktop filesADudeCalledLeo
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-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-12fix: implement code review suggestionsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-12feat: add dryRun to copy operationSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2022-11-12refactor: allow copy operation with whitelistSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
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>