opt.: use ssh term to upgrade pkg

This commit is contained in:
lollipopkit
2023-09-03 17:36:12 +08:00
parent 61218f9ca3
commit e32f7536b5
8 changed files with 107 additions and 346 deletions

View File

@@ -20,6 +20,17 @@ extension StringX on String {
return dist;
}
}
for (final wrt in _wrts) {
if (lower.contains(wrt)) {
return Dist.wrt;
}
}
return null;
}
}
// Special rules
const _wrts = [
'istoreos',
];