make it run jade instead of jadeemu

pull/2/head
axtlos 2 years ago
parent 96a89c2702
commit 3c0eb3fb12

@ -10,8 +10,8 @@ test(setOutput, running, setRunning, config, writeToLog) async {
const filename = "/tmp/jade.json"; const filename = "/tmp/jade.json";
await File(filename).writeAsString(config); await File(filename).writeAsString(config);
writeToLog("Json config: $config"); writeToLog("Json config: $config");
var process = await Process.start('pkexec', ['jade', 'config', filename]); //var process = await Process.start('pkexec', ['jade', 'config', filename]);
//await Process.start('/opt/jade_gui/scripts/jadeemu.sh', []); var process = await Process.start('/opt/jade_gui/scripts/jadeemu.sh', []);
process.stdout.transform(utf8.decoder).forEach(setOutput); process.stdout.transform(utf8.decoder).forEach(setOutput);
setRunning(true); setRunning(true);
} }

Loading…
Cancel
Save