From d30dbba4ca1e7fe771ee49c081de07670ab8bdec Mon Sep 17 00:00:00 2001 From: axtlos Date: Sun, 15 May 2022 12:37:12 +0200 Subject: [PATCH] actually run jade --- lib/functions/install.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/functions/install.dart b/lib/functions/install.dart index 69e3825..714d69b 100644 --- a/lib/functions/install.dart +++ b/lib/functions/install.dart @@ -10,9 +10,8 @@ test(setOutput, running, setRunning, config, writeToLog) async { const filename = "/tmp/jade.json"; await File(filename).writeAsString(config); writeToLog("Json config: $config"); - var process = - //await Process.start('pkexec', ['/opt/jade_gui/scripts/jadewrapper.sh']); - await Process.start('/opt/jade_gui/scripts/jadeemu.sh', []); + var process = await Process.start('pkexec', ['jade', 'config', filename]); + //await Process.start('/opt/jade_gui/scripts/jadeemu.sh', []); process.stdout.transform(utf8.decoder).forEach(setOutput); setRunning(true); }