We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e5a774 commit 953dcb5Copy full SHA for 953dcb5
src/main/java/nsusbloader/FilesHelper.java
@@ -28,8 +28,10 @@ public static String getRealFolder(String location){
28
Path locationAsPath = Paths.get(location);
29
if (Files.notExists(locationAsPath) || Files.isRegularFile(locationAsPath))
30
return System.getProperty("user.home");
31
+ return location;
32
+ }
33
+ catch (Exception ignored){
34
+ return System.getProperty("user.home");
35
}
- catch (Exception ignored){}
- return location;
36
37
0 commit comments