From 5104137af28b56fe4d6d2270218d416261617830 Mon Sep 17 00:00:00 2001 From: BrettMayson Date: Fri, 27 Jan 2023 19:10:44 -0600 Subject: [PATCH] fix signing extension --- Cargo.lock | 8 ++++---- bin/app/src/modules/sign.rs | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dda8555a..e8ef23e6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -462,9 +462,9 @@ dependencies = [ [[package]] name = "either" -version = "1.8.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" +checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" [[package]] name = "encode_unicode" @@ -1898,9 +1898,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.18.0" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "729bfd096e40da9c001f778f5cdecbd2957929a24e10e5883d9392220a751581" +checksum = "56c59d8dd7d0dcbc6428bf7aa2f0e823e26e43b3c9aca15bbc9475d23e5fa12b" dependencies = [ "indexmap", "nom8", diff --git a/bin/app/src/modules/sign.rs b/bin/app/src/modules/sign.rs index 658c6439..cd0dcea8 100644 --- a/bin/app/src/modules/sign.rs +++ b/bin/app/src/modules/sign.rs @@ -48,7 +48,7 @@ impl Module for Sign { }; ( ReadablePbo::from(File::open(&target_pbo)?)?, - target_pbo.with_extension(format!(".pbo.{authority}.bisign")), + target_pbo.with_extension(format!("pbo.{authority}.bisign")), addons_key.clone(), ) } @@ -79,7 +79,7 @@ impl Module for Sign { target_pbo.set_extension("pbo"); ( ReadablePbo::from(File::open(&target_pbo)?)?, - target_pbo.with_extension(format!(".pbo.{authority}.bisign")), + target_pbo.with_extension(format!("pbo.{authority}.bisign")), key, ) }