Make the build work in Jenkins #1

Merged
Retropikzel merged 28 commits from development into main 2024-10-12 00:42:35 -04:00
2 changed files with 12 additions and 2 deletions
Showing only changes of commit 90e81467b3 - Show all commits

View File

@ -16,8 +16,8 @@ and run it.
Add the installation path to your implementations load path: Add the installation path to your implementations load path:
%ProgramFiles%/snow %SNOW_LIBRARY_PATH%
For example with Gauche: For example with Gauche:
gosh.exe -r7 -A "%ProgramFiles%/snow" main.scm gosh.exe -r7 -A "%SNOW_LIBRARY_PATH%" main.scm

View File

@ -1,3 +1,5 @@
OutFile "setup_snow.exe" OutFile "setup_snow.exe"
InstallDir "$PROGRAMFILES64" InstallDir "$PROGRAMFILES64"
@ -6,5 +8,13 @@ Section
RMDir "$INSTDIR" RMDir "$INSTDIR"
File /r "snow" File /r "snow"
Push "$INSTDIR" Push "$INSTDIR"
!include "winmessages.nsh"
!define env_hklm 'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"'
!define env_hkcu 'HKCU "Environment"'
WriteRegExpandStr ${env_hklm} SNOW_LIBRARY_PATH "$PROGRAMFILES64/snow"
WriteRegExpandStr ${env_hkcu} SNOW_LIBRARY_PATH "$PROGRAMFILES64/snow"
SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
SectionEnd SectionEnd