Commit Graph

5 Commits

Author SHA1 Message Date
CPunch b60203d3f2 Linux: implemented laikaB_markRunning() & laikaB_unmarkRunning()
- switched to file locks as that's more discreet
    - tied to LAIKA_PERSISTENCE being defined
2022-04-16 22:56:05 -05:00
CPunch 59c01d422b More resilient persistence
- bot will keep trying to connect if it failed to connect to the CNC or if the bot was killed
- if crontab isn't installed the bot will still run
2022-04-10 15:45:30 -05:00
CPunch 2fb0ef29a6 Added CMake flag for enabling persistence 2022-04-07 19:04:42 -05:00
CPunch 412418ec0a Added crontab persistence, disabled by default with LAIKA_NOINSTALL
- undefine LAIKA_NOINSTALL in persist.h to enable persistence
- windows persistence is still unimplemented
2022-04-07 18:11:58 -05:00
CPunch b6bd8b2518 Bot persistence boilerplate 2022-04-04 12:12:37 -05:00