Update install.dart

pull/4/head
axtloss 2 years ago committed by GitHub
parent 1a6a82ba8e
commit a39ded66ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);
}

Loading…
Cancel
Save