(install *model.AppInstall, fromVersion, toVersion string)
| 397 | } |
| 398 | |
| 399 | func shouldMigrateOpenclawHTTPSUpgrade(install *model.AppInstall, fromVersion, toVersion string) bool { |
| 400 | if install == nil || install.App.Key != constant.AppOpenclaw { |
| 401 | return false |
| 402 | } |
| 403 | return isOpenclawLegacyHTTPVersion(fromVersion) && isOpenclawHTTPSWindowVersion(toVersion) |
| 404 | } |
| 405 | |
| 406 | func shouldMigrateOpenclawHTTPUpgrade(install *model.AppInstall, fromVersion, toVersion string) bool { |
| 407 | if install == nil || install.App.Key != constant.AppOpenclaw { |
no test coverage detected