mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Add sound on plugin enable
This commit is contained in:
parent
fa363fb251
commit
41a8fe4855
1 changed files with 2 additions and 1 deletions
|
|
@ -865,6 +865,7 @@ class PluginWindow(popup.PopupWindow):
|
|||
@button
|
||||
async def enable(self) -> None:
|
||||
await self.local_plugin.enable()
|
||||
ba.playsound(ba.getsound('gunCocking'))
|
||||
|
||||
@button
|
||||
async def install(self):
|
||||
|
|
@ -1764,7 +1765,7 @@ class PluginManagerSettingsWindow(popup.PopupWindow):
|
|||
ba.app.config["Community Plugin Manager"]["Settings"] = self.settings.copy()
|
||||
ba.app.config.commit()
|
||||
self._ok()
|
||||
ba.playsound(ba.getsound('shieldUp'))
|
||||
ba.playsound(ba.getsound('gunCocking'))
|
||||
|
||||
async def update(self, to_version=None, commit_sha=None):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue