m0ar fizax

This commit is contained in:
2025-08-18 21:21:18 -06:00
parent 91d39b419e
commit 3ab4882d63
2 changed files with 5 additions and 2 deletions
+4 -2
View File
@@ -304,8 +304,9 @@ function testAppendAlias() {
} }
function handleAliasEnviron() { function handleAliasEnviron() {
cp $rcFile $rcFile.bak # backup da thing first frong
# the pretty comment and such first # the pretty comment and such first
testAppendAlias "# esp-idf-tools aliases" "\n# esp-idf-tools\n" testAppendAlias "# esp-idf-tools aliases" "\n# esp-idf-tools"
testAppendAlias "ESPIDFTOOLS_INSTALLDIR" "export ESPIDFTOOLS_INSTALLDIR=\"$defaultInstallDir\"" testAppendAlias "ESPIDFTOOLS_INSTALLDIR" "export ESPIDFTOOLS_INSTALLDIR=\"$defaultInstallDir\""
testAppendAlias "get-esp-tools" "alias get-esp-tools='. $exportScript'" testAppendAlias "get-esp-tools" "alias get-esp-tools='. $exportScript'"
testAppendAlias "run-esp-cmd" "alias run-esp-cmd='bash $runningDir/esp-idf-tools-cmd.sh'" testAppendAlias "run-esp-cmd" "alias run-esp-cmd='bash $runningDir/esp-idf-tools-cmd.sh'"
@@ -471,7 +472,8 @@ function handleChk() {
totalErrorLoad=$(($pkgInstallChk+$gitChk+$gitChk+$installChk+$toolsInstallChk+$exportSedHashChk+$exportCatChk+$exportSedReturnChk+$aliasRunEspReinstallChk+$aliasEspMonitorchk+$aliasEspLogsChk+$aliasInstallDirChk+$warnChk+$logoutChk+$gitLogChk+$gitHashChk+$rmIdfDirChk+$rmEspressifChk+$mkInstallDirChk+$restoreExportScriptChk+$rmExportScriptChk+$backupExportScriptChk+$customBinExecChk+$rmCustomBinChk+$sleepChk+$rmExportBackupChk)) totalErrorLoad=$(($pkgInstallChk+$gitChk+$gitChk+$installChk+$toolsInstallChk+$exportSedHashChk+$exportCatChk+$exportSedReturnChk+$aliasRunEspReinstallChk+$aliasEspMonitorchk+$aliasEspLogsChk+$aliasInstallDirChk+$warnChk+$logoutChk+$gitLogChk+$gitHashChk+$rmIdfDirChk+$rmEspressifChk+$mkInstallDirChk+$restoreExportScriptChk+$rmExportScriptChk+$backupExportScriptChk+$customBinExecChk+$rmCustomBinChk+$sleepChk+$rmExportBackupChk))
if [[ $totalErrorLoad < 2 ]]; then # fuckin make dis thing frickin work proper lmfao
if [[ $totalErrorLoad < 3 ]]; then
writeToLog "Installed Successfully, total error load: $totalErrorLoad" writeToLog "Installed Successfully, total error load: $totalErrorLoad"
else else
writeToLog "Install FAILED! Dumping return codes:\n" writeToLog "Install FAILED! Dumping return codes:\n"
+1
View File
@@ -7,6 +7,7 @@ esp-idf-cools-cmd.sh
get update properly workan frong get update properly workan frong
some kinda more meaningful status indication instead of endless terminal spam? some kinda more meaningful status indication instead of endless terminal spam?
think i brope interaCTIVE lol think i brope interaCTIVE lol
do not show failure message on python returning 1
x install.sh for curl -s github/install.sh | exec $SHELL installation x install.sh for curl -s github/install.sh | exec $SHELL installation
make it handle shit like make it handle shit like
detecting existing dirs and erroring detecting existing dirs and erroring