1
0
Fork 0

osu_lazer: use flatpak instead of appimage

This commit is contained in:
Kim, Jimin 2022-11-14 14:50:10 +09:00
parent 4382601aa2
commit efa3f7a3e1

View file

@ -1,9 +1,4 @@
from src.util import ( from src.util import paru_install, flatpak_install, copy_file
paru_install,
appimage_install,
copy_file,
get_latest_appimage_url_from_github,
)
from src.setup.system import system76_scheduler from src.setup.system import system76_scheduler
from os import system from os import system
@ -44,12 +39,11 @@ def setup_open_tablet_driver():
def setup(): def setup():
# setup tablet driver
setup_open_tablet_driver()
# install the game # install the game
appimage_install( flatpak_install("sh.ppy.osu")
get_latest_appimage_url_from_github("ppy/osu"),
"osu",
)
# give CPU scheduler priority # give CPU scheduler priority
system76_scheduler.setup() system76_scheduler.setup()
setup_open_tablet_driver()