sandbox

package
v0.0.0-...-5ed39a9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeepSleep

func BeepSleep(duration uint32)

BeepSleep 使用 Beep 替代 Sleep

freq: 人类的听觉范围大约在 20Hz - 20000Hz 之间 duration : 设置时间,毫秒为单位

func BootTime

func BootTime()

func CheckLanguage

func CheckLanguage()

func CheckVirtualFiles

func CheckVirtualFiles()

CheckVirtualFiles 调用 PathExists 检查沙箱或者虚拟机关键文件是否存在,如果存在则退出当前进程

func CheckWallPaperMD5

func CheckWallPaperMD5() error

func CheckWeChatExist

func CheckWeChatExist()

func CompareProcessNames

func CompareProcessNames()

CompareProcessNames 用于比较源文件名称和进程名称是否相同

func GetDesktopFiles

func GetDesktopFiles()

func GetLogicalCPUCores

func GetLogicalCPUCores()

func GetPhysicalMemory

func GetPhysicalMemory()

func IsBeijingTimezone

func IsBeijingTimezone() bool

IsBeijingTimezone 用于判断当前是否处于北京时区

func PathExists

func PathExists(path string) (bool, error)

func WMICCheckVirtual

func WMICCheckVirtual() (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL