MCPcopy Create free account
hub / github.com/PlayOnLinux/POL-POM-4 / UninstallGame

Method UninstallGame

python/mainwindow.py:1005–1010  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

1003 subprocess.Popen(["bash", Variables.playonlinux_env + "/bash/make_shortcut", game_exec])
1004
1005 def UninstallGame(self, event):
1006 game_exec = self.GetSelectedProgram()
1007 if game_exec != "":
1008 subprocess.Popen(["bash", Variables.playonlinux_env + "/bash/uninstall", game_exec])
1009 else:
1010 wx.MessageBox(_("Please select a program."), os.environ["APPLICATION_TITLE"])
1011
1012 def PolVaultSaveGame(self, event):
1013 game_exec = self.GetSelectedProgram()

Callers

nothing calls this directly

Calls 1

GetSelectedProgramMethod · 0.95

Tested by

no test coverage detected