From 05a1326b40b5a2720568ac61219978599ab82efa Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Oct 01 2024 21:57:45 +0000 Subject: Rename krun to muvm Signed-off-by: Alyssa Rosenzweig --- diff --git a/shim.py b/shim.py index c56752d..0f7a0b4 100644 --- a/shim.py +++ b/shim.py @@ -77,10 +77,10 @@ def download(url, data_dir): # This needs to be last in case we got interrupted. open(f'{data_dir}/version', 'w').write(URL) -def krun(cmd): - return pexpect.spawn("krun", ["--"] + cmd) +def muvm(cmd): + return pexpect.spawn("muvm", ["--"] + cmd) -# Kludge to check if the window is open. Without krun-interactive, this krun +# Kludge to check if the window is open. Without muvm-interactive, this muvm # call is one-shot so we poll a file to grab the output. Fortunately, it # doesn't really matter if we're late, as long as we eventually notice that # Steam is open. @@ -89,7 +89,7 @@ def is_steam_open(path): with open(tmp, 'w') as f: f.write("not ready") - p = krun(["bash", "-c", f'xwininfo -tree -root|grep \'Steam Big\'; echo $? >{tmp}']) + p = muvm(["bash", "-c", f'xwininfo -tree -root|grep \'Steam Big\'; echo $? >{tmp}']) p.expect(pexpect.EOF) while not aborting: @@ -122,7 +122,7 @@ def launch_steam(path): # Launch steam steam_arg_string = ' '.join(STEAM_ARGS) - steam = krun(["FEXBash", "-c", f'{path}/steam-launcher/bin_steam.sh {steam_arg_string}']) + steam = muvm(["FEXBash", "-c", f'{path}/steam-launcher/bin_steam.sh {steam_arg_string}']) while True: if not steam.isalive(): aborting = True diff --git a/steam.spec b/steam.spec index 11dc8c6..ef61b0a 100644 --- a/steam.spec +++ b/steam.spec @@ -1,6 +1,6 @@ Name: steam Version: 0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Steam wrapper for Fedora Asahi Remix License: MIT @@ -22,7 +22,7 @@ Requires: bash Requires: fex-emu Requires: grep Requires: hicolor-icon-theme -Requires: krun +Requires: muvm Requires: python3 Requires: xwininfo @@ -63,6 +63,9 @@ appstream-util validate-relax --nonet \ %{_metainfodir}/io.pagure.fedora_asahi.steam.metainfo.xml %changelog +* Tue Oct 1 2024 Alyssa Rosenzweig - 0-4 +- Rename krun to muvm + * Sun Sep 29 2024 Davide Cavalca - 0-3 - Install the icon in the right place