feat: 清理openspec
This commit is contained in:
@@ -4,6 +4,9 @@ import "browser.local/platform/domain"
|
||||
|
||||
func applyPluginCreateDefaults(plugin domain.GamePlugin, definition domain.ServerDeploymentDefinition) domain.ServerDeploymentDefinition {
|
||||
definition = domain.CopyServerDeploymentDefinition(definition)
|
||||
if definition.ProfileKey == "" && len(plugin.RuntimeProfiles.LifecycleProfiles) > 0 {
|
||||
definition.ProfileKey = plugin.RuntimeProfiles.LifecycleProfiles[0].Key
|
||||
}
|
||||
if definition.Mode != domain.ServerDeploymentModeGuided {
|
||||
return definition
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user