-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
If the username contains .jar, for example baton.jar the classpath will not be processed correctly and will be a string like C:\Users\baton.jar instead of C:\Users\baton.jar\...\asset.jar.
HeliosLauncher/app/assets/js/processbuilder.js
Lines 649 to 660 in eb683f8
| _processClassPathList(list) { | |
| const ext = '.jar' | |
| const extLen = ext.length | |
| for(let i=0; i<list.length; i++) { | |
| const extIndex = list[i].indexOf(ext) | |
| if(extIndex > -1 && extIndex !== list[i].length - extLen) { | |
| list[i] = list[i].substring(0, extIndex + extLen) | |
| } | |
| } | |
| } |
Pretty freaky case, but it can happen...
Metadata
Metadata
Assignees
Labels
No labels