Fix noAppimage conditions

pull/35/head
Miepee 4 years ago
parent 9563e78a6d
commit d0b1a8010c

@ -847,7 +847,7 @@ public partial class MainForm : Form
desktopEntryText = desktopEntryText.Replace("ICONPATH", $"{Core.PatchDataPath}/data/files_to_copy/icon.png"); desktopEntryText = desktopEntryText.Replace("ICONPATH", $"{Core.PatchDataPath}/data/files_to_copy/icon.png");
string gameName; string gameName;
#if !NOAPPIMAGE #if NOAPPIMAGE
gameName = "runner"; gameName = "runner";
#else #else
gameName = "AM2R.AppImage"; gameName = "AM2R.AppImage";

@ -472,7 +472,9 @@ public static class Profile
log.Info("Linux specific formatting finished."); 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 // Copy AppImage template to here
HelperMethods.DirectoryCopy($"{Core.PatchDataPath}/data/AM2R.AppDir", $"{profilePath}/AM2R.AppDir/"); HelperMethods.DirectoryCopy($"{Core.PatchDataPath}/data/AM2R.AppDir", $"{profilePath}/AM2R.AppDir/");

Loading…
Cancel
Save