File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33
44#define MyAppName " NETworkManager"
5- #define MyAppVersion " 2021.2.15 .0"
5+ #define MyAppVersion " 2021.2.17 .0"
66#define MyAppPublisher " BornToBeRoot"
77#define MyAppURL " https://github.com/BornToBeRoot/NETworkManager/"
88#define MyAppExeName " NETworkManager.exe"
9+ #define MyAppCopyright " Copyright (C) 2016-2021 BornToBeRoot"
910
1011[Setup]
1112; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
1213; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
1314AppId = {{8028080F-B785-4A74-A243-3D63467880A6}
1415AppName = {#MyAppName }
1516AppVersion = {#MyAppVersion}
17+ VersionInfoVersion = {#MyAppVersion}
18+ AppCopyright = {#MyAppCopyright}
1619;AppVerName={#MyAppName} {#MyAppVersion}
1720AppPublisher = {#MyAppPublisher}
1821AppPublisherURL = {#MyAppURL}
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ if (Test-Path -Path $BuildPath) {
88
99# Set the version based on the current date (e.g. 2021.2.15.0)
1010$Date = Get-Date
11- $VersionString = " $ ( $Date.Year ) .$ ( $Date.Month ) .$ ( $Date.Day ) .0"
11+ $Patch = 0
12+ $VersionString = " $ ( $Date.Year ) .$ ( $Date.Month ) .$ ( $Date.Day ) .$Patch "
1213
1314# Set assembly version
1415$PatternVersion = ' \[assembly: AssemblyVersion\("(.*)"\)\]'
7273}
7374
7475# SHA256 file hash
75- Get-ChildItem - Path $BuildPath | Where-Object {$_.Name.EndsWith (" .zip" ) -or $_.Name.EndsWith (" .exe" )} | Get-FileHash
76+ foreach ($hash in Get-ChildItem - Path $BuildPath | Where-Object {$_.Name.EndsWith (" .zip" ) -or $_.Name.EndsWith (" .exe" )} | Get-FileHash )
77+ {
78+ " $ ( $hash.Algorithm ) | $ ( $hash.Hash ) | $ ( [System.IO.Path ]::GetFileName($hash.Path )) " | Out-File - FilePath " $BuildPath \NETworkManager_$ ( $Version ) _Hash.txt" - Encoding utf8 - Append
79+ }
7680
77- Write-Host " Build finished! All files are here: $BuildPath " - ForegroundColor Green
81+ Write-Host " Build finished! All files are here: $BuildPath " - ForegroundColor Green
You can’t perform that action at this time.
0 commit comments