pinokiod 3.3.49 → 3.3.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kernel/bin/vs.js +3 -4
- package/package.json +1 -1
package/kernel/bin/vs.js
CHANGED
|
@@ -117,7 +117,7 @@ class VS {
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
console.log("vs.init() this._env=", this.
|
|
120
|
+
console.log("vs.init() this._env=", this._env)
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
env () {
|
|
@@ -127,10 +127,9 @@ class VS {
|
|
|
127
127
|
}
|
|
128
128
|
async installed() {
|
|
129
129
|
if (this.kernel.platform === "win32") {
|
|
130
|
-
let paths = await this.getpaths()
|
|
131
|
-
console.log("VS INSTALLED CHECK", paths)
|
|
132
130
|
await this.init()
|
|
133
|
-
|
|
131
|
+
console.log("VS INSTALLED CHECK", this._env)
|
|
132
|
+
return this._env.MSVC_PATH && this._env.MSVC_PATH.length > 0 && this._env.BUILD_PATH && this._env.BUILD_PATH.length > 0 && this._env.CMAKE_PATH && this._env.CMAKE_PATH.length > 0 && this._env.VCVARSALL_PATH && this._env.VCVARSALL_PATH.length > 0
|
|
134
133
|
}
|
|
135
134
|
}
|
|
136
135
|
|