Feature: tray-window add open-setting-window button

This commit is contained in:
PiEgg
2022-08-12 17:06:29 +08:00
parent 87161b3ee0
commit 83ab3c6db7
5 changed files with 48 additions and 14 deletions

View File

@@ -37,4 +37,8 @@ export default class extends Vue {
forceUpdate () {
this.$bus.$emit(FORCE_UPDATE)
}
sendToMain (channel: string, ...args: any[]) {
ipcRenderer.send(channel, ...args)
}
}