Skip to content

Commit

Permalink
fix: assets.skap file needs to be opened in write mode
Browse files Browse the repository at this point in the history
  • Loading branch information
iWas-Coder committed Jun 7, 2024
1 parent 0fa5b25 commit 00e8f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/skap/src/skap_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ FILE *skap_file_create(void) {
}
}
else printf(" TOUCH " SKAP_FILENAME "\n");
return fopen(SKAP_FILENAME, "ab");
return fopen(SKAP_FILENAME, "wb");
}

void skap_file_destroy(FILE *fd) {
Expand Down

0 comments on commit 00e8f43

Please sign in to comment.