修复linux依赖检测

This commit is contained in:
dream10201 2023-08-19 12:30:15 +08:00 committed by GitHub
parent f8395bb50b
commit abd282109a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,7 +220,7 @@ export default class DependenceService {
depInfo &&
((isNodeDependence && depInfo.split(' ')?.[0] === depName) ||
(isLinuxDependence &&
depInfo.toLocaleLowerCase().includes('installed')) ||
depInfo.toLocaleLowerCase().includes('apt-manual-installed')) ||
isPythonDependence) &&
(!depVersion || depInfo.includes(depVersion))
) {