Support Environment variables inside apps

This commit is contained in:
loki
2019-12-16 21:21:29 +01:00
parent 2e7d621e12
commit f499d25853
3 changed files with 80 additions and 22 deletions

View File

@@ -16,7 +16,6 @@ extern "C" {
}
using namespace std::literals;
int main(int argc, char *argv[]) {
if(argc > 1) {
if(!std::filesystem::exists(argv[1])) {