RPM build

This commit is contained in:
Mbucari 2023-05-17 15:08:24 -06:00
parent 7586f7a159
commit d6fe3013ab
12 changed files with 242 additions and 33 deletions

View file

@ -1,4 +1,5 @@
using LibationFileManager;
using AppScaffolding;
using LibationFileManager;
using System.Diagnostics;
namespace LinuxConfigApp
@ -24,6 +25,8 @@ namespace LinuxConfigApp
public void SetFolderIcon(string image, string directory) => throw new PlatformNotSupportedException();
public void DeleteFolderIcon(string directory) => throw new PlatformNotSupportedException();
public string ReleaseIdentifier => LibationScaffolding.ReleaseIdentifier.ToString() + (File.Exists("/bin/yum") ? "_RPM" : "");
//only run the auto upgrader if the current app was installed from the
//.deb package. Try to detect this by checking if the symlink exists.
public bool CanUpgrade => Directory.Exists("/usr/lib/libation");