summaryrefslogtreecommitdiff
path: root/tools/build_scripts/z2_PackPluginUpdater.bat
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-03-21 15:55:39 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-03-21 15:55:39 +0300
commit0bd6588389e5cc1b86407a5861d5acbcd0f036d2 (patch)
tree2c976bea344340ebcdf6b3dff071546162c22cb1 /tools/build_scripts/z2_PackPluginUpdater.bat
parent6445ee38941d5fffef72fa123078f16a87acbadb (diff)
fix for packing NewStory
Diffstat (limited to 'tools/build_scripts/z2_PackPluginUpdater.bat')
-rw-r--r--tools/build_scripts/z2_PackPluginUpdater.bat9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/build_scripts/z2_PackPluginUpdater.bat b/tools/build_scripts/z2_PackPluginUpdater.bat
index 0aa448c1c0..f64c8264e9 100644
--- a/tools/build_scripts/z2_PackPluginUpdater.bat
+++ b/tools/build_scripts/z2_PackPluginUpdater.bat
@@ -64,7 +64,6 @@ for /f %%a in ('dir plugins\*.dll /B /L') do (
if /I "%%a"=="MirLua.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Scripts\*.dll" "Libs\lua*.dll")
if /I "%%a"=="mRadio.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_mRadio.dll" "Plugins\BASS\*.dll")
if /I "%%a"=="NewsAggregator.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_NewsAggregator.dll")
- if /I "%%a"=="NewStory.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "libs\libTextControl.mir")
if /I "%%a"=="NotifyAnything.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "SendLog*.exe")
if /I "%%a"=="PluginUpdater.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "pu_stub.exe")
if /I "%%a"=="PopupPlus.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "libs\libTextControl.mir")
@@ -84,6 +83,14 @@ for /f %%a in ('dir plugins\*.dll /B /L') do (
if /I "%%a"=="Weather.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_Weather.dll" "Plugins\Weather\*.ini")
if /I "%%a"=="WhatsApp.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Libs\libsignal.mir" "libs\libqrencode.mir")
if /I "%%a"=="YAMN.dll" (%ZipIt% "%Arch%\Plugins\%%~na.zip" "Icons\Proto_YAMN.dll")
+ if /I "%%a"=="NewStory.dll" (
+ ren Libs Libs2
+ mkdir Libs
+ xcopy /S /V /Y "../../redist/x%tp%/cairo.dll" "Libs"
+ %ZipIt% "%Arch%\Plugins\%%~na.zip" "Libs\*.dll"
+ rd /S /Q Libs
+ ren Libs2 Libs
+ )
if /I "%%a"=="Jingle.dll" (
ren Libs Libs2
mkdir Libs