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:
parent
d7b559c67e
commit
9876558f74
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue