added service and timer files, aswell as Arch PKGBUILD

updated version in main.cpp to be a dependency from cmake
This commit is contained in:
2025-06-20 13:14:00 +02:00
parent d62635c7d9
commit 25c0dd16ca
5 changed files with 48 additions and 2 deletions

View File

@@ -2,8 +2,11 @@
#include <iostream>
#include <unistd.h>
#include "str_utils.h"
#include <sys/stat.h>
const char* VERSION = "0.0.1-DEV";
#ifndef VERSION
#define VERSION "unknown-DEV"
#endif
bool shortHand(const char* str, char shortHand);
@@ -31,7 +34,8 @@ int main(const int argc, char** argv) {
return -1;
}
std::cout << "Initialization :)" << std::endl;
// TODO: Add init system
}
else if (strcmp(arg, "--heartbeat") == 0 || shortHand(arg, 'b')) {
// TODO: Send heartbeat