summaryrefslogtreecommitdiff
path: root/start/src/core/State.hpp
blob: d00a17573b44ec19c15a1a3e9d0eece393bef996 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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;
};

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