Skip to content

Commit

Permalink
Do not use mono CLI on X11 during compilation
Browse files Browse the repository at this point in the history
Fixes #40
  • Loading branch information
paulloz committed Jun 11, 2022
1 parent 16e93e1 commit f669d0f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions addons/paulloz.ink/import_ink.gd
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,7 @@ func import_from_ink(source_file, save_path, options):
var _err = OK
var _output = []
match OS.get_name():
"OSX":
_err = OS.execute(inklecate, arguments, true, _output)
"X11":
arguments.push_front(inklecate)
_err = OS.execute("mono", arguments, true, _output)
"Windows":
"OSX", "Windows", "X11":
_err = OS.execute(inklecate, arguments, true, _output)
_:
return ERR_COMPILATION_FAILED
Expand Down

0 comments on commit f669d0f

Please sign in to comment.