新增win安装字体的方法
This commit is contained in:
@@ -39,6 +39,9 @@ type Platform interface {
|
||||
|
||||
// DefaultShell 返回默认 Shell
|
||||
DefaultShell() string
|
||||
|
||||
// InstallFont 安装字体
|
||||
InstallFont(ctx context.Context, fontPath string) error
|
||||
}
|
||||
|
||||
// Detect 检测当前平台并返回对应的 Platform 实现
|
||||
|
||||
Reference in New Issue
Block a user