diff --git a/Cargo.lock b/Cargo.lock index 7006f93..6199f0a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -439,7 +439,7 @@ checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" [[package]] name = "paseto_cli" -version = "1.0.0-alpha.28" +version = "1.0.0-alpha.29" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index 0ba9f4e..3f2a466 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "paseto_cli" -version = "1.0.0-alpha.28" +version = "1.0.0-alpha.29" edition = "2021" description = "A command-line tool for generating and validating PASETO v4.local tokens" authors = ["Roland Rodriguez "] diff --git a/bin/cli b/bin/cli index 8e8a408..15bc36a 100644 --- a/bin/cli +++ b/bin/cli @@ -12,7 +12,8 @@ const BINARY_DISTRIBUTION_PACKAGES = { }; // Windows binaries end with .exe so we need to special case them. -const binaryName = process.platform === "win32-x64" ? "paseto_cli.exe" : "paseto_cli"; +const binaryName = process.platform === "win32" ? "paseto_cli.exe" : "paseto_cli"; + // Determine package name for this platform const platformSpecificPackageName = BINARY_DISTRIBUTION_PACKAGES[`${process.platform}-${process.arch}`];