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.
This commit is contained in:
Kevin Bost
2025-01-17 14:22:35 -08:00
committed by Caelan
parent 7874722409
commit 638203a937
4 changed files with 4 additions and 4 deletions

View File

@@ -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 <FILE> "Enable file logging and set location").required(false).value_parser(value_parser!(PathBuf)))

View File

@@ -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"))

View File

@@ -7,7 +7,7 @@ namespace Velopack.Windows
/// <summary>
/// Contains static properties to access common supported runtimes, and a function to search for a runtime by name
/// </summary>
[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
{
/// <summary> Runtime for .NET Framework 4.5 </summary>

View File

@@ -169,7 +169,7 @@ public class WindowsPackCommandRunner : PackageBuilder<WindowsPackOptions>
#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) {