diff --git a/.github/release-nest-v3 b/.github/release-nest-v3 index 0cfbf08..d00491f 100644 --- a/.github/release-nest-v3 +++ b/.github/release-nest-v3 @@ -1 +1 @@ -2 +1 diff --git a/falcond/debian/changelog b/falcond/debian/changelog index 699e4b3..5941373 100644 --- a/falcond/debian/changelog +++ b/falcond/debian/changelog @@ -1,3 +1,9 @@ +falcond (1.0.7-101pika1) pika; urgency=low + + * Don't load profiles in subfolders + + -- ferreo Sun, 12 Jan 2025 13:48:00 +0300 + falcond (1.0.6-101pika1) pika; urgency=low * Add handheld and htpc profiles, split system processes config to live in the profiles repo for easier updates diff --git a/falcond/src/config/confloader.zig b/falcond/src/config/confloader.zig index f31fc8e..7807612 100644 --- a/falcond/src/config/confloader.zig +++ b/falcond/src/config/confloader.zig @@ -30,12 +30,10 @@ pub fn loadConfDir(comptime T: type, allocator: std.mem.Allocator, dir_path: []c var dir = try std.fs.openDirAbsolute(dir_path, .{ .iterate = true }); defer dir.close(); - var walker = try dir.walk(allocator); - defer walker.deinit(); - - while (try walker.next()) |entry| { - if (entry.kind == .file and std.mem.endsWith(u8, entry.path, ".conf")) { - const path = try std.fs.path.join(allocator, &.{ dir_path, entry.path }); + var iter = dir.iterate(); + while (try iter.next()) |entry| { + if (entry.kind == .file and std.mem.endsWith(u8, entry.name, ".conf")) { + const path = try std.fs.path.join(allocator, &.{ dir_path, entry.name }); defer allocator.free(path); const file = try std.fs.openFileAbsolute(path, .{}); diff --git a/main.sh b/main.sh index 4bfd456..385a101 100755 --- a/main.sh +++ b/main.sh @@ -2,7 +2,7 @@ set -e -VERSION="1.0.6" +VERSION="1.0.7" source ./pika-build-config.sh