mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-08 15:40:34 -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>> {
|
||||
let platform = match device_type().await? {
|
||||
DeviceType::SteamDeck => "jupiter",
|
||||
DeviceType::LegionGoS => "legion-go-s",
|
||||
DeviceType::LegionGo => "legion-go-series",
|
||||
DeviceType::LegionGoS => "legion-go-series",
|
||||
_ => return Ok(None),
|
||||
};
|
||||
let config = read_to_string(format!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue