aboutsummaryrefslogtreecommitdiff
path: root/ttt.jai
diff options
context:
space:
mode:
authordam <dam@gudinoff>2025-02-13 23:15:35 +0000
committerdam <dam@gudinoff>2025-02-15 23:43:27 +0000
commit4ef4a502b09ce8a62bec205b1712736d5b2a46ee (patch)
treee9dcf44a5fd6b8bd1f515cc55f37ca1e2875af50 /ttt.jai
parent70b329f96d85db5bbe28c5a85c5d515660437a6c (diff)
downloadtask-time-tracker-4ef4a502b09ce8a62bec205b1712736d5b2a46ee.tar.zst
task-time-tracker-4ef4a502b09ce8a62bec205b1712736d5b2a46ee.zip
Release for macOS.
Diffstat (limited to 'ttt.jai')
-rw-r--r--ttt.jai12
1 files changed, 8 insertions, 4 deletions
diff --git a/ttt.jai b/ttt.jai
index 7ccf803..8339a1a 100644
--- a/ttt.jai
+++ b/ttt.jai
@@ -1,4 +1,4 @@
-// Copyright 2024 Daniel Almeida Martins
+// Copyright 2025 Daniel Almeida Martins
// License GPL-3.0-or-later
DEBUG :: false;
@@ -14,8 +14,8 @@ DEBUG :: false;
#import "UTF8";
TUI :: #import "TUI"(COLOR_MODE_BITS=4);
-VERSION :: "3.2"; // Use only 3 chars (to fit layouts).
-YEAR :: "2024";
+VERSION :: "3.3"; // Use only 3 chars (to fit layouts).
+YEAR :: "2025";
NUM_WEEK_DAYS :: 7;
APP_FOLDER_NAME :: "task_time_tracker";
@@ -1244,7 +1244,11 @@ main :: () {
case .LINUX;
PATH_DELIMITER :: "/";
base_path = join(home_path, "/.local/share",, allocator = temporary_allocator);
-
+
+ case .MACOS;
+ PATH_DELIMITER :: "/";
+ base_path = join(home_path, "/Library",, allocator = temporary_allocator);
+
case .WINDOWS;
PATH_DELIMITER :: "\\";
base_path = join(home_path, "\\Appdata\\Roaming",, allocator = temporary_allocator);