From ffddf12a70995bbb7fbb7a73c30613f017ee430d Mon Sep 17 00:00:00 2001 From: doyle Date: Sat, 14 Oct 2023 12:20:04 +1100 Subject: [PATCH] fp: Unlock the file before build --- feely_pona_build.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/feely_pona_build.cpp b/feely_pona_build.cpp index efb45a5..5bda7e6 100644 --- a/feely_pona_build.cpp +++ b/feely_pona_build.cpp @@ -328,6 +328,7 @@ int main(int argc, char const **argv) if (Dqn_Fs_Exists(exe_path)) { Dqn_FsFile exe_file = Dqn_Fs_OpenFile(exe_path, Dqn_FsFileOpen_OpenIfExist, Dqn_FsFileAccess_Read | Dqn_FsFileAccess_Write); exe_is_locked = exe_file.error_size; + Dqn_Fs_CloseFile(&exe_file); } if (!exe_is_locked) {