From 73267dcfc154e2ca86838c0141982326eae0512a Mon Sep 17 00:00:00 2001 From: Lucas Fernandes Nogueira Date: Tue, 4 Feb 2025 08:00:43 -0300 Subject: [PATCH] fix(ci): downgrade string_cache, string_cache_codegen and openssl crates (#12613) --- .github/workflows/covector-version-or-publish-v1.yml | 3 +++ core/tauri/src/updater/core.rs | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/covector-version-or-publish-v1.yml b/.github/workflows/covector-version-or-publish-v1.yml index 65ab48f86..0e02ead45 100644 --- a/.github/workflows/covector-version-or-publish-v1.yml +++ b/.github/workflows/covector-version-or-publish-v1.yml @@ -94,6 +94,9 @@ jobs: cargo update -p ignore --precise 0.4.18 cargo update -p tree_magic_mini --precise 3.0.3 cargo update -p native-tls --precise 0.2.11 + cargo update -p string_cache --precise 0.8.7 + cargo update -p string_cache_codegen --precise 0.5.2 + cargo update -p openssl --precise 0.10.68 - name: install rust ${{ matrix.project.toolchain || matrix.platform.toolchain }} uses: dtolnay/rust-toolchain@master diff --git a/core/tauri/src/updater/core.rs b/core/tauri/src/updater/core.rs index d994938df..e08d7b780 100644 --- a/core/tauri/src/updater/core.rs +++ b/core/tauri/src/updater/core.rs @@ -1104,8 +1104,6 @@ fn copy_files_and_run( // └── ... #[cfg(target_os = "macos")] fn copy_files_and_run(bytes: &[u8], extract_path: &Path) -> Result { - let mut extracted_files: Vec = Vec::new(); - let archive = Cursor::new(bytes); // extract the buffer to the tmp_dir