mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
Create Build-Distributable-SlimOnly.bat
This commit is contained in:
43
Build/Build-Distributable-SlimOnly.bat
Normal file
43
Build/Build-Distributable-SlimOnly.bat
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
@echo off
|
||||||
|
|
||||||
|
echo ===============================
|
||||||
|
echo == NMKD'S FLOWFRAMES BUILDER ==
|
||||||
|
echo ===============================
|
||||||
|
echo.
|
||||||
|
echo This script makes a build ready for distribution by creating three 7z archives, without python, with pytorch for Turing, and with pytorch for Ampere.
|
||||||
|
echo.
|
||||||
|
|
||||||
|
set "ver=16"
|
||||||
|
set /p ver="Enter the version number: "
|
||||||
|
|
||||||
|
cd ..\Code\bin\x64\Release
|
||||||
|
|
||||||
|
rmdir /s/q FlowframesApp%ver%
|
||||||
|
mkdir "FlowframesApp%ver%"
|
||||||
|
mkdir "FlowframesApp%ver%/FlowframesData"
|
||||||
|
mkdir "FlowframesApp%ver%/FlowframesData/pkgs"
|
||||||
|
|
||||||
|
rem xcopy "../../../../pkgs" "FlowframesApp%ver%/FlowframesData\pkgs\" /E
|
||||||
|
xcopy "../../../../pkgs/av" "FlowframesApp%ver%/FlowframesData\pkgs\av" /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/rife-cuda" "FlowframesApp%ver%/FlowframesData\pkgs\rife-cuda" /E /I
|
||||||
|
xcopy "../../../../pkgs/rife-ncnn" "FlowframesApp%ver%/FlowframesData\pkgs\rife-ncnn" /E /I
|
||||||
|
|
||||||
|
echo %ver% >> "FlowframesApp%ver%/FlowframesData/ver.ini"
|
||||||
|
|
||||||
|
xcopy Flowframes.exe "FlowframesApp%ver%"
|
||||||
|
|
||||||
|
cd ../../../../Build
|
||||||
|
|
||||||
|
rmdir /s/q ..\Code\bin\x64\Release\FlowframesApp%ver%\FlowframesData\logs
|
||||||
|
del ..\Code\bin\x64\Release\FlowframesApp%ver%\FlowframesData\config.ini
|
||||||
|
|
||||||
|
|
||||||
|
7za.exe a FF-%ver%-Slim.7z -m0=flzma2 -mx5 "..\Code\bin\x64\Release\FlowframesApp%ver%"
|
||||||
|
|
||||||
|
|
||||||
|
rmdir /s/q ..\Code\bin\x64\Release\FlowframesApp%ver%
|
||||||
|
|
||||||
|
|
||||||
|
rem pause
|
||||||
Reference in New Issue
Block a user