fp: Unlock the file before build
This commit is contained in:
parent
7bdb22f93f
commit
ffddf12a70
@ -328,6 +328,7 @@ int main(int argc, char const **argv)
|
|||||||
if (Dqn_Fs_Exists(exe_path)) {
|
if (Dqn_Fs_Exists(exe_path)) {
|
||||||
Dqn_FsFile exe_file = Dqn_Fs_OpenFile(exe_path, Dqn_FsFileOpen_OpenIfExist, Dqn_FsFileAccess_Read | Dqn_FsFileAccess_Write);
|
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;
|
exe_is_locked = exe_file.error_size;
|
||||||
|
Dqn_Fs_CloseFile(&exe_file);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!exe_is_locked) {
|
if (!exe_is_locked) {
|
||||||
|
Loading…
Reference in New Issue
Block a user