Skip to content

Commit 2c126d6

Browse files
authored
PackageBuild: Update Paths
1 parent 7baa2cb commit 2c126d6

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

Build/PackageBuild.bat

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ if "%packSlim%"=="" set /p packSlim="Package Slim (no Pytorch) archive? (Y/N) "
1515
if "%packFull%"=="" set /p packFull="Package Full (with Pytorch for Ampere and older) archive? (Y/N) "
1616
if "%packWebBase%"=="" set /p packWebBase="Package web installer (base.7z) file? (Y/N) "
1717

18-
cd ..\CodeLegacy\bin\x64\Release
18+
cd ..\CodeLegacy\bin\RelGui
1919

20-
rmdir /s/q FlowframesApp%ver%
20+
rmdir /s /q FlowframesApp%ver%
2121
mkdir "FlowframesApp%ver%"
2222
mkdir "FlowframesApp%ver%/FlowframesData"
2323
mkdir "FlowframesApp%ver%/FlowframesData/pkgs"
@@ -36,32 +36,34 @@ echo %ver% >> "FlowframesApp%ver%/FlowframesData/ver.ini"
3636

3737
xcopy Flowframes.exe "FlowframesApp%ver%"
3838

39-
cd ../../../../Build
39+
xcopy Flowframes.pdb "FlowframesApp%ver%"
4040

41-
rmdir /s/q ..\CodeLegacy\bin\x64\Release\FlowframesApp%ver%\FlowframesData\logs
42-
del ..\CodeLegacy\bin\x64\Release\FlowframesApp%ver%\FlowframesData\config.ini
41+
cd ../../../Build
42+
43+
rmdir /s /q ..\CodeLegacy\bin\RelGui\FlowframesApp%ver%\FlowframesData\logs
44+
del ..\CodeLegacy\bin\RelGui\FlowframesApp%ver%\FlowframesData\config.ini
4345

4446

4547
IF /I "%packSlim%"=="Y" (
4648
rem PACK SLIM
47-
7za.exe a FF-%ver%-Slim.7z -m0=flzma2 -mx5 "..\CodeLegacy\bin\x64\Release\FlowframesApp%ver%"
49+
7za.exe a FF-%ver%-Slim.7z -m0=flzma2 -mx5 "..\CodeLegacy\bin\RelGui\FlowframesApp%ver%"
4850
)
4951

5052
echo 1
5153
IF /I "%packWebBase%"=="Y" (
5254
echo 2
5355
rem PACK WEB BASE
5456
rem mkdir "WebInstaller/%ver%/base.7z"
55-
7za.exe a "WebInstaller/%ver%/base.7z" -m0=flzma2 -mx7 "..\CodeLegacy\bin\x64\Release\FlowframesApp%ver%\*"
57+
7za.exe a "WebInstaller/%ver%/base.7z" -m0=flzma2 -mx7 "..\CodeLegacy\bin\RelGui\FlowframesApp%ver%\*"
5658
)
5759

5860
IF /I "%packFull%"=="Y" (
59-
xcopy "../pkgs/py-amp" "..\CodeLegacy\bin\x64\Release\FlowframesApp%ver%\FlowframesData\pkgs\py-amp" /E /I
60-
7za.exe a FF-%ver%-Full-RTX3000.7z -m0=flzma2 -mx7 "..\CodeLegacy\bin\x64\Release\FlowframesApp%ver%"
61-
rmdir /s/q ..\CodeLegacy\bin\x64\Release\FlowframesApp%ver%\FlowframesData\pkgs\py-amp
61+
xcopy "../pkgs/py-amp" "..\CodeLegacy\bin\RelGui\FlowframesApp%ver%\FlowframesData\pkgs\py-amp" /E /I
62+
7za.exe a FF-%ver%-Full-RTX3000.7z -m0=flzma2 -mx7 "..\CodeLegacy\bin\RelGui\FlowframesApp%ver%"
63+
rmdir /s /q ..\CodeLegacy\bin\RelGui\FlowframesApp%ver%\FlowframesData\pkgs\py-amp
6264
)
6365

64-
rmdir /s/q ..\CodeLegacy\bin\x64\Release\FlowframesApp%ver%
66+
rmdir /s /q ..\CodeLegacy\bin\RelGui\FlowframesApp%ver%
6567

6668

6769
rem pause

0 commit comments

Comments
 (0)