mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Merge pull request #157 from AceVenturi/develop
Spelling and Pluralization in Commands.cs
This commit is contained in:
@@ -99,7 +99,7 @@ namespace Squirrel.CommandLine.Windows
|
|||||||
// do not allow the creation of packages without a SquirrelAwareApp inside
|
// do not allow the creation of packages without a SquirrelAwareApp inside
|
||||||
if (!awareExes.Any()) {
|
if (!awareExes.Any()) {
|
||||||
throw new ArgumentException(
|
throw new ArgumentException(
|
||||||
"There are no SquirreAwareApp's in the provided package. Please mark an exe " +
|
"There are no SquirrelAwareApps in the provided package. Please mark an exe " +
|
||||||
"as aware using the '-e' argument, or the assembly manifest.");
|
"as aware using the '-e' argument, or the assembly manifest.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -134,12 +134,12 @@ namespace Squirrel.CommandLine.Windows
|
|||||||
select new { Name = Path.GetFileName(pe.Key), Architecture = arch };
|
select new { Name = Path.GetFileName(pe.Key), Architecture = arch };
|
||||||
|
|
||||||
if (awareExes.Count > 0) {
|
if (awareExes.Count > 0) {
|
||||||
Log.Info($"There are {awareExes.Count} SquirrelAwareApp's. Binaries will be executed during install/update/uninstall hooks.");
|
Log.Info($"There are {awareExes.Count} SquirrelAwareApps. Binaries will be executed during install/update/uninstall hooks.");
|
||||||
foreach (var pe in peArch) {
|
foreach (var pe in peArch) {
|
||||||
Log.Info($" Detected SquirrelAwareApp '{pe.Name}' (arch: {pe.Architecture})");
|
Log.Info($" Detected SquirrelAwareApp '{pe.Name}' (arch: {pe.Architecture})");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Log.Warn("There are no SquirrelAwareApp's. No hooks will be executed during install/update/uninstall. " +
|
Log.Warn("There are no SquirrelAwareApps. No hooks will be executed during install/update/uninstall. " +
|
||||||
"Shortcuts will be created for every binary in package.");
|
"Shortcuts will be created for every binary in package.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user