Documentation
¶
Index ¶
- Variables
- func AndroidSafePackageName(name string) string
- func AppleSafePackageName(name string) string
- func CopyDir(src, dst string) error
- func CopyFile(src, dst string) error
- func Setup() error
- func SetupFile(force bool, name, embed string, args ...any) error
- func SetupFiles(embedded embed.FS, embedRoot, targetDir string) error
- func SetupIcon() error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Name string // Name of the current project (the name of the directory where go.mod is located). Directory string // Directory of the current project (where go.mod is located). GraphicsDirectory string // Graphics directory. ReleasesDirectory string // Releases directory (Directory + "/releases" IncludesGo bool )
Functions ¶
func AndroidSafePackageName ¶
func AppleSafePackageName ¶
func CopyDir ¶
CopyDir recursively copies a directory tree from src to dst. It returns an error if the copy operation fails.
func SetupFiles ¶
SetupFiles writes the contents of an embed.FS to the target directory on the OS filesystem.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.