cortico-world-hands 0.20.14 → 0.20.15
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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2505,7 +2505,7 @@ ${lines.join("\n")}
|
|
|
2505
2505
|
const keepDays = cfg.mediaKeepDays ?? 1;
|
|
2506
2506
|
const hour = cfg.mediaCleanHour ?? 4;
|
|
2507
2507
|
const now = /* @__PURE__ */ new Date();
|
|
2508
|
-
if (hour
|
|
2508
|
+
if (hour > 0 && now.getHours() !== hour) return;
|
|
2509
2509
|
const slot = Math.floor(now.getTime() / (6 * 3600 * 1e3));
|
|
2510
2510
|
if (this.lastMediaDay === slot) return;
|
|
2511
2511
|
const dir = this.mediaDir();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cortico-world-hands",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Cortico World: hands for the desktop pet — looks at the phone screen, then taps, swipes, pinches, drags, types and presses keys through whatever actuator the device actually has",
|
|
6
6
|
"license": "MIT",
|