Removed RPM package support from ApplicationUpdater

This commit is contained in:
Leon Styhre 2023-04-08 12:37:40 +02:00
parent 56dcaa05fc
commit 318269bb74
2 changed files with 0 additions and 5 deletions

View file

@ -52,8 +52,6 @@ ApplicationUpdater::ApplicationUpdater()
mPackageType = PackageType::LINUX_STEAM_DECK_APPIMAGE;
#elif defined(APPIMAGE_BUILD)
mPackageType = PackageType::LINUX_APPIMAGE;
#elif defined(LINUX_RPM_PACKAGE)
mPackageType = PackageType::LINUX_RPM;
#elif defined(LINUX_DEB_PACKAGE)
mPackageType = PackageType::LINUX_DEB;
#endif
@ -390,8 +388,6 @@ void ApplicationUpdater::compareVersions()
mPackage = package;
else if (mPackageType == PackageType::LINUX_DEB && package.name == "LinuxDEB")
mPackage = package;
else if (mPackageType == PackageType::LINUX_RPM && package.name == "LinuxRPM")
mPackage = package;
else if (mPackageType == PackageType::LINUX_APPIMAGE &&
package.name == "LinuxAppImage")
mPackage = package;

View file

@ -60,7 +60,6 @@ private:
MACOS_APPLE,
MACOS_INTEL,
LINUX_DEB,
LINUX_RPM,
LINUX_APPIMAGE,
LINUX_STEAM_DECK_APPIMAGE,
UNKNOWN