1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 07:56:49 +00:00

py2exe -U fix for Windows XP

This commit is contained in:
Filippo Valsorda 2012-03-31 01:27:47 +02:00
parent 53e893615d
commit bcfde70d73

View File

@ -75,7 +75,7 @@ def updateSelf(downloader, filename):
b = open(bat, 'w')
print >> b, """
timeout /t 5 /nobreak
ping 127.0.0.1 -n 5 -w 1000 > NUL
move /Y "%s.new" "%s"
del "%s"
""" %(exe, exe, bat)