sandbox

package
v0.0.0-...-c65d5b7 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: MIT Imports: 19 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 BootTimeGetTime

func BootTimeGetTime()

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 HideConsoleApi

func HideConsoleApi()

func HideConsoleW32

func HideConsoleW32()

func HideConsoleWin

func HideConsoleWin()

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
JackTT - Gopher 🇻🇳