File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
arduino-core/src/processing/app Expand file tree Collapse file tree 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
867867
868868 for (ContributedTool tool : installedTools ) {
869869 File installedFolder = tool .getDownloadableContribution (getPlatform ()).getInstalledFolder ();
870- String absolutePath ;
870+ String toolPath ;
871871 if (installedFolder != null ) {
872- absolutePath = installedFolder .getAbsolutePath ();
872+ toolPath = installedFolder .getAbsolutePath ();
873873 } else {
874- absolutePath = Constants .PREF_REMOVE_PLACEHOLDER ;
874+ toolPath = Constants .PREF_REMOVE_PLACEHOLDER ;
875875 }
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 );
878880 }
879881 }
880882
You can’t perform that action at this time.
0 commit comments