summaryrefslogtreecommitdiff
path: root/start/src/core/State.hpp
blob: 6a44c8d036e9329572fd0d849d1524add354c504 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include "../helpers/Memory.hpp"

#include <span>
#include <optional>

struct SState {
    std::span<const char*>     rawArgvNoBinPath;
    std::optional<std::string> customPath;
    bool                       noNixGl    = false;
    bool                       forceNixGl = false;
};

inline UP<SState> g_state = makeUnique<SState>();