palmier 0.8.7 → 0.8.8
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/platform/macos.js +2 -4
- package/package.json +1 -1
- package/src/platform/macos.ts +2 -1
package/dist/platform/macos.js
CHANGED
|
@@ -257,10 +257,8 @@ export class MacOsPlatform {
|
|
|
257
257
|
fs.unlinkSync(taskPlistPath(taskId));
|
|
258
258
|
}
|
|
259
259
|
catch { /* ignore */ }
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
}
|
|
263
|
-
catch { /* ignore */ }
|
|
260
|
+
// Keep the log file — parity with journald retention on Linux, and
|
|
261
|
+
// needed to debug the last fire of one-shot specific_times tasks.
|
|
264
262
|
}
|
|
265
263
|
async startTask(taskId) {
|
|
266
264
|
await execAsync(`launchctl kickstart ${guiDomain()}/${taskLabel(taskId)}`);
|
package/package.json
CHANGED
package/src/platform/macos.ts
CHANGED
|
@@ -280,7 +280,8 @@ export class MacOsPlatform implements PlatformService {
|
|
|
280
280
|
const domain = guiDomain();
|
|
281
281
|
runLaunchctl(["bootout", `${domain}/${taskLabel(taskId)}`], { ignoreFailure: true });
|
|
282
282
|
try { fs.unlinkSync(taskPlistPath(taskId)); } catch { /* ignore */ }
|
|
283
|
-
|
|
283
|
+
// Keep the log file — parity with journald retention on Linux, and
|
|
284
|
+
// needed to debug the last fire of one-shot specific_times tasks.
|
|
284
285
|
}
|
|
285
286
|
|
|
286
287
|
async startTask(taskId: string): Promise<void> {
|