2323/// priority are intentionally centralized here so `CreateDeb` can stay focused
2424/// on archive layout instead of duplicating channel-specific branching.
2525public enum ReleaseType {
26- STABLE ("stable" , "hmcl" , 300 ),
27- DEVELOPMENT ("dev" , "hmcl-dev" , 200 ),
28- NIGHTLY ("nightly" , "hmcl-nightly" , 100 );
26+ STABLE ("stable" , "hmcl" , "HMCL" , 100 ),
27+ DEVELOPMENT ("dev" , "hmcl-dev" , "HMCL (Beta)" , 200 ),
28+ NIGHTLY ("nightly" , "hmcl-nightly" , "HMCL (Nightly)" , 300 );
2929
30- public final String name ;
30+ private final String name ;
3131 private final String packageName ;
32+ private final String displayName ;
3233 private final int alternativesPriority ;
3334
34- ReleaseType (String name , String packageName , int alternativesPriority ) {
35+ ReleaseType (String name , String packageName , String displayName , int alternativesPriority ) {
3536 this .name = name ;
3637 this .packageName = packageName ;
38+ this .displayName = displayName ;
3739 this .alternativesPriority = alternativesPriority ;
3840 }
3941
@@ -47,6 +49,10 @@ public String getPackageName() {
4749 return packageName ;
4850 }
4951
52+ public String getDisplayName () {
53+ return displayName ;
54+ }
55+
5056 /// Priority used when registering the generic `hmcl` alias.
5157 ///
5258 /// Higher values win, which keeps `stable` as the default alias target when
0 commit comments