go-typst/typst_windows.go
David Vogel 755cee77ac Several changes
- Make VariableEncoder write* methods private
- Add VariableEncoder method to write correctly escaped string literals
- Fix error handling in VariableEncoder
- Add support for time.Time and time.Duration
- Fix MarshalText usage in VariableEncoder
- Encode byte slice so that it is a valid typst bytes object
- Extend tests
- Add functions to clean and check typst identifiers
- Split Error into Error and ErrorWithPath
- Add CLIOptions
2024-12-18 17:25:28 +01:00

10 lines
244 B
Go

//go:build windows
package typst
import "path/filepath"
// The path to the typst executable.
// We assume the executable is in the current working directory.
var ExecutablePath = "." + string(filepath.Separator) + filepath.Join("typst.exe")