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
615eeabbb1
commit
71594fee53
@ -463,12 +463,7 @@ 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 =
|
Path scriptsDir = Paths.get(InstallationPathConfig.getScriptPath() + "python");
|
||||||
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