@@ -8,7 +8,31 @@ export async function setupDoxygen(version: string | undefined, _setupCppDir: st
8
8
switch ( process . platform ) {
9
9
case "win32" : {
10
10
await setupChocoPack ( "doxygen.install" , version )
11
- await setupChocoPack ( "graphviz" , version )
11
+ // TODO fails on windows?
12
+ // await setupChocoPack("graphviz", version)
13
+ /**
14
+ * Graphviz v2.49.0 [Approved] graphviz package files install completed. Performing other installation steps.
15
+ * graphviz not installed. An error occurred during installation: Item has already been added. Key in dictionary:
16
+ * 'Path' Key being added: 'PATH'
17
+ *
18
+ * Chocolatey installed 0/0 packages.
19
+ * See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
20
+ * The process cannot access the file 'C:\ProgramData\chocolatey\lib\Graphviz\.chocolateyPending' because it is being used by another process.
21
+ *
22
+ * 18 | execa.sync("choco", ["install", "-y", name, `--version=${version}`, ...args])
23
+ * 19 | } else {
24
+ * > 20 | execa.sync("choco", ["install", "-y", name, ...args])
25
+ * | ^
26
+ * 21 | }
27
+ * 22 |
28
+ * 23 | const binDir = "C:/ProgramData/Chocolatey/bin/"
29
+ *
30
+ * at makeError (node_modules/.pnpm/[email protected] /node_modules/execa/lib/error.js:60:11)
31
+ * at Function.Object.<anonymous>.module.exports.sync (node_modules/.pnpm/[email protected] /node_modules/execa/index.js:194:17)
32
+ * at setupChocoPack (src/utils/setup/setupChocoPack.ts:20:11)
33
+ * at setupDoxygen (src/doxygen/doxygen.ts:11:27)
34
+ * at Object.<anonymous> (src/doxygen/__tests__/doxygen.test.ts:8:25)
35
+ */
12
36
addPath ( "C:/Program Files/Graphviz/bin" )
13
37
const binDir = "C:/Program Files/doxygen/bin"
14
38
addPath ( binDir )
0 commit comments