Page MenuHomeMusing Studio

No OneTemporary

diff --git a/writeas/posts_win.go b/writeas/posts_win.go
index b3df5d3..e1e85c1 100644
--- a/writeas/posts_win.go
+++ b/writeas/posts_win.go
@@ -1,26 +1,27 @@
// +build windows
package main
import (
+ "fmt"
"os"
"os/exec"
)
const (
DATA_DIR_NAME = "Write.as"
NO_EDITOR_ERR = "Error getting default editor. You shouldn't see this, so let us know you did: hello@write.as"
)
func parentDataDir() string {
return os.Getenv("APPDATA")
}
func editPostCmd(fname string) *exec.Cmd {
// NOTE this won't work if fname contains spaces.
return exec.Command("cmd", "/C start /WAIT "+fname)
}
func messageRetryCompose(fname string) string {
return fmt.Sprintf("To retry this post, run:\n type %s | writeas.exe", fname)
}

File Metadata

Mime Type
text/x-diff
Expires
Sat, Jan 31, 7:52 AM (12 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3612049

Event Timeline