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

feat: compress app files #8

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

feat: compress app files #8

wants to merge 2 commits into from

Conversation

edeuss
Copy link
Contributor

@edeuss edeuss commented Feb 25, 2025

Stores the app files in a zip on the server, when downloading the update it will uncompress the zip.

This reduces the size of the files stored on the server and less to download.

@MarlonJD
Copy link
Owner

Files shouldn't be archived for downloading only changing files. I tried to zip every file separately but it's not decreasing sizes when I'm doing this, if you tried and saw decrease we can inspect and try this solution btw.

@edeuss
Copy link
Contributor Author

edeuss commented Feb 25, 2025

@MarlonJD I noticed what you were doing late, going to make this an optional perimeter.

Edit: I am going to re-think thought some other ideas

@MarlonJD
Copy link
Owner

Zipping a macOS .app file is not working properly. Unfortunately, zipping macOS shortcuts does not work as expected. When you zip an entire folder using ZIP, 7z, or TAR—whether programmatically or manually on macOS—the resulting archive sizes differ. This happens because macOS breaks shortcuts, treating them as full copies instead of preserving them as links. I haven't been able to find a solution for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants