mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
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:
@@ -60,7 +60,7 @@ fn main() -> Result<()> {
|
|||||||
fn main_inner() -> Result<()> {
|
fn main_inner() -> Result<()> {
|
||||||
#[rustfmt::skip]
|
#[rustfmt::skip]
|
||||||
let mut arg_config = Command::new("Setup")
|
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!(-s --silent "Hides all dialogs and answers 'yes' to all prompts"))
|
||||||
.arg(arg!(-v --verbose "Print debug messages to console"))
|
.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)))
|
.arg(arg!(-l --log <FILE> "Enable file logging and set location").required(false).value_parser(value_parser!(PathBuf)))
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ use velopack_bins::{*, shared::OperationWait};
|
|||||||
fn root_command() -> Command {
|
fn root_command() -> Command {
|
||||||
let cmd = Command::new("Update")
|
let cmd = Command::new("Update")
|
||||||
.version(env!("NGBV_VERSION"))
|
.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")
|
.subcommand(Command::new("apply")
|
||||||
.about("Applies a staged / prepared update, installing prerequisite runtimes if necessary")
|
.about("Applies a staged / prepared update, installing prerequisite runtimes if necessary")
|
||||||
.arg(arg!(--norestart "Do not restart the application after the update"))
|
.arg(arg!(--norestart "Do not restart the application after the update"))
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ namespace Velopack.Windows
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Contains static properties to access common supported runtimes, and a function to search for a runtime by name
|
/// Contains static properties to access common supported runtimes, and a function to search for a runtime by name
|
||||||
/// </summary>
|
/// </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
|
public static partial class Runtimes
|
||||||
{
|
{
|
||||||
/// <summary> Runtime for .NET Framework 4.5 </summary>
|
/// <summary> Runtime for .NET Framework 4.5 </summary>
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ public class WindowsPackCommandRunner : PackageBuilder<WindowsPackOptions>
|
|||||||
#pragma warning restore CS0618 // Type or member is obsolete
|
#pragma warning restore CS0618 // Type or member is obsolete
|
||||||
|
|
||||||
throw new UserInfoException(
|
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) {
|
foreach (var str in validated) {
|
||||||
|
|||||||
Reference in New Issue
Block a user