新增加aarch64架构支持

This commit is contained in:
TheWhiteDog9487
2023-05-08 01:55:20 +00:00
parent 641f1a82a7
commit c6cff413fe
3 changed files with 19 additions and 7 deletions
+5
View File
@@ -82,8 +82,13 @@ int main() {
exit(-1);}
else if (OS == "Linux") {
if (get_linux_distro_name().find("Ubuntu") != string::npos){
cout << "检测到您使用的系统为:" << get_linux_distro_name() << endl;
Ubuntu();}
if (get_linux_distro_name().find("Debian") != string::npos){
cout << "检测到您使用的系统为:" << get_linux_distro_name() << endl;
Debian();}
if (get_linux_distro_name().find("Armbian") != string::npos){
cout << "检测到您使用的系统为:" << get_linux_distro_name() << endl;
Debian();}
else { exit(-1); }}
else if (OS == "未知"){