mirror of
				https://github.com/xaionaro-go/streamctl.git
				synced 2025-11-01 03:12:34 +08:00 
			
		
		
		
	Fix the detection if the configs are initialized
This commit is contained in:
		| @@ -11,6 +11,10 @@ type Config = types.Config | ||||
| type StreamProfile = types.StreamProfile | ||||
| type PlatformSpecificConfig = types.PlatformSpecificConfig | ||||
|  | ||||
| func init() { | ||||
| 	streamctl.RegisterPlatform[PlatformSpecificConfig, StreamProfile](ID) | ||||
| } | ||||
|  | ||||
| func InitConfig(cfg streamctl.Config) { | ||||
| 	types.InitConfig(cfg) | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Dmitrii Okunev
					Dmitrii Okunev