rich-presence
Tag 2021-05-09 13:17:20 -07:00
rodzic 7ecf3a0252
commit 1ff1687c9f
2 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -70,9 +70,9 @@ function onAdiLoadComplete(adiBuffer, saveAdifFile, adifFileName, newFile)
let eQSLfile = false;
if (rawAdiBuffer.indexOf("PSKReporter") > -1) activeAdifLogMode = false;
if (rawAdiBuffer.indexOf("Received eQSLs") > -1) eQSLfile = true;
if (rawAdiBuffer.length > 1)
{
let regex = new RegExp("<EOR>", "i");

Wyświetl plik

@ -15870,13 +15870,13 @@ function mediaCheck()
// Old log filename, no longer referenced
tryToDeleteLog("lotw.adif");
try
{
if (fs.existsSync(g_NWappData + "internal_qso.json"))
{
var data = JSON.parse(fs.readFileSync(g_NWappData + "internal_qso.json"));
g_tracker = data.tracker;
if (typeof g_tracker.worked.px == "undefined")
@ -15901,12 +15901,12 @@ function mediaCheck()
g_QSOcount++;
if (g_QSOhash[i].confirmed) g_QSLcount++;
}
fs.unlinkSync(g_NWappData + "internal_qso.json");
}
loadReceptionReports();
}
catch (e)
catch (e)
{
clearLogFilesAndCounts();
}