embedded

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultInstallDir

func DefaultInstallDir() string

DefaultInstallDir 返回默认安装目录。 便携模式下与 opskat.exe 同级(即便携 data 目录的父目录),使 opsctl 与 应用认到同一个数据目录;否则 Windows 上与数据目录统一为 %LOCALAPPDATA%\opskat。

func HasEmbeddedOpsctl

func HasEmbeddedOpsctl() bool

HasEmbeddedOpsctl 检查是否嵌入了 opsctl 二进制

func InstallOpsctl

func InstallOpsctl(targetDir string) (string, error)

InstallOpsctl 将嵌入的 opsctl 二进制写入指定目录

Types

This section is empty.

Jump to

Keyboard shortcuts

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