gitso

gitso Commit Details


Date:2009-04-17 19:25:46 (15 years 8 months ago)
Author:xburnerx
Branch:master
Commit:120e97e1cf5ea0160abb44fcddb1a906a1c20478
Parents: 9c98132e2548b21bc3f52024d59d4a1c81a08667
Message:Moved vncviewer.exe, winvnc.exe, and vnchooks.dll to Install Directory

Changes:

File differences

gitso/trunk/Processes.py
3838
3939
4040
41
41
4242
4343
4444
45
45
4646
4747
4848
......
5555
5656
5757
58
58
5959
6060
6161
elif sys.platform.find('linux') != -1:
self.returnPID = os.spawnlp(os.P_NOWAIT, 'x11vnc', 'x11vnc','-nopw','-ncache','20','-solid','black','-connect','%s' % host)
elif sys.platform == 'win32':
self.returnPID = os.spawnl(os.P_NOWAIT, '%s\\WinVNC.exe' % os.environ['WINDIR'], '%s\\WinVNC.exe' % os.environ['WINDIR'])
self.returnPID = os.spawnl(os.P_NOWAIT, 'WinVNC.exe', 'WinVNC.exe')
print "Launched WinVNC.exe, waiting to run -connect command..."
import time
time.sleep(3)
self.returnPID = os.spawnl(os.P_NOWAIT, '%s\\WinVNC.exe' % os.environ['WINDIR'], '%s\\WinVNC.exe' % os.environ['WINDIR'], '-connect', '%s' % host)
self.returnPID = os.spawnl(os.P_NOWAIT, 'WinVNC.exe', 'WinVNC.exe', '-connect', '%s' % host)
else:
print 'Platform not detected'
return self.returnPID
elif sys.platform.find('linux') != -1:
self.returnPID = os.spawnlp(os.P_NOWAIT, 'vncviewer', 'vncviewer', '-listen')
elif sys.platform == 'win32':
self.returnPID = os.spawnl(os.P_NOWAIT, "%s\\vncviewer.exe" % os.environ['WINDIR'], '%s\\vncviewer.exe' % os.environ['WINDIR'], '-listen' )
self.returnPID = os.spawnl(os.P_NOWAIT, "vncviewer.exe" , 'vncviewer.exe' , '-listen' )
else:
print 'Platform not detected'
return self.returnPID
gitso/trunk/makegitso.nsi
8686
8787
8888
89
90
9189
9290
9391
......
113111
114112
115113
116
117
118
114
115
116
119117
120118
121119
;start menu items
CreateDirectory "$SMPROGRAMS\Gitso"
CreateShortCut "$SMPROGRAMS\Gitso\Gitso.lnk" "$INSTDIR\Gitso.exe" "" "$INSTDIR\icon.ico" 0
SetOutPath $WINDIR
File ".\arch\win32\vncviewer.exe"
File ".\arch\win32\WinVNC.exe"
File ".\arch\win32\VNCHooks.dll"
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gitso"
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Gitso"
; Remove files and uninstaller
Delete $WINDIR\vncviewer.exe
Delete $WINDIR\VNCHooks.dll
Delete $WINDIR\WinVNC.exe
Delete $INSTDIR\vncviewer.exe
Delete $INSTDIR\VNCHooks.dll
Delete $INSTDIR\WinVNC.exe
; Remove shortcuts and folder
RMDir /r "$SMPROGRAMS\Gitso"
RMDir /r $INSTDIR

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.05733s using 13 queries.