diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 63f347042d..652b721e57 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,8 +69,8 @@ jobs: shell: bash run: | cp LICENSE.txt README.md README.RU.md README.PL.md ./Far3_${{ matrix.platform }}/Plugins/NetBox/ - 7z a ${{ env.netbox_name }} ./Far3_${{ matrix.platform }}/Plugins/* -xr!*.pdb - 7z a ${{ env.netbox_pdb_name }} ./Far3_${{ matrix.platform }}/Plugins/NetBox/NetBox.pdb + 7z a -m0=LZMA -mf=off -mx9 ${{ env.netbox_name }} ./Far3_${{ matrix.platform }}/Plugins/* -xr!*.pdb + 7z a -m0=LZMA -mf=off -mx9 ${{ env.netbox_pdb_name }} ./Far3_${{ matrix.platform }}/Plugins/NetBox/NetBox.pdb - name: Upload result uses: actions/upload-artifact@v2 diff --git a/src/NetBox/scripts/make_dist.cmd b/src/NetBox/scripts/make_dist.cmd index c4bd2264af..430feeebb5 100644 --- a/src/NetBox/scripts/make_dist.cmd +++ b/src/NetBox/scripts/make_dist.cmd @@ -43,7 +43,7 @@ copy ..\..\%FARVER%_%PLUGINARCH%\Plugins\%PLUGINNAME%\%PLUGINNAME%.dll %PKGDIRAR if exist %PKGNAME% del %PKGNAME% if exist ../../build/%PLUGINNAME%/%FARVER%/%PLUGINARCH% ( if exist "C:\Program Files\7-Zip\7z.exe" ( - call "C:\Program Files\7-Zip\7z.exe" a -mx9 -t7z -r ../../build/%PKGNAME% ../../build/%PLUGINNAME%/%FARVER%/%PLUGINARCH%/* > NUL + call "C:\Program Files\7-Zip\7z.exe" a -m0=LZMA -mf=off -mx9 -r ../../build/%PKGNAME% ../../build/%PLUGINNAME%/%FARVER%/%PLUGINARCH%/* > NUL if errorlevel 1 echo Error creating archive & exit 1 /b @rem rmdir /S /Q %PKGDIRARCH% echo Package %PKGNAME% created