irssi-win-builds/Irssi.cmd
2021-04-02 14:24:27 +02:00

14 lines
427 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
copy /Y prompt\.minttyrc home\%USERNAME%
copy /Y themes\* home\%USERNAME%\Irssi
bin\mintty.exe -t Irssi -i icon/Irssi.ico -e bin\irssi.exe --home=%CONFIG_FILE%