Commit d0471ee
authored
refactor: Phase 1 — role-based strategy architecture with unified OSS (#353)
- Added AppType.OSSApp = 3 for OSS update mode
- Created OSSUpdateStrategy (implements IStrategy), absorbs old OSSStrategy logic
- Bootstrap now dispatches to OSS on AppType.OSSApp:
client-side: download version config, compare, start upgrade process
upgrade-side: read GlobalConfigInfoOSS from env, execute OSSUpdateStrategy
- Removed legacy files: OSSStrategy.cs, GeneralUpdateOSS.cs, GeneralClientOSS.cs
- OSS mode is now fully built-in — no separate entry classes needed
Closes #3521 parent 4708827 commit d0471ee
6 files changed
Lines changed: 132 additions & 290 deletions
File tree
- src/c#/GeneralUpdate.Core
- Bootstrap
- Configuration
- Strategy
This file was deleted.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
14 | 20 | | |
15 | | - | |
| 21 | + | |
This file was deleted.
0 commit comments