mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-05-10 21:13:05 +02:00
Merge branch 'pr-dest' of github.com:Mastermindzh/tidal-hifi into pr-dest
This commit is contained in:
commit
3d7f8a1008
@ -123,7 +123,9 @@ function registerHttpProtocols() {
|
||||
protocol.registerHttpProtocol(PROTOCOL_PREFIX, (request, _callback) => {
|
||||
mainWindow.loadURL(`${tidalUrl}/${request.url.substring(PROTOCOL_PREFIX.length + 3)}`);
|
||||
});
|
||||
app.setAsDefaultProtocolClient(PROTOCOL_PREFIX);
|
||||
if (!app.isDefaultProtocolClient(PROTOCOL_PREFIX)) {
|
||||
app.setAsDefaultProtocolClient(PROTOCOL_PREFIX);
|
||||
}
|
||||
}
|
||||
|
||||
function addGlobalShortcuts() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user