Merge pull request #1 from LinusDierheimer/master

build temps file
This commit is contained in:
xzvf
2022-06-16 12:54:28 +02:00
committed by GitHub
2 changed files with 2 additions and 4 deletions
+1
View File
@@ -161,6 +161,7 @@ add_library(libfastfetch OBJECT
src/detection/vulkan.c
src/detection/media.c
src/detection/datetime.c
src/detection/temps.c
src/detection/displayserver/displayServer.c
src/detection/displayserver/wayland.c
src/detection/displayserver/xcb.c
+1 -4
View File
@@ -7,10 +7,7 @@
static bool isTempFile(const char* name)
{
return
name[0] == 't' &&
name[1] == 'e' &&
name[2] == 'm' &&
name[3] == 'p' &&
strncmp(name, "temp", 4) == 0 &&
name[4] >= '0' &&
name[4] <= '9' &&
strncmp(name + 5, "_input", 6) == 0;