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: port tauri updater #62

Merged
merged 34 commits into from
Nov 20, 2023
Merged

feat: port tauri updater #62

merged 34 commits into from
Nov 20, 2023

Conversation

amr-crabnebula
Copy link
Collaborator

No description provided.

@@ -154,7 +154,10 @@ pub fn sign_outputs(
let zip = path.with_extension(extension);
let dest_file = util::create_file(&zip)?;
let gzip_encoder = libflate::gzip::Encoder::new(dest_file)?;
util::create_tar_from_dir(path, gzip_encoder)?;
let writer = util::create_tar_from_dir(path, gzip_encoder)?;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked this function, why isn't it using tar's append methods? seems like a custom implementation instead of something like https://docs.rs/tar/latest/tar/struct.Builder.html#method.append_dir_all

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure what you mean by that, it is using append_data to in order to set the uid and gid

@lucasfernog-crabnebula
Copy link
Member

I have no idea why the Windows test was passing yesterday and now it's broken. I only touched Linux stuff 😂

@amr-crabnebula amr-crabnebula marked this pull request as ready for review November 20, 2023 15:05
@amr-crabnebula amr-crabnebula merged commit 8a7a295 into main Nov 20, 2023
16 of 19 checks passed
@amr-crabnebula amr-crabnebula deleted the feat/updater branch November 20, 2023 15:36
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