diff --git a/src/main.ts b/src/main.ts index eb5c067..0db753e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -181,7 +181,7 @@ async function grpp_loadSettings(){ */ export async function grpp_saveSettings(mode:string = 'db'){ try { - + // Swicth save mode process.chdir(originalCwd); switch (mode){ diff --git a/src/update.ts b/src/update.ts index d0a93e9..3654a18 100644 --- a/src/update.ts +++ b/src/update.ts @@ -338,7 +338,7 @@ function processBatchResFiles(){ enableLineBreak = '\n'; updateConsoleLine(0, 11, `──┬ ${grpp_convertLangVar(langDatabase.update.batch_overallProgress, [parsePercentage(reposProcessed, totalReposQueued), reposProcessed, totalReposQueued])}`); updateConsoleLine(0, 13, ` ├ ${grpp_convertLangVar(langDatabase.update.batch_updateCounter, [changeTextColorNumber(updateCounter, consoleTextStyle.fgGreen)])}`); - updateConsoleLine(0, 14, ` └ ${grpp_convertLangVar(langDatabase.update.batch_errorCounter, [changeTextColorNumber(errorCounter, consoleTextStyle.fgGreen)])}\n\n${langDatabase.update.batchProcessList}\n\n`); + updateConsoleLine(0, 14, ` └ ${grpp_convertLangVar(langDatabase.update.batch_errorCounter, [changeTextColorNumber(errorCounter, consoleTextStyle.fgRed)])}\n\n${langDatabase.update.batchProcessList}\n\n`); } // Update entryChar if there is only one process and update elapsed time line