From a39ded66ea6f7428b42b2cdd4bc167d310f000d1 Mon Sep 17 00:00:00 2001 From: axtloss Date: Sun, 3 Jul 2022 11:41:05 +0200 Subject: [PATCH] Update install.dart --- lib/functions/install.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/functions/install.dart b/lib/functions/install.dart index 87f3923..9a21321 100644 --- a/lib/functions/install.dart +++ b/lib/functions/install.dart @@ -10,8 +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', ['jade', 'config', filename]); - var process = await Process.start('/opt/jade_gui/scripts/jadeemu.sh', []); + var process = await Process.start('pkexec', ['jade', 'config', filename]); + //var process = await Process.start('/opt/jade_gui/scripts/jadeemu.sh', []); process.stdout.transform(utf8.decoder).forEach(setOutput); setRunning(true); }