Update GeneralUtils.java

This commit is contained in:
Ludy87 2025-07-19 17:56:45 +02:00
parent 21100001a1
commit 615eeabbb1
No known key found for this signature in database
GPG Key ID: 92696155E0220F94

View File

@ -463,7 +463,12 @@ public class GeneralUtils {
"scriptName must be either 'png_to_webp.py' or 'split_photos.py'");
}
Path scriptsDir = Paths.get("/config/scripts/python");
Path scriptsDir =
Paths.get(
InstallationPathConfig.getConfigPath()
+ "scripts"
+ File.separator
+ "python");
Files.createDirectories(scriptsDir);
Path scriptFile = scriptsDir.resolve(scriptName);