mirror of
https://github.com/LinoSchmidt/StickExporterTX.git
synced 2026-03-23 10:36:09 +01:00
Added progress bar
This commit is contained in:
@@ -94,8 +94,20 @@ function settingListLoadDefault() {
|
||||
});
|
||||
}
|
||||
|
||||
function getLogList() {
|
||||
return settingList.log.split("\"\"");
|
||||
}
|
||||
|
||||
function getLogSize(index:number) {
|
||||
const logList = settingList.log.substring(1).slice(0, -1).split('""');
|
||||
|
||||
return fs.statSync(logList[index]).size;
|
||||
}
|
||||
|
||||
export {
|
||||
updateSettings,
|
||||
settingListLoadDefault,
|
||||
settingList,
|
||||
getLogList,
|
||||
getLogSize
|
||||
}
|
||||
Reference in New Issue
Block a user