mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-10 00:20:29 -04:00
platform: Use single platform configuration for Legion Go and Legion Go S
Both the Legion Go and Legion Go S share the same performance profiles and platform controls, so we can use a single toml file for both devices.
This commit is contained in:
parent
ef9c329898
commit
2f7c83d663
2 changed files with 2 additions and 1 deletions
|
@ -165,7 +165,8 @@ impl PlatformConfig {
|
||||||
async fn load() -> Result<Option<PlatformConfig>> {
|
async fn load() -> Result<Option<PlatformConfig>> {
|
||||||
let platform = match device_type().await? {
|
let platform = match device_type().await? {
|
||||||
DeviceType::SteamDeck => "jupiter",
|
DeviceType::SteamDeck => "jupiter",
|
||||||
DeviceType::LegionGoS => "legion-go-s",
|
DeviceType::LegionGo => "legion-go-series",
|
||||||
|
DeviceType::LegionGoS => "legion-go-series",
|
||||||
_ => return Ok(None),
|
_ => return Ok(None),
|
||||||
};
|
};
|
||||||
let config = read_to_string(format!(
|
let config = read_to_string(format!(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue