mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
修复linux依赖检测 (#2082)
This commit is contained in:
parent
24da587897
commit
b5456277d1
|
@ -277,7 +277,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))
|
||||
) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user