Skip to content

Commit 20d1c14

Browse files
committed
use headless mode in mac os x
1 parent 3e0b014 commit 20d1c14

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ module.exports = {
109109
//UML
110110
debugger;
111111
try {
112-
execFile('java', ['-jar',
112+
execFile('java', [
113+
'-Dapple.awt.UIElement=true',
114+
'-jar',
113115
'plantuml.jar',
114116
//'-tsvg',
115117
umlPath,

0 commit comments

Comments
 (0)