From d0b1a8010c324f226b8a186a5e66b13d2651662d Mon Sep 17 00:00:00 2001 From: Miepee Date: Wed, 31 Aug 2022 13:02:29 +0200 Subject: [PATCH] Fix noAppimage conditions --- AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs | 2 +- AM2RLauncher/AM2RLauncherLib/Profile.cs | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs index 9347045..54a024c 100644 --- a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs +++ b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs @@ -847,7 +847,7 @@ public partial class MainForm : Form desktopEntryText = desktopEntryText.Replace("ICONPATH", $"{Core.PatchDataPath}/data/files_to_copy/icon.png"); string gameName; - #if !NOAPPIMAGE + #if NOAPPIMAGE gameName = "runner"; #else gameName = "AM2R.AppImage"; diff --git a/AM2RLauncher/AM2RLauncherLib/Profile.cs b/AM2RLauncher/AM2RLauncherLib/Profile.cs index 3a6b5bc..ad2a39e 100644 --- a/AM2RLauncher/AM2RLauncherLib/Profile.cs +++ b/AM2RLauncher/AM2RLauncherLib/Profile.cs @@ -472,7 +472,9 @@ public static class Profile log.Info("Linux specific formatting finished."); - #if !NOAPPIMAGE + #if NOAPPIMAGE + // TODO: figure out a way to use patchelf to get rid of deprecated ssl stuff + #else // Copy AppImage template to here HelperMethods.DirectoryCopy($"{Core.PatchDataPath}/data/AM2R.AppDir", $"{profilePath}/AM2R.AppDir/");