Commit 623ecf99 authored by jan.koester's avatar jan.koester
Browse files

inital support regedit

parent dca78134
Loading
Loading
Loading
Loading
+1 −1
Changes for src/blogi.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -1043,7 +1043,7 @@ VOID WINAPI ServiceMain(DWORD dwArgc, LPTSTR* lpszArgv) {
        std::cout << "Blogi Service is starting up. Streams redirected to Event Log." << std::endl;

        try {
            blogi::Blogi::Cfg = std::unique_ptr<blogi::Config>(new blogi::Config("yaml:./../config.yaml"));
            blogi::Blogi::Cfg = std::unique_ptr<blogi::Config>(new blogi::Config("regedit:HKEY_LOCAL_MACHINE/SOFTWARE/Tuxist"));
            std::cout << "Configuration loaded successfully." << std::endl;
        } catch (const std::exception& ex) {
            // This error is logged to the Event Log via std::cerr