mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-08 17:51:20 +02:00
Update GeneralUtils.java
This commit is contained in:
parent
21100001a1
commit
615eeabbb1
@ -463,7 +463,12 @@ public class GeneralUtils {
|
|||||||
"scriptName must be either 'png_to_webp.py' or 'split_photos.py'");
|
"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);
|
Files.createDirectories(scriptsDir);
|
||||||
|
|
||||||
Path scriptFile = scriptsDir.resolve(scriptName);
|
Path scriptFile = scriptsDir.resolve(scriptName);
|
||||||
|
Loading…
Reference in New Issue
Block a user