Project

General

Profile

[Script] Auto Backup AdiIRC.exe on Upgrade v0.2 » Auto Backup AdiIRC.exe on Upgrade v0.2.ini

Mr. BS, 12/05/2015 08:08 PM

 
; http://dev.adiirc.com/boards/5/topics/242
; Auto Backup AdiIRC.exe on Upgrade
; v0.2 by pereba

on *:EXIT: {
var %upp $nofile($adiircexe) $+ upp.exe, %backdir $adiircdirbackup
if ($file(%upp).mtime != $file($adiircexe).mtime) && ($exists($nofile(%upp)) {
if (!$exists(%backdir)) mkdir %backdir
run -h cmd /c copy /Y $qt($adiircexe) $qt(%backdir $&
$+ $+(\,AdiIRC,_,$version,_,$bits,bits,_,dotnet,$iif(v2 isin $dotnet,2,4),_,$replace($builddate,/,-),.exe))
}
}
(2-2/2)