diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-03-19 21:19:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-19 20:19:38 +0000 |
commit | 6c0f600cc6dcb22b3990283aa5d3d7593da6bbb5 (patch) | |
tree | 45fb30229c437bc70a1abdceb020400a9ff8dbb8 /src-tauri/icons/Square71x71Logo.png | |
parent | 72070a9f6809f679ddd5874edfe454a8d8559092 (diff) | |
download | FlightCore-6c0f600cc6dcb22b3990283aa5d3d7593da6bbb5.tar.gz FlightCore-6c0f600cc6dcb22b3990283aa5d3d7593da6bbb5.zip |
refactor: Fix PR downloads permission issue (#217)
* fix: Download PRs into Titanfall2 folder
Avoids any folder write permission issues
* fix: Download Mod PRs into Titanfall2 folder
Avoids any folder write permission issues
* build: Add libraries for zip extract
* refactor: Download mods zip into memory
and extract it from there directly into Titanfall2 dir
* fix: Stop creating unneeded temp download folder
* refactor: Download launcher zip into memory
and extract it from there into a temp folder
then only copy out necessary files
and delete the rest
* docs: Add comment
* refactor: Remove unused functions
* fix: Smoothly handle misformatted zip file
Usually caused by the downloaded file not actually being a zip
Catches the error and displays error message if it occurs.
* feat: Exit early if download was unsuccessful
* chore: Remove leftover commented out code
* fix: Write mod files into correct subdirectory
Was writing them into parent instead by accident which meant that
Northstar wouldn't actually find it.
* refactor: Define profile path once
Instead of recreating the string everytime
Diffstat (limited to 'src-tauri/icons/Square71x71Logo.png')
0 files changed, 0 insertions, 0 deletions