Compare commits

3 Commits

3 changed files with 17 additions and 12 deletions

1
.gitignore vendored
View File

@@ -2,3 +2,4 @@
/*.zip /*.zip
/pkg/ /pkg/
/src/ /src/
IFLOW.md

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"idf.pythonInstallPath": "/opt/homebrew/bin/python3"
}

View File

@@ -124,10 +124,11 @@ GeneralRequirements::checkRequirements()
hasPower = checkHasPower(); hasPower = checkHasPower();
} }
if ( m_entriesToCheck.contains( "internet" ) ) // if ( m_entriesToCheck.contains( "internet" ) )
{ // {
hasInternet = checkHasInternet(); // hasInternet = checkHasInternet();
} // }
hasInternet = true;
if ( m_entriesToCheck.contains( "root" ) ) if ( m_entriesToCheck.contains( "root" ) )
{ {
@@ -186,14 +187,14 @@ GeneralRequirements::checkRequirements()
hasPower, hasPower,
required } ); required } );
} }
else if ( entry == "internet" ) // else if ( entry == "internet" )
{ // {
checkEntries.append( { entry, // checkEntries.append( { entry,
[] { return tr( "is connected to the Internet" ); }, // [] { return tr( "is connected to the Internet" ); },
[] { return tr( "The system is not connected to the Internet." ); }, // [] { return tr( "The system is not connected to the Internet." ); },
hasInternet, // hasInternet,
required } ); // required } );
} // }
else if ( entry == "root" ) else if ( entry == "root" )
{ {
checkEntries.append( { entry, checkEntries.append( { entry,