From c5c79bec64a991f350632f02f59d25c3d61d01fc Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 29 Dec 2024 14:42:45 +0100 Subject: Better debug test --- TODO | 4 +++- src/main.cpp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index 8878b8b..553ab92 100644 --- a/TODO +++ b/TODO @@ -115,4 +115,6 @@ 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. \ No newline at end of file +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". \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 4bd7a84..1e74ddc 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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 -- cgit v1.2.3