added quit to main menu, added refresh playlists
This commit is contained in:
parent
2a63c89679
commit
b94dd5fb19
5 changed files with 23 additions and 0 deletions
|
@ -440,6 +440,9 @@ const app = new Vue({
|
|||
}
|
||||
})
|
||||
},
|
||||
quit() {
|
||||
ipcRenderer.invoke("quit-app")
|
||||
},
|
||||
async openAppleMusicURL(url) {
|
||||
let properties = MusicKit.formattedMediaURL(url)
|
||||
let item = {
|
||||
|
@ -1452,6 +1455,12 @@ const app = new Vue({
|
|||
action: () => {
|
||||
this.newPlaylistFolder()
|
||||
}
|
||||
},
|
||||
{
|
||||
name: app.getLz("action.refresh"),
|
||||
action: ()=>{
|
||||
this.refreshPlaylists()
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -121,6 +121,14 @@
|
|||
$root.getLz("term.logout")
|
||||
}}</span>
|
||||
</button>
|
||||
<button class="usermenu-item" @click="quit()">
|
||||
<span class="usermenu-item-icon" style="right: 2.5px">
|
||||
<%- include("../svg/x.svg") %>
|
||||
</span>
|
||||
<span class="usermenu-item-name">{{
|
||||
$root.getLz("term.quit")
|
||||
}}</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</transition>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue