aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--src/main.odin8
2 files changed, 8 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 78b83a3..9a24d49 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
+.DS_Store
*.pdb
info.txt
*.res
*.exe
test\
-*.rdi \ No newline at end of file
+*.rdi
diff --git a/src/main.odin b/src/main.odin
index 2daaafb..cc7a8a1 100644
--- a/src/main.odin
+++ b/src/main.odin
@@ -35,7 +35,11 @@ PART_END :: #load("parts/end.html", string)
PART_FOOTER :: #load("parts/footer.html", string)
HEADER_TEMPLATE :: #load("header_template.txt", string)
-HEADER_FIELDS_FILENAME :: "info.txt"
+when ODIN_OS == .Darwin {
+ HEADER_FIELDS_FILENAME :: "../../../Better Report info.txt"
+} else {
+ HEADER_FIELDS_FILENAME :: "info.txt"
+}
header_fields_file : string
BG_PNG :: #load("graphics/bg.png", []u8)
@@ -1282,4 +1286,4 @@ walk_directory :: proc(path : string, file_number : ^int, depth : int = 0) {
append(&job_list, wav_files)
file_number^ += 1
}
-} \ No newline at end of file
+}