Documentation
¶
Index ¶
- Constants
- func CopyFile(src, dst string) (int64, error)
- func DelFile(src, dst string) error
- func DumpSMC(filename string)
- func IsAdmin() bool
- func IsGOSPatched(filename string) (int, string, string)
- func IsRunning(v *VMwareInfo) bool
- func IsSMCPatched(filename string) (int, string, string)
- func PatchGOS(filename string) (string, string)
- func PatchSMC(filename string) (string, string)
- func PatchVMKCTL(filename string)
- func TaskRunning(name string) int
- func VMWStart(v *VMwareInfo)
- func VMWStop(v *VMwareInfo)
- func WriteHashes(filename string, unpatched string, patched string)
- type PatchOperation
- type VMwareInfo
Constants ¶
View Source
const COPYRIGHT = "© 2014-2023 David Parsons"
View Source
const VERSION = "4.2.5"
Variables ¶
This section is empty.
Functions ¶
func IsRunning ¶
func IsRunning(v *VMwareInfo) bool
func PatchVMKCTL ¶
func PatchVMKCTL(filename string)
func TaskRunning ¶
func VMWStart ¶
func VMWStart(v *VMwareInfo)
func VMWStop ¶
func VMWStop(v *VMwareInfo)
func WriteHashes ¶
Types ¶
type PatchOperation ¶
func (*PatchOperation) Backup ¶
func (p *PatchOperation) Backup() bool
type VMwareInfo ¶
type VMwareInfo struct { BasePath string BuildNumber string ProductVersion string InstallDir string InstallDir64 string Workstation string Player string KVM string REST string Tray string AuthD string HostD string USBD string StartD string ShellExt string VMXDefault string VMXDebug string VMXStats string VMwareBase string PathVMXDefault string PathVMXDebug string PathVMXStats string PathVMwareBase string SrcISOmacOS string SrcISOMacOSX string DstISOmacOS string DstISOMacOSX string BackDir string BackVMXDefault string BackVMXDebug string BackVMXStats string BackVMwareBase string }
func VMWInfo ¶
func VMWInfo() *VMwareInfo
func (*VMwareInfo) BackupExists ¶
func (v *VMwareInfo) BackupExists() bool
func (*VMwareInfo) PatchFiles ¶
func (v *VMwareInfo) PatchFiles(gos chan *PatchOperation, smc chan *PatchOperation, done chan int)
func (*VMwareInfo) Restore ¶
func (v *VMwareInfo) Restore()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.