Documentation ¶
Index ¶
- Variables
- func Download(dir string, source string) error
- func LauncherArgs() ([]string, []string)
- func Unzip(zipFile, dst string) error
- type Launcher
- func (t *Launcher) Configure() error
- func (t *Launcher) Git() error
- func (t *Launcher) Install() error
- func (t *Launcher) InstallRequirements() error
- func (t *Launcher) IsInstalled() bool
- func (t *Launcher) PipInstall(pkgs []string) error
- func (t *Launcher) Python(version string) error
- func (t *Launcher) StartUI() error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PythonDistURL = "https://www.python.org/ftp/python/%s/python-%s-embed-amd64.zip" PythonVersion = "3.10.11" )
Functions ¶
func LauncherArgs ¶
Types ¶
type Launcher ¶
type Launcher struct { HomeDir string Branch string TempDir string WebUIDir string PythonDir string // contains filtered or unexported fields }
func (*Launcher) InstallRequirements ¶
func (*Launcher) IsInstalled ¶
@TODO: tbh I forgot why I needed this
func (*Launcher) PipInstall ¶
func (*Launcher) Python ¶
Python https://docs.python.org/3/using/windows.html#the-embeddable-package
Click to show internal directories.
Click to hide internal directories.