aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-10-27 12:33:04 +0100
committerdec05eba <dec05eba@protonmail.com>2024-10-27 12:33:04 +0100
commit2bbb12bcaab21f0d6633174989e4e681e23fb7bf (patch)
tree0509a748240c96c69d427bea83f9bc839eca66d0 /src/main.cpp
parent7139c921dce9249264cc6fab911704ca591f3409 (diff)
Better dev environment detection
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 3d94cd2..565eabd 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -160,7 +160,7 @@ int main(int argc, char **argv) {
setlocale(LC_ALL, "C"); // Sigh... stupid C
std::string resources_path;
- if(access("images/stream.png", F_OK) == 0) {
+ if(access("sibs-build", F_OK) == 0) {
resources_path = "./";
} else {
#ifdef GSR_NOTIFY_RESOURCES_PATH