This is nativefiledialog-extended, packaged for Zig.
First, update your build.zig.zon
:
# Initialize a `zig build` project if you haven't already
zig init
zig fetch --save git+https://github.com/allyourcodebase/nativefiledialog-extended.git#1.2.1
You can then import nativefiledialog-extended
in your build.zig
with:
const nfd_dependency = b.dependency("nativefiledialog-extended", .{
.target = target,
.optimize = optimize,
});
your_exe.linkLibrary(nfd_dependency.artifact("nfd"));
See https://github.com/btzy/nativefiledialog-extended/tree/v1.2.1#dependencies