irssi-win-builds/Irssi.cmd
2021-04-02 13:10:09 +02:00

12 lines
340 B
Batchfile

@echo off
IF NOT EXIST bin\irssi.exe EXIT
IF NOT EXIST home mkdir home
IF NOT EXIST home\%USERNAME% mkdir home\%USERNAME%
IF NOT EXIST home\%USERNAME%\Irssi mkdir home\%USERNAME%\Irssi
set CONFIG_FILE=/home/%USERNAME%/Irssi
set TERMINFO_DIRS=terminfo
bin\mintty.exe -t irssi -i irssi.ico -e bin\irssi.exe --home=%CONFIG_FILE%