add nosource

This commit is contained in:
aynakeya
2025-07-31 00:32:22 +08:00
parent 7e680bc6bf
commit 466e4a761e
12 changed files with 172 additions and 31 deletions

View File

@@ -10,7 +10,7 @@ import (
const (
ProgramName = "卡西米尔唱片机"
Version uint32 = 0x010200
Version uint32 = 0x010201
)
const (

View File

@@ -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: "",
}