mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-10 05:36:22 +08:00
Fix issue synergy/synergy#4720
This commit is contained in:
@@ -194,13 +194,7 @@ QString PluginManager::getPluginUrl(const QString& pluginName)
|
||||
process.start(program, args);
|
||||
bool success = process.waitForStarted();
|
||||
|
||||
if (!success || !process.waitForFinished())
|
||||
{
|
||||
emit error(tr("Could not get Linux package type."));
|
||||
return "";
|
||||
}
|
||||
|
||||
bool isDeb = (process.exitCode() == 0);
|
||||
bool isDeb = (success && process.waitForFinished() & (process.exitCode() == 0));
|
||||
|
||||
int arch = getProcessorArch();
|
||||
if (arch == kProcessorArchLinux32) {
|
||||
|
||||
Reference in New Issue
Block a user