mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-05 17:29:54 +00:00
Compare commits
3 Commits
v2.10.4
...
v2.10.5-pre1
| Author | SHA1 | Date | |
|---|---|---|---|
| caf4d75a06 | |||
| a43e4328df | |||
| 0ede024771 |
@@ -47,10 +47,10 @@ jobs:
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: Set up Python 3.11.4 🐍
|
||||
- name: Set up Python 3.10.6 🐍
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.11.4"
|
||||
python-version: "3.10.6"
|
||||
|
||||
- name: Upgrade SQLite 3 binary version to 3.42.0 🧑💻
|
||||
run: >
|
||||
|
||||
@@ -35,6 +35,7 @@ For more information about Decky Loader as well as documentation and development
|
||||
### 🤔 Common Issues
|
||||
|
||||
- Syncthing may use port 8080 on Steam Deck, which Decky Loader needs to function. If you are using Syncthing as a service, please change its port to something else.
|
||||
- 8384 is the recommended port for Syncthing.
|
||||
- If you are using any software that uses port 1337 or 8080, please change its port to something else or uninstall it.
|
||||
- Sometimes Decky will disappear on SteamOS updates. This can easily be fixed by just re-running the installer and installing the stable branch again. If this doesn't work, try installing the prerelease instead. If that doesn't work, then [check the existing issues](https://github.com/SteamDeckHomebrew/decky-loader/issues) and if there isn't one then you can [file a new issue](https://github.com/SteamDeckHomebrew/decky-loader/issues/new?assignees=&labels=bug&template=bug_report.yml&title=%5BBUG%5D+%3Ctitle%3E).
|
||||
|
||||
|
||||
@@ -43,4 +43,10 @@ def get_log_level() -> int:
|
||||
]
|
||||
|
||||
def get_selinux() -> bool:
|
||||
return os.getenv("DECKY_SELINUX", "0") == "1"
|
||||
if ON_LINUX:
|
||||
from subprocess import check_output
|
||||
try:
|
||||
if (check_output("getenforce").decode("ascii").strip("\n") == "Enforcing"): return True
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
return False
|
||||
|
||||
+3
-2
@@ -209,8 +209,9 @@ class Updater:
|
||||
shutil.move(path.join(getcwd(), download_temp_filename), path.join(getcwd(), download_filename))
|
||||
chmod(path.join(getcwd(), download_filename), 777, False)
|
||||
if get_selinux():
|
||||
from subprocess import call
|
||||
call(["chcon", "-t", "bin_t", path.join(getcwd(), download_filename)])
|
||||
from asyncio.subprocess import create_subprocess_exec
|
||||
process = await create_subprocess_exec("chcon", "-t", "bin_t", path.join(getcwd(), download_filename))
|
||||
logger.info(f"Setting the executable flag with chcon returned {await process.wait()}")
|
||||
|
||||
logger.info("Updated loader installation.")
|
||||
await tab.evaluate_js("window.DeckyUpdater.finish()", False, False)
|
||||
|
||||
Reference in New Issue
Block a user