package
0.0.0-20230309133153-c98e9ca36a33
Repository: https://github.com/ciderapp/wails.git
Documentation: pkg.go.dev
# Functions
BuildApplication will attempt to build the project based on the given inputs.
BuildDocker builds the project using the cross compiling ciderapp/xgo:<xgoVersion> container.
BuildFrontend runs the given build command.
BuildNative builds on the target platform itself.
CheckDependencies will look for Wails dependencies on the system Errors are reported in error and the bool return value is whether the dependencies are all installed.
CheckDependenciesSilent checks for dependencies but only outputs if there's an error.
CheckIfInstalled returns if application is installed.
CheckWindres checks if Windres is installed and if not, aborts.
DpkgInstalled uses dpkg to see if a package is installed.
EOpkgInstalled uses dpkg to see if a package is installed.
EqueryInstalled uses equery to see if a package is installed.
No description provided by the author
GetLinuxDistroInfo returns information about the running linux distribution.
GetRequiredLibraries returns a list of libraries (packages) required for the platform.
GetRequiredPrograms returns a list of programs required for the platform.
No description provided by the author
No description provided by the author
No description provided by the author
InstallBridge installs the relevant bridge javascript library.
InstallFrontendDeps attempts to install the frontend dependencies based on the given options.
InstallGoDependencies will run go get in the current directory.
InstallProdRuntime installs the production runtime.
NewCli - Creates a new Cli application object.
NewCommand creates a new Command.
NewFSHelper - Returns a new FSHelper.
NewGitHubHelper returns a new GitHub Helper.
NewLinuxDB creates a new LinuxDB instance from the bundled linuxdb.yaml file.
NewLogger creates a new logger!.
NewPackageHelper creates a new PackageHelper!.
NewProgramHelper - Creates a new ProgramHelper.
NewProjectHelper creates a new Project helper struct.
NewSemanticVersion creates a new SemanticVersion object with the given version string.
NewShellHelper creates a new ShellHelper!.
NewSystemConfig - Creates a new SystemConfig helper object.
NewSystemHelper - Creates a new System Helper.
NewTemplateHelper creates a new template helper.
NixEnvInstalled uses nix-env to see if a package is installed.
PackageApplication will attempt to package the application in a platform dependent way.
PacmanInstalled uses pacman to see if a package is installed.
Prompt asks the user for a value.
PromptRequired calls Prompt repeatedly until a value is given.
PromptSelection asks the user to choose an option.
PrtGetInstalled uses prt-get to see if a package is installed.
RequestSupportForDistribution promts the user to submit a request to support their currently unsupported distribution.
RpmInstalled uses rpm to see if a package is installed.
ServeProject attempts to serve up the current project so that it may be connected to via the Wails bridge.
No description provided by the author
ValidateFrontendConfig checks if the frontend config is valid.
XbpsInstalled uses pacman to see if a package is installed.
# Constants
Arch linux distribution.
ArchLabs distribution.
ArcoLinux distribution.
Artix linux distribution.
BuildModeBridge indicates we are building for bridge mode.
BuildModeDebug indicates we are building for debug mode.
BuildModeProd indicates we are building for prod mode.
CentOS linux distribution.
Crux linux distribution.
Ctlos Linux distribution.
Debian distribution.
Deepin distribution.
Elementary distribution.
EndeavourOS linux distribution.
Fedora linux distribution.
Gentoo distribution.
Kali distribution.
Leap (OpenSUSE) distribution.
Linuxmint distribution.
Manjaro distribution.
ManjaroARM distribution.
Neon distribution.
NixOS distribution.
NPM package manager.
Parrot distribution.
PopOS distribution.
Raspbian distribution.
RHEL distribution.
Solus distribution.
Tumbleweed (OpenSUSE) distribution.
Ubuntu distribution.
Unknown is the catch-all distro.
UNKNOWN package manager.
Uos distribution.
Version - Wails version.
VoidLinux distribution.
YARN package manager.
Zorin distribution.
# Variables
go:embed linuxdb.yaml.
# Structs
Cli - The main application object.
Command represents a command that may be run by the user.
Dir holds information about a directory.
Distribution holds the os-release ID and a map of releases.
DistroInfo contains all the information relating to a linux distribution.
FSHelper - Wrapper struct for File System utility commands.
GitHubHelper is a utility class for interacting with GitHub.
LinuxDB is the database for linux distribution data.
Logger struct.
PackageHelper helps with the 'wails package' command.
Prerequisite is a simple struct containing a program/library name plus the distribution specific help text indicating how to install it.
Program - A struct to define an installed application/binary.
ProgramHelper - Utility functions around installed applications.
ProjectHelper is a helper struct for managing projects.
ProjectOptions holds all the options available for a project.
Release holds the name and version of the release as given by os-release.
SemanticVersion is a struct containing a semantic version.
ShellHelper helps with Shell commands.
SystemConfig - Defines system wide configuration data.
SystemHelper - Defines everything related to the system.
TemplateDependency defines a binary dependency for the template EG: ng for angular.
TemplateDetails holds information about a specific template.
TemplateHelper is a utility object to help with processing templates.
TemplateMetadata holds all the metadata for a Wails template.
# Type aliases
Action represents a function that gets calls when the command is called by the user.
CheckPkgInstalled is all functions that use local programs to see if a package is installed.
LinuxDistribution is of type int.
PackageManager indicates different package managers.
Prerequisites is a list of things required to use Wails.
SemverCollection is a collection of SemanticVersion objects.