From e237b6858830f9d8355b7ae91506bf6af3f15009 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 15 Mar 2026 05:34:32 -0400 Subject: Embed git hash and build host in binary. --- config/config.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'config/config.c') diff --git a/config/config.c b/config/config.c index f84f196..6b22e06 100644 --- a/config/config.c +++ b/config/config.c @@ -11,12 +11,16 @@ #include "../src/config.h" +#ifndef VERSION +#define VERSION "?????" +#endif + conf_t defaults = { "N:TCP://irc.libera.chat:6667", "FNChatTest", "FujiNetChat User", { 0xc0, 0x0c }, - { "#testari8", { 0 }, { 0 }, { 0 }, { 0 } }, + { "#fnchat", { "##atari" }, { "#atari8" }, { 0 }, { 0 } }, { 0 }, /* extra_channels */ 3, /* alert_type, default = both */ 0, /* show_ping, default = N */ @@ -437,7 +441,8 @@ void main(void) { OS.color1 = conf->colors[1]; cursor(1); - print("\x7d" "FujiNetChat Setup\n\n"); + print("\x7d" "FujiNetChat Config\n"); + print("Version " VERSION "\n\n"); detect_dos(); if(!load(0)) -- cgit v1.2.3