We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cf149fa + bcce628 commit 36a350fCopy full SHA for 36a350f
upload/upload.go
@@ -55,7 +55,7 @@ func PartiallyResolve(board, file, platformPath, commandline string, extra Extra
55
commandline = strings.Replace(commandline, "{build.path}", filepath.ToSlash(filepath.Dir(file)), -1)
56
commandline = strings.Replace(commandline, "{build.project_name}", strings.TrimSuffix(filepath.Base(file), filepath.Ext(filepath.Base(file))), -1)
57
commandline = strings.Replace(commandline, "{network.password}", extra.Auth.Password, -1)
58
- commandline = strings.Replace(commandline, "{runtime.platform.path}", platformPath, -1)
+ commandline = strings.Replace(commandline, "{runtime.platform.path}", filepath.ToSlash(platformPath), -1)
59
60
if extra.Verbose == true {
61
commandline = strings.Replace(commandline, "{upload.verbose}", extra.ParamsVerbose, -1)
0 commit comments