From 638203a937c4b602902098504bc7a85e07d1390d Mon Sep 17 00:00:00 2001 From: Kevin Bost Date: Fri, 17 Jan 2025 14:22:35 -0800 Subject: [PATCH] Fixing URL links The bootstrapping link has been brokens since we moved docs to its own repo. This instead uses the docs web page address. Redirected CLI output to point to the web site rather than the repo URL. --- src/bins/src/setup.rs | 2 +- src/bins/src/update.rs | 2 +- src/lib-csharp/Windows/Runtimes.cs | 2 +- .../Commands/WindowsPackCommandRunner.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bins/src/setup.rs b/src/bins/src/setup.rs index 685eccaf..4aeda249 100644 --- a/src/bins/src/setup.rs +++ b/src/bins/src/setup.rs @@ -60,7 +60,7 @@ fn main() -> Result<()> { fn main_inner() -> Result<()> { #[rustfmt::skip] let mut arg_config = Command::new("Setup") - .about(format!("Velopack Setup ({}) installs applications.\nhttps://github.com/velopack/velopack", env!("NGBV_VERSION"))) + .about(format!("Velopack Setup ({}) installs applications.\nhttps:/velopack.io", env!("NGBV_VERSION"))) .arg(arg!(-s --silent "Hides all dialogs and answers 'yes' to all prompts")) .arg(arg!(-v --verbose "Print debug messages to console")) .arg(arg!(-l --log "Enable file logging and set location").required(false).value_parser(value_parser!(PathBuf))) diff --git a/src/bins/src/update.rs b/src/bins/src/update.rs index 7cf16529..58c4528e 100644 --- a/src/bins/src/update.rs +++ b/src/bins/src/update.rs @@ -14,7 +14,7 @@ use velopack_bins::{*, shared::OperationWait}; fn root_command() -> Command { let cmd = Command::new("Update") .version(env!("NGBV_VERSION")) - .about(format!("Velopack Updater ({}) manages packages and installs updates.\nhttps://github.com/velopack/velopack", env!("NGBV_VERSION"))) + .about(format!("Velopack Updater ({}) manages packages and installs updates.\nhttps:/velopack.io", env!("NGBV_VERSION"))) .subcommand(Command::new("apply") .about("Applies a staged / prepared update, installing prerequisite runtimes if necessary") .arg(arg!(--norestart "Do not restart the application after the update")) diff --git a/src/lib-csharp/Windows/Runtimes.cs b/src/lib-csharp/Windows/Runtimes.cs index 20ee0a4c..f0cb6388 100644 --- a/src/lib-csharp/Windows/Runtimes.cs +++ b/src/lib-csharp/Windows/Runtimes.cs @@ -7,7 +7,7 @@ namespace Velopack.Windows /// /// Contains static properties to access common supported runtimes, and a function to search for a runtime by name /// - [Obsolete("These classes are no longer used by Velopack, and does not represent the current supported runtimes. https://github.com/velopack/velopack/blob/master/docs/bootstrapping.md")] + [Obsolete("These classes are no longer used by Velopack, and does not represent the current supported runtimes. https://docs.velopack.io/packaging/bootstrapping")] public static partial class Runtimes { /// Runtime for .NET Framework 4.5 diff --git a/src/vpk/Velopack.Packaging.Windows/Commands/WindowsPackCommandRunner.cs b/src/vpk/Velopack.Packaging.Windows/Commands/WindowsPackCommandRunner.cs index 7eb33ddc..b4770fa4 100644 --- a/src/vpk/Velopack.Packaging.Windows/Commands/WindowsPackCommandRunner.cs +++ b/src/vpk/Velopack.Packaging.Windows/Commands/WindowsPackCommandRunner.cs @@ -169,7 +169,7 @@ public class WindowsPackCommandRunner : PackageBuilder #pragma warning restore CS0618 // Type or member is obsolete throw new UserInfoException( - $"The framework/runtime dependency '{str}' is not valid. See https://github.com/velopack/velopack/blob/master/docs/bootstrapping.md"); + $"The framework/runtime dependency '{str}' is not valid. See https://docs.velopack.io/packaging/bootstrapping"); } foreach (var str in validated) {