.
This commit is contained in:
parent
9ae1d25d0f
commit
3b63b0de51
34
optional/install-fonts.cmd
Normal file
34
optional/install-fonts.cmd
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
@echo off
|
||||||
|
call check-for-admin
|
||||||
|
if %ERRORLEVEL% neq 0 exit /b
|
||||||
|
|
||||||
|
set SOFTWARE=..\software
|
||||||
|
|
||||||
|
echo ####### %0 #######
|
||||||
|
|
||||||
|
echo.
|
||||||
|
echo installing Franklin Gothic Medium font for LEXWARE ...
|
||||||
|
if NOT EXIST %SOFTWARE%\framd.ttf (
|
||||||
|
|
||||||
|
echo ERROR: %SOFTWARE%\framd.ttf not found!
|
||||||
|
exit /b
|
||||||
|
|
||||||
|
) else (
|
||||||
|
|
||||||
|
copy /Y %SOFTWARE%\framd.ttf %WINDIW%\Fonts
|
||||||
|
|
||||||
|
echo registering font ...
|
||||||
|
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" ^
|
||||||
|
/v "Franklin Gothic Medium (TrueType)" /t REG_SZ /d framd.ttf /f
|
||||||
|
reg add "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\Fonts" /v ^
|
||||||
|
"Franklin Gothic Medium (TrueType)" /t REG_SZ /d framd.ttf /f
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
echo IMPORTANT: please reboot your system to activate the fonts!
|
||||||
|
echo.
|
||||||
|
|
||||||
|
echo ####### %0 #######
|
||||||
|
|
||||||
|
pause
|
||||||
|
|
1
software/.gitignore
vendored
1
software/.gitignore
vendored
@ -14,4 +14,5 @@
|
|||||||
*.msu
|
*.msu
|
||||||
*.part
|
*.part
|
||||||
*.key
|
*.key
|
||||||
|
*.ttf
|
||||||
|
|
||||||
|
@ -11,4 +11,4 @@ dummy VMRC-setup.exe
|
|||||||
dummy snapshot64_licensed.exe
|
dummy snapshot64_licensed.exe
|
||||||
dummy wincmd.key
|
dummy wincmd.key
|
||||||
dummy purebasic-setup_licensed.exe
|
dummy purebasic-setup_licensed.exe
|
||||||
|
dummy framd.ttf
|
||||||
|
|
Loading…
Reference in New Issue
Block a user