Skip to content

Commit ec2b090

Browse files
committed
Set runtime.hardware.path property during upload
1 parent 685f5f7 commit ec2b090

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: arduino/cores/cores.go

+1
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ func (release *PlatformRelease) RuntimeProperties() *properties.Map {
337337
res := properties.NewMap()
338338
if release.InstallDir != nil {
339339
res.Set("runtime.platform.path", release.InstallDir.String())
340+
res.Set("runtime.hardware.path", release.InstallDir.Join("..").String())
340341
}
341342

342343
return res

0 commit comments

Comments
 (0)