1.0.11
- fixed `Config::get_wine_prefix_path` proton path resolving
This commit is contained in:
parent
204369158e
commit
9858290240
3 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "anime-launcher-sdk"
|
name = "anime-launcher-sdk"
|
||||||
version = "1.0.10"
|
version = "1.0.11"
|
||||||
authors = ["Nikita Podvirnyy <suimin.tu.mu.ga.mi@gmail.com>"]
|
authors = ["Nikita Podvirnyy <suimin.tu.mu.ga.mi@gmail.com>"]
|
||||||
license = "GPL-3.0"
|
license = "GPL-3.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
|
@ -3,7 +3,7 @@ use std::path::PathBuf;
|
||||||
use serde::{Serialize, Deserialize};
|
use serde::{Serialize, Deserialize};
|
||||||
use serde_json::Value as JsonValue;
|
use serde_json::Value as JsonValue;
|
||||||
|
|
||||||
use wincompatlib::wine::WineWithExt;
|
use wincompatlib::prelude::*;
|
||||||
|
|
||||||
#[cfg(feature = "sandbox")]
|
#[cfg(feature = "sandbox")]
|
||||||
use crate::config::schema_blanks::sandbox::Sandbox;
|
use crate::config::schema_blanks::sandbox::Sandbox;
|
||||||
|
@ -119,7 +119,7 @@ impl Schema {
|
||||||
|
|
||||||
let prefix = match wine {
|
let prefix = match wine {
|
||||||
WincompatlibWine::Default(wine) => wine.prefix,
|
WincompatlibWine::Default(wine) => wine.prefix,
|
||||||
WincompatlibWine::Proton(proton) => proton.proton_prefix
|
WincompatlibWine::Proton(proton) => proton.wine().prefix.clone()
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Some(prefix) = prefix {
|
if let Some(prefix) = prefix {
|
||||||
|
|
|
@ -3,7 +3,7 @@ use std::path::PathBuf;
|
||||||
use serde::{Serialize, Deserialize};
|
use serde::{Serialize, Deserialize};
|
||||||
use serde_json::Value as JsonValue;
|
use serde_json::Value as JsonValue;
|
||||||
|
|
||||||
use wincompatlib::wine::WineWithExt;
|
use wincompatlib::prelude::*;
|
||||||
|
|
||||||
#[cfg(feature = "sandbox")]
|
#[cfg(feature = "sandbox")]
|
||||||
use crate::config::schema_blanks::sandbox::Sandbox;
|
use crate::config::schema_blanks::sandbox::Sandbox;
|
||||||
|
@ -119,7 +119,7 @@ impl Schema {
|
||||||
|
|
||||||
let prefix = match wine {
|
let prefix = match wine {
|
||||||
WincompatlibWine::Default(wine) => wine.prefix,
|
WincompatlibWine::Default(wine) => wine.prefix,
|
||||||
WincompatlibWine::Proton(proton) => proton.proton_prefix
|
WincompatlibWine::Proton(proton) => proton.wine().prefix.clone()
|
||||||
};
|
};
|
||||||
|
|
||||||
if let Some(prefix) = prefix {
|
if let Some(prefix) = prefix {
|
||||||
|
|
Loading…
Reference in a new issue