feat(桌面窗口): 按当前桌面复用窗口
build.yaml / build (push) Successful in 43s

This commit is contained in:
xiaoqidun committed 2026-10-25 18:48:25 +08:00
1 parent 0d6a21fe9a
commit 92326d0a14
3 files changed
+5 -4

No files matched your search

+2 -1
View File
@@ -116,11 +116,12 @@ func Run(ctx context.Context, paths []string, dataDir string) error {
if err != nil {
return err
}
instance, err := guigo.OpenInstance(ctx, "OFDGo:"+key, data, h.receiveLaunch)
instance, err := guigo.OpenWindowInstance(ctx, "OFDGo:"+key, data, h.receiveLaunch)
if err != nil || instance == nil {
return err
}
defer instance.Close()
options.Instance = instance
files, err := newFileStore()
if err != nil {
return err