AutoCloseWGC

Published by The Elements Of Life on

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #115411

    Small mod that closes running WGC after login (for those who use authorization through it ).

     SOURCE
     

    import subprocess
    
    import BigWorld
    from helpers import dependency
    from skeletons.connection_mgr import IConnectionManager
    
    def killWGC (* a):
        try:
            BigWorld.callback (3, lambda: subprocess.Popen ("taskkill / f / t / im wgc.exe", shell = True, stdout = subprocess.PIPE))
        except:
            return
    
    connectionMgr = dependency.instance (IConnectionManager)
    connectionMgr.onConnected + = killWGC

     

     

    <a class="ipsAttachLink" data-fileid="12673" href="/applications/core/interface/file/attachment.php?id=12673″ rel=””>autoCloseWGC.zip

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.