feat: complete WorkBuddy parity and Windows release workflow
This commit is contained in:
1 parent
143516b3a8
commit
d5512df549
434 files changed
+54977
-1854
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import assert from 'node:assert/strict'
|
||||
import { normalize } from 'node:path'
|
||||
import { detectOmpPath } from '../src/main/omp'
|
||||
|
||||
delete process.env['YCODE_OMP_PATH']
|
||||
const detected = detectOmpPath()
|
||||
assert.ok(detected, 'bundled OMP must be detected without YCODE_OMP_PATH')
|
||||
const expected = normalize('resources/omp/omp.exe')
|
||||
assert.ok(normalize(detected).toLowerCase().endsWith(expected.toLowerCase()),
|
||||
`detected OMP must resolve to the bundled resources/omp/omp.exe, got ${detected}`)
|
||||
console.log(`PASS detectOmpPath => ${detected}`)
|
||||
Reference in new issue
Block a user