MCPcopy
hub / github.com/arduino/Arduino / initVersion

Method initVersion

arduino-core/src/processing/app/BaseNoGui.java:538–542  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

536 }
537
538 static public void initVersion() {
539 // help 3rd party installers find the correct hardware path
540 PreferencesData.set("last.ide." + VERSION_NAME + ".hardwarepath", getHardwarePath());
541 PreferencesData.set("last.ide." + VERSION_NAME + ".daterun", "" + (new Date()).getTime() / 1000);
542 }
543
544 /**
545 * Return true if the name is valid for a Processing sketch.

Callers 1

BaseMethod · 0.95

Calls 2

setMethod · 0.95
getHardwarePathMethod · 0.95

Tested by

no test coverage detected