Use relative paths in Process proc #3
Labels
✔️ Confirmed
Issues marked with this label were acknowledged and confirmed by the developer.
✨ Enhancement
Issues marked with this label indicate further enhancements to the program, such as new features.
Enhancement
Purpose
Literally almost everything is using relative paths, but the
Process proc
uses absolute paths.* And the simpler and shorter everything is, the better: CMD string limitation and Path length limitation.
Solution
Once the working directory is defined, relative paths can be used. So I would have to change this:
PNLauncher/PNLauncher/src/writer.java
Lines 65 to 82 in 7d745b9
- Remove
GamePath
andif symlinks else
- Use
new File("./")
PNLauncher/PNLauncher/src/symlink.java
Line 27 in 7d745b9
- Use
TargetPath = "./"
unless the ideal way is to remove it and manually change all of them to"./"
The text was updated successfully, but these errors were encountered: