mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +08:00
1 parent
0d6a21fe9a
commit
92326d0a14
3 files changed
+5
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user