Better debug test

This commit is contained in:
dec05eba
2024-12-29 14:42:45 +01:00
parent 050e8773cc
commit c5c79bec64
2 changed files with 4 additions and 2 deletions

2
TODO
View File

@@ -116,3 +116,5 @@ We can get the name of the running steam game without x11 by listing processes a
All steam game names by ID are available at https://api.steampowered.com/ISteamApps/GetAppList/v2/. The name of a single game can be retrieved from http://store.steampowered.com/api/appdetails?appids=115800.
Dont put widget position to int position when scrolling. This makes the UI jitter when it's coming to a halt.
Show a popup asking if the user wants to add the program to system startup when launching the program, with a dismiss option and "Do not show again".

View File

@@ -205,7 +205,7 @@ int main(int argc, char **argv) {
gsr::SupportedCaptureOptions capture_options = gsr::get_supported_capture_options(gsr_info);
std::string resources_path;
if(access("sibs-build", F_OK) == 0) {
if(access("sibs-build/linux_x86_64/debug/gsr-ui", F_OK) == 0) {
resources_path = "./";
} else {
#ifdef GSR_UI_RESOURCES_PATH