Gitlab will migrate to a new storage backend starting 0300 UTC on 2020-04-04. We do not anticipate a maintenance window for this migration. Performance may be impacted over the weekend. Thanks for your patience.

Commit 93d6d06b authored by Daniel Brown's avatar Daniel Brown

adding new Windows setup script

parent cd6075d2
File added
@echo off @echo off
CD %~dp0
:: BatchGotAdmin setenv -ua PATH %CD%
:------------------------------------- setenv -ua KATINI %CD%\kat.ini
REM --> Check for permissions setenv -ua FINESSE_DIR %CD%
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" setenv -ua CYGWIN nodosfilewarning
REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
echo Requesting administrative privileges...
goto UACPrompt
) else ( goto gotAdmin )
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
set params = %*:"=""
echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
del "%temp%\getadmin.vbs"
exit /B
pushd "%CD%"
CD /D "%~dp0"
CD %~dp0
setx PATH "%CD%;%PATH%"
setx KATINI "%CD%\kat.ini"
setx CYGWIN "%CYGWIN% nodosfilewarning"
echo --------------------------------------- echo ---------------------------------------
echo Installed Finesse! echo Installed Finesse!
...@@ -1080,6 +1080,7 @@ void compute_mirror_knm_romhom(mirror_t *mirror, double nr1, double nr2, int mis ...@@ -1080,6 +1080,7 @@ void compute_mirror_knm_romhom(mirror_t *mirror, double nr1, double nr2, int mis
} }
} }
// store q values used for computation for later comparison
memcpy(&mirror->prev_rom_q, kq, sizeof(mirror_knm_q_t)); memcpy(&mirror->prev_rom_q, kq, sizeof(mirror_knm_q_t));
endTimer(timer); endTimer(timer);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment