Compare commits
4 Commits
33262d74d3
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 49fa5f707f | |||
| 4dd33a0142 | |||
| 4892f59089 | |||
| 912f1d07fa |
@@ -70,6 +70,8 @@ mkdir "%projectRoot%\Deliverable\"
|
||||
mkdir "%projectRoot%\Pr\RnR\RIFE"
|
||||
|
||||
:: Add project root additions
|
||||
mkdir "%projectRoot%\Reference\audio"
|
||||
mkdir "%projectRoot%\Reference\translations"
|
||||
if not exist "%projectRoot%\Renders" mkdir "%projectRoot%\Renders"
|
||||
|
||||
:: Place helper scripts into Renders (config lives in .config\, deployed by CfgDeploy below)
|
||||
@@ -99,6 +101,15 @@ if errorlevel 1 (
|
||||
echo [WARNING] Config workflow deployment failed. You may need to run CfgDeploy.ps1 manually.
|
||||
) else (
|
||||
echo Config workflow deployed successfully.
|
||||
pushd "%projectRoot%" >nul
|
||||
git add .
|
||||
git commit -m "cfgdeploy"
|
||||
if errorlevel 1 (
|
||||
echo [WARNING] No cfgdeploy changes to commit, or commit failed.
|
||||
) else (
|
||||
echo cfgdeploy changes committed.
|
||||
)
|
||||
popd >nul
|
||||
)
|
||||
|
||||
echo Project structure created successfully in folder: %projectRoot%
|
||||
|
||||
@@ -105,6 +105,7 @@
|
||||
*.xlsx filter=lfs diff=lfs merge=lfs -text
|
||||
*.eps filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.pptx filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
# Adobe files
|
||||
*.aegraphic filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
+1
-1
@@ -4,5 +4,5 @@
|
||||
"zipper": "7z",
|
||||
"compression": 0,
|
||||
"Max7zInst": 0,
|
||||
"zipsegLimit": "2G"
|
||||
"zipsegLimit": "1.9G"
|
||||
}
|
||||
+2
-2
@@ -57,7 +57,7 @@ DEFAULT_CONFIG = {
|
||||
"compressionMethod": "LZMA2", # Compression method: LZMA2 (multi-threaded), PPMd (single-threaded), BZip2, Deflate
|
||||
"dailyFormat": "daily_YYMMDD",
|
||||
"Max7zInst": 0, # Maximum concurrent 7z instances (0 = auto-calculate)
|
||||
"zipsegLimit": "2G", # Max bytes per 7z segment (e.g. "2G", "2GB"); 0 or omit = no segmenting
|
||||
"zipsegLimit": "1.9G", # Max bytes per 7z segment (e.g. "1.9G"); keep under Git LFS 2GB limit
|
||||
}
|
||||
|
||||
|
||||
@@ -176,7 +176,7 @@ def _parse_zipseg_limit(value: str | int | float | None) -> int | None:
|
||||
|
||||
ZIPSEG_LIMIT_BYTES: int | None = None
|
||||
if ZIPPER_TYPE == "7z":
|
||||
raw = CONFIG.get("zipsegLimit", "2G")
|
||||
raw = CONFIG.get("zipsegLimit", "1.9G")
|
||||
ZIPSEG_LIMIT_BYTES = _parse_zipseg_limit(raw)
|
||||
if ZIPSEG_LIMIT_BYTES is not None and ZIPSEG_LIMIT_BYTES < 100 * 1024 * 1024:
|
||||
ZIPSEG_LIMIT_BYTES = 100 * 1024 * 1024 # min 100MB
|
||||
|
||||
Reference in New Issue
Block a user