-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e900423
commit ef9dd14
Showing
3 changed files
with
100 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,28 @@ | ||
C:\lazarus\fpc\3.0.4\bin\x86_64-win64\fpc.exe main.pas -o"fpclock.exe" | ||
@echo off | ||
echo Starting... | ||
|
||
set ver=3.0.4 | ||
|
||
echo Attempting to install from Lazarus FPC executable... | ||
call C:\lazarus\fpc\%ver%\bin\x86_64-win64\fpc.exe main.pas -o"fpclock.exe" | ||
if %ERRORLEVEL% == 0 goto :next | ||
|
||
echo Failed. Attempting to install from a non-Lazarus FPC executable... | ||
call C:\fpc\%ver%\bin\x86_64-win64\fpc.exe main.pas -o"fpclock.exe" | ||
if %ERRORLEVEL% == 0 goto :next | ||
|
||
echo Failed. Maybe there is FPC in Windows PATH... | ||
fpc.exe main.pas -o"fpclock.exe" | ||
if %ERRORLEVEL% == 0 goto :next | ||
echo Failed. Could not find a FPC in the %ver% version. | ||
goto :end | ||
|
||
:next | ||
echo. | ||
echo. | ||
echo ================================================================ | ||
echo Done. | ||
echo ================================================================ | ||
|
||
:end | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters