Skip to content

Commit

Permalink
Fixing bugs in the vs launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
karurochari committed Nov 27, 2024
1 parent 8e823ff commit f23ad1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ int run(const char* path, const char *entry, const char* profile, const char* te
else db_path=globals::path_env.userdata_path.location+"db.sqlite";

if(!std::filesystem::exists(db_path)){
if(t==nullptr)std::filesystem::copy_file(globals::path_env.app_path.location+"commons/db.sqlite",db_path);
if(t==nullptr)std::filesystem::copy_file(globals::path_env.root.location+"db.sqlite",db_path);
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ app_loader::app_loader(const char *profile, const char* path){
std::cout << "Loading embedded profile instead\n\n";
}
else{
doc.load_string("");
doc.load_string("<root></root>");
}
}

Expand Down

0 comments on commit f23ad1f

Please sign in to comment.