Prevent crash if quickget produces more than 5 columns in CSV
This commit is contained in:
parent
d38146736c
commit
e278ac7f6e
|
@ -22,7 +22,8 @@ Future<List<OperatingSystem>> loadOperatingSystems(bool showUbuntus) async {
|
||||||
{
|
{
|
||||||
supportedVersion = Tuple5.fromList([...chunks, "wget"]);
|
supportedVersion = Tuple5.fromList([...chunks, "wget"]);
|
||||||
} else {
|
} else {
|
||||||
supportedVersion = Tuple5.fromList(chunks);
|
var t5 = [chunks[0], chunks[1], chunks[2], chunks[3], chunks[4]].toList();
|
||||||
|
supportedVersion = Tuple5.fromList(t5);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (currentOperatingSystem?.code != supportedVersion.item2) {
|
if (currentOperatingSystem?.code != supportedVersion.item2) {
|
||||||
|
|
Loading…
Reference in New Issue