add config file setting to disable keyring (related: #538)
This commit is contained in:
+1
-1
@@ -136,7 +136,7 @@ func StartupApp(appName, displayAppName, appVersion, appVersionTag, latestReleas
|
||||
return nil, err
|
||||
}
|
||||
|
||||
a.ServerManager = NewServerManager(appName, appVersion, a.Config, !portableMode /*use keyring*/)
|
||||
a.ServerManager = NewServerManager(appName, appVersion, a.Config, !portableMode && a.Config.Application.EnablePasswordStorage)
|
||||
a.PlaybackManager = NewPlaybackManager(a.bgrndCtx, a.ServerManager, a.LocalPlayer, &a.Config.Playback, &a.Config.Scrobbling, &a.Config.Transcoding, &a.Config.Application)
|
||||
a.ImageManager = NewImageManager(a.bgrndCtx, a.ServerManager, cacheDir)
|
||||
a.Config.Application.MaxImageCacheSizeMB = clamp(a.Config.Application.MaxImageCacheSizeMB, 1, 500)
|
||||
|
||||
@@ -47,6 +47,7 @@ type AppConfig struct {
|
||||
AddToPlaylistSkipDuplicates bool
|
||||
ShowTrackChangeNotification bool
|
||||
EnableLrcLib bool
|
||||
EnablePasswordStorage bool
|
||||
SkipSSLVerify bool
|
||||
EnqueueBatchSize int
|
||||
Language string
|
||||
@@ -180,6 +181,7 @@ func DefaultConfig(appVersionTag string) *Config {
|
||||
SaveQueueToServer: false,
|
||||
ShowTrackChangeNotification: false,
|
||||
EnableLrcLib: true,
|
||||
EnablePasswordStorage: true,
|
||||
SkipSSLVerify: false,
|
||||
EnqueueBatchSize: 100,
|
||||
Language: "auto",
|
||||
|
||||
Reference in New Issue
Block a user