Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement unzipping of updates for external assets #36

Open
3 tasks done
KaHBrat opened this issue Mar 15, 2021 · 0 comments
Open
3 tasks done

implement unzipping of updates for external assets #36

KaHBrat opened this issue Mar 15, 2021 · 0 comments

Comments

@KaHBrat
Copy link
Contributor

KaHBrat commented Mar 15, 2021

  • make a concept where to save unzipped files
    => solution: rename old folder (my_asset_old), and unzip files to a new folder (my_asset)

  • exchange update files and old files

  • make sure back up files are created

KaHBrat added a commit that referenced this issue Mar 24, 2021
getPathToLocalUpdateFile now sets the path of the localUpdate file to the parent of the target directory, if the update is a zip file.

applyUpdate in applyUpdate.go now applies zipped updates by renaming the old folder to {folderName}.old and extracting into {folderName]
@KaHBrat KaHBrat changed the title implement unzipping of saved remote files and apply them as an update implement unzipping of updates for external assets Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant