mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-15 16:07:45 +01:00
PackageBuild: Use CodeLegacy (.NET Framework) dir
This commit is contained in:
@@ -10,36 +10,38 @@ set /p packSlim="Package Slim (no Pytorch) archive? (Y/N) "
|
|||||||
set /p packFull="Package Full (with Pytorch for Ampere and older) archive? (Y/N) "
|
set /p packFull="Package Full (with Pytorch for Ampere and older) archive? (Y/N) "
|
||||||
set /p packWebBase="Package web installer (base.7z) file? (Y/N) "
|
set /p packWebBase="Package web installer (base.7z) file? (Y/N) "
|
||||||
|
|
||||||
cd ..\Code\bin\x64\Release
|
cd /D ..\CodeLegacy\bin\packed
|
||||||
|
|
||||||
rmdir /s/q FlowframesApp%ver%
|
rmdir /s/q FlowframesApp%ver%
|
||||||
mkdir "FlowframesApp%ver%"
|
mkdir "FlowframesApp%ver%"
|
||||||
mkdir "FlowframesApp%ver%/FlowframesData"
|
mkdir "FlowframesApp%ver%/FlowframesData"
|
||||||
mkdir "FlowframesApp%ver%/FlowframesData/pkgs"
|
mkdir "FlowframesApp%ver%/FlowframesData/pkgs"
|
||||||
|
|
||||||
rem xcopy "../../../../pkgs" "FlowframesApp%ver%/FlowframesData\pkgs\" /E
|
rem xcopy "../../../pkgs" "FlowframesApp%ver%/FlowframesData\pkgs\" /E
|
||||||
xcopy "../../../../pkgs/av" "FlowframesApp%ver%/FlowframesData\pkgs\av" /E /I
|
xcopy "../../../pkgs/av" "FlowframesApp%ver%/FlowframesData\pkgs\av" /E /I
|
||||||
xcopy "../../../../pkgs/dain-ncnn" "FlowframesApp%ver%/FlowframesData\pkgs\dain-ncnn" /E /I
|
xcopy "../../../pkgs/dain-ncnn" "FlowframesApp%ver%/FlowframesData\pkgs\dain-ncnn" /E /I
|
||||||
xcopy "../../../../pkgs/licenses" "FlowframesApp%ver%/FlowframesData\pkgs\licenses" /E /I
|
xcopy "../../../pkgs/licenses" "FlowframesApp%ver%/FlowframesData\pkgs\licenses" /E /I
|
||||||
xcopy "../../../../pkgs/rife-cuda" "FlowframesApp%ver%/FlowframesData\pkgs\rife-cuda" /E /I
|
xcopy "../../../pkgs/rife-cuda" "FlowframesApp%ver%/FlowframesData\pkgs\rife-cuda" /E /I
|
||||||
xcopy "../../../../pkgs/rife-ncnn" "FlowframesApp%ver%/FlowframesData\pkgs\rife-ncnn" /E /I
|
xcopy "../../../pkgs/rife-ncnn" "FlowframesApp%ver%/FlowframesData\pkgs\rife-ncnn" /E /I
|
||||||
xcopy "../../../../pkgs/flavr-cuda" "FlowframesApp%ver%/FlowframesData\pkgs\flavr-cuda" /E /I
|
xcopy "../../../pkgs/flavr-cuda" "FlowframesApp%ver%/FlowframesData\pkgs\flavr-cuda" /E /I
|
||||||
xcopy "../../../../pkgs/xvfi-cuda" "FlowframesApp%ver%/FlowframesData\pkgs\xvfi-cuda" /E /I
|
xcopy "../../../pkgs/xvfi-cuda" "FlowframesApp%ver%/FlowframesData\pkgs\xvfi-cuda" /E /I
|
||||||
xcopy "../../../../pkgs/rife-ncnn-vs" "FlowframesApp%ver%/FlowframesData\pkgs\rife-ncnn-vs" /E /I
|
xcopy "../../../pkgs/rife-ncnn-vs" "FlowframesApp%ver%/FlowframesData\pkgs\rife-ncnn-vs" /E /I
|
||||||
|
|
||||||
echo %ver% >> "FlowframesApp%ver%/FlowframesData/ver.ini"
|
echo %ver% >> "FlowframesApp%ver%/FlowframesData/ver.ini"
|
||||||
|
|
||||||
xcopy Flowframes.exe "FlowframesApp%ver%"
|
xcopy Flowframes.exe "FlowframesApp%ver%"
|
||||||
|
xcopy FlowframesCmd.exe "FlowframesApp%ver%"
|
||||||
|
xcopy Magick.Native-Q8-x64.dll "FlowframesApp%ver%"
|
||||||
|
|
||||||
cd ../../../../Build
|
cd /D ../../../Build
|
||||||
|
|
||||||
rmdir /s/q ..\Code\bin\x64\Release\FlowframesApp%ver%\FlowframesData\logs
|
rmdir /s/q ..\CodeLegacy\bin\packed\FlowframesApp%ver%\FlowframesData\logs
|
||||||
del ..\Code\bin\x64\Release\FlowframesApp%ver%\FlowframesData\config.ini
|
del ..\CodeLegacy\bin\packed\FlowframesApp%ver%\FlowframesData\config.ini
|
||||||
|
|
||||||
|
|
||||||
IF /I "%packSlim%"=="Y" (
|
IF /I "%packSlim%"=="Y" (
|
||||||
rem PACK SLIM
|
rem PACK SLIM
|
||||||
7za.exe a FF-%ver%-Slim.7z -m0=flzma2 -mx5 "..\Code\bin\x64\Release\FlowframesApp%ver%"
|
7za.exe a FF-%ver%-Slim.7z -m0=flzma2 -mx5 "..\CodeLegacy\bin\packed\FlowframesApp%ver%"
|
||||||
)
|
)
|
||||||
|
|
||||||
echo 1
|
echo 1
|
||||||
@@ -47,16 +49,16 @@ IF /I "%packWebBase%"=="Y" (
|
|||||||
echo 2
|
echo 2
|
||||||
rem PACK WEB BASE
|
rem PACK WEB BASE
|
||||||
rem mkdir "WebInstaller/%ver%/base.7z"
|
rem mkdir "WebInstaller/%ver%/base.7z"
|
||||||
7za.exe a "WebInstaller/%ver%/base.7z" -m0=flzma2 -mx7 "..\Code\bin\x64\Release\FlowframesApp%ver%\*"
|
7za.exe a "WebInstaller/%ver%/base.7z" -m0=flzma2 -mx7 "..\CodeLegacy\bin\packed\FlowframesApp%ver%\*"
|
||||||
)
|
)
|
||||||
|
|
||||||
IF /I "%packFull%"=="Y" (
|
IF /I "%packFull%"=="Y" (
|
||||||
xcopy "../pkgs/py-amp" "..\Code\bin\x64\Release\FlowframesApp%ver%\FlowframesData\pkgs\py-amp" /E /I
|
xcopy "../pkgs/py-amp" "..\CodeLegacy\bin\packed\FlowframesApp%ver%\FlowframesData\pkgs\py-amp" /E /I
|
||||||
7za.exe a FF-%ver%-Full-RTX3000.7z -m0=flzma2 -mx7 "..\Code\bin\x64\Release\FlowframesApp%ver%"
|
7za.exe a FF-%ver%-Full-RTX3000.7z -m0=flzma2 -mx7 "..\CodeLegacy\bin\packed\FlowframesApp%ver%"
|
||||||
rmdir /s/q ..\Code\bin\x64\Release\FlowframesApp%ver%\FlowframesData\pkgs\py-amp
|
rmdir /s/q ..\CodeLegacy\bin\packed\FlowframesApp%ver%\FlowframesData\pkgs\py-amp
|
||||||
)
|
)
|
||||||
|
|
||||||
rmdir /s/q ..\Code\bin\x64\Release\FlowframesApp%ver%
|
rmdir /s/q ..\CodeLegacy\bin\packed\FlowframesApp%ver%
|
||||||
|
|
||||||
|
|
||||||
rem pause
|
rem pause
|
||||||
@@ -141,7 +141,7 @@ namespace Flowframes.Main
|
|||||||
passes = false;
|
passes = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(passes && (s.dedupe && I.currentMediaFile.IsVfr))
|
if(passes && s.dedupe && I.currentMediaFile.IsVfr)
|
||||||
{
|
{
|
||||||
UiUtils.ShowMessageBox($"Using de-duplication on VFR videos is currently not supported.\n\nGo to Quick Settings and either disable De-Duplication, or force VFR off.");
|
UiUtils.ShowMessageBox($"Using de-duplication on VFR videos is currently not supported.\n\nGo to Quick Settings and either disable De-Duplication, or force VFR off.");
|
||||||
passes = false;
|
passes = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user