Use flatpak-spawn to run streamlink when running as a flatpak (#3178)

Co-authored-by: Leon Richardt <leon.richardt@gmail.com>
Co-authored-by: Paweł <zneix@zneix.eu>
This commit is contained in:
ilyazzz
2021-08-21 14:00:01 +03:00
committed by GitHub
parent d7fd08b1d6
commit a7ef7e6f7f
5 changed files with 40 additions and 18 deletions
+5
View File
@@ -71,4 +71,9 @@ const bool &Version::isSupportedOS() const
return this->isSupportedOS_;
}
bool Version::isFlatpak() const
{
return QFileInfo::exists("/.flatpak-info");
}
} // namespace chatterino