Rename typst_*.go into cli_*.go

This commit is contained in:
David Vogel 2024-12-18 20:31:28 +01:00
parent 755cee77ac
commit 406fa5dafa
3 changed files with 10 additions and 9 deletions

10
cli_windows.go Normal file
View File

@ -0,0 +1,10 @@
//go:build windows
package typst
// 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")
// The path to the typst executable.
var ExecutablePath = "typst.exe"

View File

@ -1,9 +0,0 @@
//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")