v0.14.0 web replay UI, My games, CLI replay
This commit is contained in:
37 files changed
+4058
-1803
No files matched your search
@@ -0,0 +1,12 @@
|
||||
//go:build js && wasm
|
||||
|
||||
package command
|
||||
|
||||
import "fmt"
|
||||
|
||||
// savePGN has no file system in the browser: the PGN is printed instead,
|
||||
// to be copied from the terminal.
|
||||
func savePGN(path, text string) error {
|
||||
fmt.Print(text)
|
||||
return fmt.Errorf("files cannot be saved from the browser; the PGN is printed above")
|
||||
}
|
||||
Reference in new issue
Block a user