Skip to content

Commit 9757546

Browse files
author
Federico Fissore
committed
LibraryManager: replacing spaces with underscores
1 parent 3bcbf22 commit 9757546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/cc/arduino/contributions/libraries/ui/LibraryInstaller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public void install(ContributedLibrary lib, ContributedLibrary replacedLib) thro
134134
if (replacedLib != null && !replacedLib.isReadOnly()) {
135135
remove(replacedLib);
136136
}
137-
File destFolder = new File(libsFolder, lib.getName());
137+
File destFolder = new File(libsFolder, lib.getName().replaceAll(" ", "_"));
138138
tmpFolder.renameTo(destFolder);
139139
progress.stepDone();
140140

0 commit comments

Comments
 (0)