mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2025-12-06 10:22:50 +08:00
add nosource
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
const (
|
||||
ProgramName = "卡西米尔唱片机"
|
||||
Version uint32 = 0x010200
|
||||
Version uint32 = 0x010201
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -2,18 +2,17 @@ package config
|
||||
|
||||
type _GeneralConfig struct {
|
||||
BaseConfig
|
||||
Width float32
|
||||
Height float32
|
||||
Language string
|
||||
InfoApiServer string
|
||||
AutoCheckUpdate bool
|
||||
ShowSystemTray bool
|
||||
PlayNextOnFail bool
|
||||
UseSystemPlaylist bool
|
||||
FixedSize bool
|
||||
EnableSMC bool // enable system media control
|
||||
CustomFonts string // use custom fonts, under ./assets file
|
||||
DistributionChannel string // app distribution channel, default fanfan
|
||||
Width float32
|
||||
Height float32
|
||||
Language string
|
||||
InfoApiServer string
|
||||
AutoCheckUpdate bool
|
||||
ShowSystemTray bool
|
||||
PlayNextOnFail bool
|
||||
UseSystemPlaylist bool
|
||||
FixedSize bool
|
||||
EnableSMC bool // enable system media control
|
||||
CustomFonts string // use custom fonts, under ./assets file
|
||||
}
|
||||
|
||||
func (c *_GeneralConfig) Name() string {
|
||||
@@ -21,16 +20,15 @@ func (c *_GeneralConfig) Name() string {
|
||||
}
|
||||
|
||||
var General = &_GeneralConfig{
|
||||
Language: "zh-CN",
|
||||
ShowSystemTray: false,
|
||||
InfoApiServer: "http://localhost:9090",
|
||||
AutoCheckUpdate: true,
|
||||
Width: 960,
|
||||
Height: 480,
|
||||
PlayNextOnFail: false,
|
||||
UseSystemPlaylist: true,
|
||||
FixedSize: true,
|
||||
EnableSMC: true,
|
||||
CustomFonts: "",
|
||||
DistributionChannel: "fanfan",
|
||||
Language: "zh-CN",
|
||||
ShowSystemTray: false,
|
||||
InfoApiServer: "http://localhost:9090",
|
||||
AutoCheckUpdate: true,
|
||||
Width: 960,
|
||||
Height: 480,
|
||||
PlayNextOnFail: false,
|
||||
UseSystemPlaylist: true,
|
||||
FixedSize: true,
|
||||
EnableSMC: true,
|
||||
CustomFonts: "",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user