Skip to content

Commit 53a057b

Browse files
author
jantje
committed
#1278 seems to be fixed except for the upgrade scenario
1 parent e308701 commit 53a057b

File tree

5 files changed

+863
-873
lines changed

5 files changed

+863
-873
lines changed

io.sloeber.core/src/io/sloeber/core/Activator.java

-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
import org.osgi.service.prefs.Preferences;
3030

3131
import cc.arduino.packages.discoverers.SloeberNetworkDiscovery;
32-
import io.sloeber.core.api.PackageManager;
3332
import io.sloeber.core.common.Common;
3433
import io.sloeber.core.common.ConfigurationPreferences;
3534
import io.sloeber.core.common.Const;
@@ -223,8 +222,6 @@ private static void runInstallJob() {
223222
protected IStatus run(IProgressMonitor monitor) {
224223

225224
monitor.beginTask("Sit back, relax and watch us work for a little while ..", IProgressMonitor.UNKNOWN);
226-
// Set the gobal variables
227-
PackageManager.updateGlobalEnvironmentVariables();
228225
addFileAssociations();
229226
makeOurOwnCustomBoards_txt();
230227

io.sloeber.core/src/io/sloeber/core/api/BoardDescription.java

-2
Original file line numberDiff line numberDiff line change
@@ -930,8 +930,6 @@ public Map<String, String> getEnvVars() {
930930
}
931931

932932
private Map<String, String> getEnVarPlatformInfo() {
933-
// update the global variables if needed
934-
PackageManager.updateGlobalEnvironmentVariables();
935933
if ((getReferencingPlatformFile() == null) || (getreferencedPlatformFile() == null)) {
936934
// something is seriously wrong -->shoot
937935
return new HashMap<>();

0 commit comments

Comments
 (0)