waft.warp_client.installation.macos_installation module

class waft.warp_client.installation.macos_installation.MacOSInstallation(node: BaseNode, warp_cli: WarpCliBase)

Bases: InstallationBase

Install manager extended for macOS specificity

property build_dirname: str

Return the name of the directory where the necessary installer can be found

property flutter_build_dirname: str

Return the name of the directory where the flutter GUI installer can be expected to be found

install(install_params: WarpParams | None = None, installer: str | None = None, version: str | None = None, use_flutter: bool = False) None

Installs warp client on the underlying node.

Parameters:
  • install_params – Parameters for WARP implementation defined in a WarpParams object

  • installer – String name of installer to be run that is expected to be in the local client_installer_directory

  • version – Version string of WARP client to be installed on system

  • use_flutter – Whether to use the flutter build of the installer

Returns: None

install_location() PurePath

Returns WARP installed application path, primarily used for uninstall purposes.

Returns:

WARP installed application path

Return type:

PurePath

installer_file_ext: str = '.pkg'
uninstall() None

Uninstall the warp client from the system. If the warp client is not installed the process is skipped.