mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 23:11:56 +00:00
Hide branch select until it's working
This commit is contained in:
+2
-2
@@ -75,9 +75,9 @@ async def is_systemd_unit_active(unit_name: str) -> bool:
|
|||||||
async def stop_systemd_unit(unit_name: str) -> subprocess.CompletedProcess:
|
async def stop_systemd_unit(unit_name: str) -> subprocess.CompletedProcess:
|
||||||
cmd = ["systemctl", "stop", unit_name]
|
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:
|
async def start_systemd_unit(unit_name: str) -> subprocess.CompletedProcess:
|
||||||
cmd = ["systemctl", "start", unit_name]
|
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)
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { useState } from 'react';
|
|||||||
import { FaShapes } from 'react-icons/fa';
|
import { FaShapes } from 'react-icons/fa';
|
||||||
|
|
||||||
import { installFromURL } from '../../../../store';
|
import { installFromURL } from '../../../../store';
|
||||||
import BranchSelect from './BranchSelect';
|
// import BranchSelect from './BranchSelect';
|
||||||
import RemoteDebuggingSettings from './RemoteDebugging';
|
import RemoteDebuggingSettings from './RemoteDebugging';
|
||||||
import UpdaterSettings from './Updater';
|
import UpdaterSettings from './Updater';
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ export default function GeneralSettings() {
|
|||||||
/>
|
/>
|
||||||
</Field> */}
|
</Field> */}
|
||||||
<UpdaterSettings />
|
<UpdaterSettings />
|
||||||
<BranchSelect />
|
{/* <BranchSelect /> */}
|
||||||
<RemoteDebuggingSettings />
|
<RemoteDebuggingSettings />
|
||||||
<Field
|
<Field
|
||||||
label="Manual plugin install"
|
label="Manual plugin install"
|
||||||
|
|||||||
Reference in New Issue
Block a user