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

Tauri errors fix #61

Merged
merged 4 commits into from
Apr 3, 2023
Merged

Tauri errors fix #61

merged 4 commits into from
Apr 3, 2023

Conversation

thesuzerain
Copy link
Contributor

  • changes most uses of ZipArchive to use async_zip crate instead
  • crate::Result now has Send and Sync again, which fixes Tauri problem

theseus/src/api/pack.rs Show resolved Hide resolved
&icon_path, cache_dir, bytes, &permit,
)
.await?;
let zip_file_reader = ZipFileReader::new(path).await?;
Copy link
Member

Choose a reason for hiding this comment

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

this shouldn't be "question-marked". if the zip is invalid the func shouldn't fail

@thesuzerain thesuzerain merged commit 4e5fd9e into modpacks Apr 3, 2023
@thesuzerain thesuzerain deleted the tauri-errors-fix branch April 3, 2023 15:15
Geometrically added a commit that referenced this pull request Apr 6, 2023
* Modpack support

* Finish feature

* Tauri errors fix (#61)

* async impl

* working

* fmt and redundancy

* moved ? to if let Ok block

* Finish modpacks support

* remove generated file

* fix compile err

* fix lint

* Fix code review comments + forge support

---------

Co-authored-by: Wyatt Verchere <wverchere@gmail.com>
Geometrically added a commit that referenced this pull request Jul 4, 2024
* Fix publish act

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

Successfully merging this pull request may close these issues.

2 participants