aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-12-29 14:42:45 +0100
committerdec05eba <dec05eba@protonmail.com>2024-12-29 14:42:45 +0100
commitc5c79bec64a991f350632f02f59d25c3d61d01fc (patch)
tree72cf2f2a967b4757250dda6d8d7ecf29f5ecf653
parent050e8773ccd887d4f0fb57b512a2c70556e3a932 (diff)
Better debug test
-rw-r--r--TODO4
-rw-r--r--src/main.cpp2
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