Convert `File.Move` to `File.Copy`, add log for patching OpenSSL

pull/52/head
Noah Snelson 3 years ago
parent 43c3eb5e4c
commit 55f6155b99

@ -70,6 +70,10 @@ internal static class MainClass
log.Info("On AppImage configuration.");
#endif
#if PATCHOPENSSL
log.Info("On configuration for patching OpenSSL 1.0.0.");
#endif
try
{
Application gtkLauncher = new Application(Eto.Platforms.Gtk);
@ -96,4 +100,4 @@ internal static class MainClass
MessageBox.Show($"{Language.Text.UnhandledException}\n*****Stack Trace*****\n\n{e.ExceptionObject}", "GTK", MessageBoxType.Error);
});
}
}
}

@ -502,7 +502,7 @@ public static class Profile
#endif
File.Move($"{tempPath}/{exe}", $"{tempPath}/.runner-unwrapped");
File.Move($"{Core.PatchDataPath}/data/mesa-wrapper.sh", $"{tempPath}/runner");
File.Copy($"{Core.PatchDataPath}/data/mesa-wrapper.sh", $"{tempPath}/runner");
#else
// Copy AppImage template to here
HelperMethods.DirectoryCopy($"{Core.PatchDataPath}/data/AM2R.AppDir", $"{tempPath}/AM2R.AppDir/");

Loading…
Cancel
Save