From f669d0f6c052baa798d2ae5382f78c2f7f3ed9ae Mon Sep 17 00:00:00 2001 From: Paul Joannon Date: Sat, 11 Jun 2022 11:00:49 +0200 Subject: [PATCH] Do not use `mono` CLI on X11 during compilation Fixes #40 --- addons/paulloz.ink/import_ink.gd | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/addons/paulloz.ink/import_ink.gd b/addons/paulloz.ink/import_ink.gd index ee79b4a..df878db 100644 --- a/addons/paulloz.ink/import_ink.gd +++ b/addons/paulloz.ink/import_ink.gd @@ -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