mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-09-18 20:04:55 -04:00
Removed sigcheck
Use powershell to extract the version information
This commit is contained in:
parent
c05f5e8329
commit
1d298e20ba
3 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ set VersionMinor=
|
|||
set VersionMini=
|
||||
set VersionExtra=
|
||||
|
||||
for /F "tokens=1,2,3,* delims=.-" %%A in ('%EnvToolsPath%\sigcheck.exe -nobanner -n %Executable%') do (
|
||||
for /F "USEBACKQ tokens=1,2,3,* delims=.-" %%A in (`powershell -NoLogo -NoProfile -Command ^(Get-Item "%Executable%"^).VersionInfo.FileVersion`) do (
|
||||
set VersionMajor=%%A
|
||||
set VersionMinor=%%B
|
||||
set VersionMini=%%C
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue