diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-15 05:34:32 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-15 05:34:32 -0400 |
| commit | e237b6858830f9d8355b7ae91506bf6af3f15009 (patch) | |
| tree | ce7150380522af2d52f7bc0cb43455f18b40d377 /config | |
| parent | ffebfdcc4f37d905ccb1a21105e2998b5af9bc55 (diff) | |
| download | fujinet-chat-e237b6858830f9d8355b7ae91506bf6af3f15009.tar.gz | |
Embed git hash and build host in binary.
Diffstat (limited to 'config')
| -rw-r--r-- | config/Makefile | 2 | ||||
| -rw-r--r-- | config/config.c | 9 |
2 files changed, 8 insertions, 3 deletions
diff --git a/config/Makefile b/config/Makefile index 65de826..2e0fd05 100644 --- a/config/Makefile +++ b/config/Makefile @@ -3,7 +3,7 @@ all: config.xex #config.xex: config.c exetrailer.s ../src/config.h ../src/config.c config.xex: - cl65 -Oris -t atari -C ../src/atari.cfg -o config.xex config.c exetrailer.s ../src/config.c + cl65 -DVERSION='"$(VERSION)"' -Oris -t atari -C ../src/atari.cfg -o config.xex config.c exetrailer.s ../src/config.c test: cl65 -Oris -t atari -C ../src/atari.cfg -o config.xex config.c exetrailer.s ../src/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)) |
