Skip to content

Commit

Permalink
Fix netsparkle-generate-appcast name in help
Browse files Browse the repository at this point in the history
Closes #174
  • Loading branch information
Deadpikle committed Mar 21, 2021
1 parent acd1c73 commit a6bb8e8
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/NetSparkle.Tools.AppCastGenerator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -386,45 +386,45 @@ static void PrintExtendedExamples()
var examples = @"
#### Key Generation
# Generate Ed25519 keys for the first time
generate_appcast.exe --generate-keys
netsparkle-generate-appcast --generate-keys
# Store keys in a custom location
generate_appcast.exe --key-path path/to/store/keys
netsparkle-generate-appcast --key-path path/to/store/keys
# By default, your Ed25519 signatures are stored on disk in your local
# application data folder in a subdirectory called `netsparkle`.
# If you want to export your keys to the console, you can do:
generate_appcast.exe --export
netsparkle-generate-appcast --export
#### Generate a signature for a binary without creating an app cast:
generate_appcast.exe --generate-signature path/to/binary.exe
netsparkle-generate-appcast --generate-signature path/to/binary.exe
#### Verifying Binaries
generate_appcast.exe --verify path/to/binary.exe --signature base_64_signature
netsparkle-generate-appcast --verify path/to/binary.exe --signature base_64_signature
#### Using a custom key location:
# If your keys are sitting on disk somewhere
# (`NetSparkle_Ed25519.priv` and `NetSparkle_Ed25519.pub` -- both
# in base 64 and both on disk in the same folder!), you can pass in
# the path to these keys like this:
generate_appcast.exe --key-path path/to/keys/
netsparkle-generate-appcast --key-path path/to/keys/
#### Generating an app cast
# Generate an app cast for Windows executables that are sitting in a
# specific directory
generate_appcast.exe -a directory/for/appcast/output/ -e exe -b directory/with/binaries/ -o windows
netsparkle-generate-appcast -a directory/for/appcast/output/ -e exe -b directory/with/binaries/ -o windows
# Add change log info to your app cast
generate_appcast.exe -b binary/folder -p change/log/folder
netsparkle-generate-appcast -b binary/folder -p change/log/folder
# Customize download URL for binaries and change logs
generate_appcast.exe -b binary/folder -p change/log/folder -u https://example.com/downloads -p https://example.com/downloads/changelogs
netsparkle-generate-appcast -b binary/folder -p change/log/folder -u https://example.com/downloads -p https://example.com/downloads/changelogs
# Set your application name for the app cast
generate_appcast.exe -n ""My Awesome App"" -b binary/folder
netsparkle-generate-appcast -n ""My Awesome App"" -b binary/folder
# Use file versions in file names, e.g. for apps like ""My App 1.2.1.dmg""
generate_appcast.exe - n ""macOS version"" - o macos - f true - b binary / folder - e dmg
netsparkle-generate-appcast - n ""macOS version"" - o macos - f true - b binary / folder - e dmg
";
Console.Write(examples);
Expand Down

0 comments on commit a6bb8e8

Please sign in to comment.