[App] Add portable as a launch option in addition to checking for portable.txt existence
This commit is contained in:
committed by
Triang3l
parent
6dc94d9154
commit
92e445f01a
@@ -298,6 +298,9 @@ T* define_cmdvar(const char* name, T* default_value, const char* description) {
|
||||
DEFINE_CVar(name, default_value, description, category, false, \
|
||||
std::filesystem::path)
|
||||
|
||||
#define DEFINE_transient_bool(name, default_value, description, category) \
|
||||
DEFINE_CVar(name, default_value, description, category, true, bool)
|
||||
|
||||
#define DEFINE_transient_string(name, default_value, description, category) \
|
||||
DEFINE_CVar(name, default_value, description, category, true, std::string)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user