repo_description: 视频号、小程序、抖音、快手、小红书、直播流、m3u8、酷狗、QQ音乐等常见网络资源下载!
repo_topics: douyin kuaishou res-downloader wechat wechat-video xiaohongshu
code: package core
  
  import (
  	"github.com/wailsapp/wails/v2/pkg/runtime"
  )
  
  type Bind struct {
  }
  
  func NewBind() *Bind {
  	return &Bind{}
  }
  
  func (b *Bind) Config() *ResponseData {
  	return httpServerOnce.buildResp(1, "ok", globalConfig)
  }
  
  func (b *Bind) AppInfo() *ResponseData {
  	return httpServerOnce.buildResp(1, "ok", appOnce)
  }
  
  func (b *Bind) ResetApp() {
  	appOnce.IsReset = true
  	runtime.Quit(appOnce.ctx)
  }
  