From fa3867a6f1362db378c17ddbdcb255c54b97e9f8 Mon Sep 17 00:00:00 2001 From: Dario48 Date: Tue, 15 Jul 2025 21:04:28 +0200 Subject: [PATCH] avoid hardcoding files --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 191e029..712b389 100644 --- a/build.zig +++ b/build.zig @@ -24,7 +24,7 @@ pub fn build(b: *std.Build) void { b.getInstallStep().dependOn(&img_install.step); const run = b.addSystemCommand(&.{ "qemu-system-i386", "-fda" }); - run.addFileArg(b.path("zig-out/bin/initramfs.img")); + run.addFileArg(floppy.obj); const run_step = b.step("run", "run the os in qemu"); run_step.dependOn(&run.step);