mirror of
https://github.com/hyprwm/hyprlang.git
synced 2024-12-22 09:59:48 +01:00
eee
This commit is contained in:
parent
256274d0cc
commit
e050543243
1 changed files with 5 additions and 10 deletions
|
@ -52,19 +52,14 @@ int main(int argc, char** argv, char** envp) {
|
|||
int ret = 0;
|
||||
|
||||
try {
|
||||
if (!getenv("SHELL"))
|
||||
setenv("SHELL", "/bin/sh", true);
|
||||
|
||||
std::cout << "Starting test\n";
|
||||
|
||||
Hyprlang::CConfig config("./config/config.conf");
|
||||
|
||||
try {
|
||||
pConfig = &config;
|
||||
currentPath = std::filesystem::canonical("./config/");
|
||||
} catch (std::logic_error& e) {
|
||||
std::cout << "err " << e.what() << std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
std::cout << "start add" << std::endl;
|
||||
pConfig = &config;
|
||||
currentPath = std::filesystem::canonical("./config/");
|
||||
|
||||
// setup config
|
||||
config.addConfigValue("testInt", 0L);
|
||||
|
|
Loading…
Reference in a new issue