pinokiod 3.4.2 → 3.4.3
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 +7 -0
- package/package.json +1 -1
package/kernel/bin/vs.js
CHANGED
|
@@ -127,6 +127,13 @@ class VS {
|
|
|
127
127
|
}
|
|
128
128
|
async installed() {
|
|
129
129
|
if (this.kernel.platform === "win32") {
|
|
130
|
+
await new Promise((resolve, reject) => {
|
|
131
|
+
console.log("vs installed check: wait 3 seconds before checking")
|
|
132
|
+
setTimeout(() => {
|
|
133
|
+
console.log("vs installed check: check now")
|
|
134
|
+
resolve()
|
|
135
|
+
}, 3000)
|
|
136
|
+
})
|
|
130
137
|
await this.init()
|
|
131
138
|
console.log("VS INSTALLED CHECK", this._env)
|
|
132
139
|
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
|