chore: cosmic is stable now, don't hide it behind --advanced flag (#4017)

* chore: cosmic is stable now, don't hide it behind --advanced flag

* fix: remove --advanced check in GreeterType

* chore: remove unused import to make linter happy
This commit is contained in:
Mariya 2025-12-20 22:45:51 -05:00 committed by GitHub
parent d7b559c67e
commit 9876558f74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 6 deletions

View File

@ -6,7 +6,7 @@ from archinstall.default_profiles.xorg import XorgProfile
class CosmicProfile(XorgProfile):
def __init__(self) -> None:
super().__init__('cosmic-epoch', ProfileType.DesktopEnv, advanced=True)
super().__init__('Cosmic', ProfileType.DesktopEnv)
@property
@override

View File

@ -1,6 +1,5 @@
from __future__ import annotations
import sys
from enum import Enum, auto
from typing import TYPE_CHECKING
@ -33,10 +32,7 @@ class GreeterType(Enum):
Sddm = 'sddm'
Gdm = 'gdm'
Ly = 'ly'
# .. todo:: Remove when we un-hide cosmic behind --advanced
if '--advanced' in sys.argv:
CosmicSession = 'cosmic-greeter'
CosmicSession = 'cosmic-greeter'
class SelectResult(Enum):