Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IF [%RES_HACKER%]==[] SET RES_HACKER="C:\Program Files (x86)\Resource Hacker\ResourceHacker.exe"
- IF [%GO_RC%]==[] SET GO_RC="%~dp0extra\GoRC.exe"
- echo.
- echo ***********************************
- echo setup EXE info...
- echo ***********************************
- echo.
- xcopy .\templates\version-info.rc .\build\ /y > nul
- powershell -Command "(gc .\build\version-info.rc) -replace '#FILE_VER', '%FILE_VER%' | Out-File -Encoding UTF8 .\build\version-info.rc"
- powershell -Command "(gc .\build\version-info.rc) -replace '#PRODUCT_VER', '%PRODUCT_VER%' | Out-File -Encoding UTF8 .\build\version-info.rc"
- %GO_RC% /fo .\build\version-info.res .\build\version-info.rc
- %RES_HACKER% -add ".\build\MyOffice-Files-32\MyOffice Files.exe", ".\build\MyOffice-Files-32\MyOffice Files.exe", .\build\version-info.res,,,
- %RES_HACKER% -add ".\build\MyOffice-Files-64\MyOffice Files.exe", ".\build\MyOffice-Files-64\MyOffice Files.exe", .\build\version-info.res,,,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement