mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Fix example app
This commit is contained in:
@@ -31,4 +31,4 @@ echo "class Const { public const string RELEASES_DIR = @\"{REPLACE_ME}\"; } " >
|
||||
echo "Const.cs file reset"
|
||||
|
||||
echo "Building Velopack Release v$version"
|
||||
"$(dirname "$0")/../../build/Debug/net8.0/vpk" pack -u AvaloniaCrossPlat -v "$version" -o "$releasesDir" -p "$(dirname "$0")/publish" -i Velopack.icns
|
||||
"$(dirname "$0")/../../build/Debug/net6.0/vpk" pack -u AvaloniaCrossPlat -v "$version" -o "$releasesDir" -p "$(dirname "$0")/publish" -i Velopack.icns
|
||||
@@ -29,4 +29,4 @@ echo class Const { public const string RELEASES_DIR = @"{REPLACE_ME}"; } > "%~dp
|
||||
echo Const.cs file reset
|
||||
|
||||
echo Building Velopack Release v%version%
|
||||
%~dp0..\..\build\Debug\net8.0\vpk.exe pack -u AvaloniaCrossPlat -v %version% -o %releasesDir% -p %~dp0publish -f net8-x64-desktop
|
||||
%~dp0..\..\build\Debug\net6.0\vpk.exe pack -u AvaloniaCrossPlat -v %version% -o %releasesDir% -p %~dp0publish -f net8-x64-desktop
|
||||
@@ -109,7 +109,7 @@ public class WindowsReleasifyCommandRunner
|
||||
var versionSuffix = ReleaseEntryHelper.GetPkgSuffix(RuntimeOs.Windows, options.Channel);
|
||||
var versionOverride = String.IsNullOrWhiteSpace(versionSuffix)
|
||||
? zpkg.Version : SemanticVersion.Parse(zpkg.Version.ToFullString() + versionSuffix);
|
||||
NuspecManifest.SetMetadata(nuspecPath, options.EntryExecutableName, requiredFrameworks.Select(r => r.Id), options.TargetRuntime, versionOverride.ToFullString());
|
||||
NuspecManifest.SetMetadata(nuspecPath, mainExeName, requiredFrameworks.Select(r => r.Id), options.TargetRuntime, versionOverride.ToFullString());
|
||||
|
||||
// copy Update.exe into package, so it can also be updated in both full/delta packages
|
||||
// and do it before signing so that Update.exe will also be signed. It is renamed to
|
||||
|
||||
Reference in New Issue
Block a user