diff options
| author | TrainDoctor <traindoctor@protonmail.com> | 2022-08-24 21:18:38 -0700 |
|---|---|---|
| committer | TrainDoctor <traindoctor@protonmail.com> | 2022-08-24 21:18:38 -0700 |
| commit | effc4ab0f56119041ac6efecdbf0a782714ec783 (patch) | |
| tree | 9f5e20646c5e7b2ce318815c3b7ba20b88c94d6e | |
| parent | 79db0c779d6942c6bdc6823a5faef57b5307f7b3 (diff) | |
| download | decky-loader-effc4ab0f56119041ac6efecdbf0a782714ec783.tar.gz decky-loader-effc4ab0f56119041ac6efecdbf0a782714ec783.zip | |
Hide branch select until it's workingv2.0.5-pre17
| -rw-r--r-- | backend/helpers.py | 4 | ||||
| -rw-r--r-- | frontend/src/components/settings/pages/general/index.tsx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/backend/helpers.py b/backend/helpers.py index 5e26f163..b3c8a51e 100644 --- a/backend/helpers.py +++ b/backend/helpers.py @@ -75,9 +75,9 @@ async def is_systemd_unit_active(unit_name: str) -> bool: async def stop_systemd_unit(unit_name: str) -> subprocess.CompletedProcess: cmd = ["systemctl", "stop", unit_name] - return subprocess.run(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) + return subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) async def start_systemd_unit(unit_name: str) -> subprocess.CompletedProcess: cmd = ["systemctl", "start", unit_name] - return subprocess.run(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) + return subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) diff --git a/frontend/src/components/settings/pages/general/index.tsx b/frontend/src/components/settings/pages/general/index.tsx index a37d8dab..c5f9b9dc 100644 --- a/frontend/src/components/settings/pages/general/index.tsx +++ b/frontend/src/components/settings/pages/general/index.tsx @@ -3,7 +3,7 @@ import { useState } from 'react'; import { FaShapes } from 'react-icons/fa'; import { installFromURL } from '../../../../store'; -import BranchSelect from './BranchSelect'; +// import BranchSelect from './BranchSelect'; import RemoteDebuggingSettings from './RemoteDebugging'; import UpdaterSettings from './Updater'; @@ -22,7 +22,7 @@ export default function GeneralSettings() { /> </Field> */} <UpdaterSettings /> - <BranchSelect /> + {/* <BranchSelect /> */} <RemoteDebuggingSettings /> <Field label="Manual plugin install" |
