File tree 1 file changed +7
-5
lines changed
arduino-core/src/processing/app
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -867,14 +867,16 @@ public static void createToolPreferences(Collection<ContributedTool> installedTo
867
867
868
868
for (ContributedTool tool : installedTools ) {
869
869
File installedFolder = tool .getDownloadableContribution (getPlatform ()).getInstalledFolder ();
870
- String absolutePath ;
870
+ String toolPath ;
871
871
if (installedFolder != null ) {
872
- absolutePath = installedFolder .getAbsolutePath ();
872
+ toolPath = installedFolder .getAbsolutePath ();
873
873
} else {
874
- absolutePath = Constants .PREF_REMOVE_PLACEHOLDER ;
874
+ toolPath = Constants .PREF_REMOVE_PLACEHOLDER ;
875
875
}
876
- PreferencesData .set (prefix + tool .getName () + ".path" , absolutePath );
877
- PreferencesData .set (prefix + tool .getName () + "-" + tool .getVersion () + ".path" , absolutePath );
876
+ PreferencesData .set (prefix + tool .getName () + ".path" , toolPath );
877
+ PreferencesData .set (prefix + tool .getName () + "-" + tool .getVersion () + ".path" , toolPath );
878
+ PreferencesData .set (prefix + tool .getPackager () + "-" + tool .getName () + "-" + tool .getVersion () + ".path" ,
879
+ toolPath );
878
880
}
879
881
}
880
882
You can’t perform that action at this time.
0 commit comments