Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. IF [%RES_HACKER%]==[] SET RES_HACKER="C:\Program Files (x86)\Resource Hacker\ResourceHacker.exe"
  2. IF [%GO_RC%]==[] SET GO_RC="%~dp0extra\GoRC.exe"
  3.  
  4.  
  5. echo.
  6. echo ***********************************
  7. echo setup EXE info...
  8. echo ***********************************
  9. echo.
  10. xcopy .\templates\version-info.rc .\build\ /y > nul
  11. powershell -Command "(gc .\build\version-info.rc) -replace '#FILE_VER', '%FILE_VER%' | Out-File -Encoding UTF8 .\build\version-info.rc"
  12. powershell -Command "(gc .\build\version-info.rc) -replace '#PRODUCT_VER', '%PRODUCT_VER%' | Out-File -Encoding UTF8 .\build\version-info.rc"
  13.  
  14. %GO_RC% /fo .\build\version-info.res .\build\version-info.rc
  15.  
  16. %RES_HACKER% -add ".\build\MyOffice-Files-32\MyOffice Files.exe", ".\build\MyOffice-Files-32\MyOffice Files.exe", .\build\version-info.res,,,
  17. %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