forked from akanyan/STARTLINER
fix: restore wine configuration
This commit is contained in:
@ -70,7 +70,7 @@ impl AnyProfile {
|
||||
Self::OngekiProfile(p) => &mut p.mods
|
||||
}
|
||||
}
|
||||
pub async fn line_up(&self, app: AppHandle, pkg_hash: String) -> Result<()> {
|
||||
pub async fn line_up(&self, _app: AppHandle, pkg_hash: String) -> Result<()> {
|
||||
match self {
|
||||
Self::OngekiProfile(p) => {
|
||||
if !p.data_dir().exists() {
|
||||
@ -80,7 +80,8 @@ impl AnyProfile {
|
||||
let hash_path = p.data_dir().join(".sl-state");
|
||||
let meta = self.meta();
|
||||
|
||||
p.display.activate(app.clone());
|
||||
#[cfg(target_os = "windows")]
|
||||
p.display.activate(_app.clone());
|
||||
|
||||
util::clean_up_opts(p.data_dir().join("option"))?;
|
||||
|
||||
|
Reference in New Issue
Block a user