py2exe -U fix for Windows XP
This commit is contained in:
		
							parent
							
								
									53e893615d
								
							
						
					
					
						commit
						bcfde70d73
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -75,7 +75,7 @@ def updateSelf(downloader, filename):
 | 
				
			||||||
			b = open(bat, 'w')
 | 
								b = open(bat, 'w')
 | 
				
			||||||
			
 | 
								
 | 
				
			||||||
			print >> b, """
 | 
								print >> b, """
 | 
				
			||||||
timeout /t 5 /nobreak
 | 
					ping 127.0.0.1 -n 5 -w 1000 > NUL
 | 
				
			||||||
move /Y "%s.new" "%s"
 | 
					move /Y "%s.new" "%s"
 | 
				
			||||||
del "%s"
 | 
					del "%s"
 | 
				
			||||||
			""" %(exe, exe, bat)
 | 
								""" %(exe, exe, bat)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue