UPD: Enable Windows Media Player plugin

This commit is contained in:
Alexander Koblov 2021-08-29 17:15:09 +03:00
commit 7c8c7d46ca
4 changed files with 9 additions and 1 deletions

View file

@ -51,7 +51,8 @@ const
WindowsPlugins: array[1..2] of String =
(
'plugins\wcx\sevenzip\src\SevenZipWcx.lpi',
'plugins\wlx\preview\src\preview.lpi'
'plugins\wlx\preview\src\preview.lpi',
'plugins\wlx\wmp\src\wmp.lpi'
);
DeleteFiles: array[1..6] of String =

View file

@ -25,6 +25,7 @@ mkdir %DC_INSTALL_DIR%\plugins\wfx\ftp
rem WLX plugins directories
mkdir %DC_INSTALL_DIR%\plugins\wlx
mkdir %DC_INSTALL_DIR%\plugins\wlx\preview
mkdir %DC_INSTALL_DIR%\plugins\wlx\wmp
mkdir %DC_INSTALL_DIR%\doc
rem Copy directories
@ -62,3 +63,4 @@ copy plugins\wfx\ftp\ftp.wfx %DC_INSTALL_DIR%\plugins\wfx\ftp\
xcopy /E plugins\wfx\ftp\language %DC_INSTALL_DIR%\plugins\wfx\ftp\language\
rem WLX
copy plugins\wlx\preview\preview.wlx %DC_INSTALL_DIR%\plugins\wlx\preview\
copy plugins\wlx\wmp\wmp.wlx %DC_INSTALL_DIR%\plugins\wlx\wmp\

View file

@ -25,6 +25,7 @@ rem WFX plugins
lazbuild wfx\ftp\src\ftp.lpi %DC_ARCH%
rem WLX plugins
lazbuild wlx\wmp\src\wmp.lpi %DC_ARCH%
lazbuild wlx\preview\src\preview.lpi %DC_ARCH%
rem Return from plugins directory

View file

@ -335,6 +335,10 @@ begin
begin
gWlxPlugins.Add(Folder + 'preview' + PathDelim + 'preview.wlx');
end;
if gWlxPlugins.IndexOfName('wmp') < 0 then
begin
gWlxPlugins.Add(Folder + 'wmp' + PathDelim + 'wmp.wlx');
end;
{$ENDIF}
{$ENDIF}