mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-05-11 05:23:09 +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) => {
|
protocol.registerHttpProtocol(PROTOCOL_PREFIX, (request, _callback) => {
|
||||||
mainWindow.loadURL(`${tidalUrl}/${request.url.substring(PROTOCOL_PREFIX.length + 3)}`);
|
mainWindow.loadURL(`${tidalUrl}/${request.url.substring(PROTOCOL_PREFIX.length + 3)}`);
|
||||||
});
|
});
|
||||||
|
if (!app.isDefaultProtocolClient(PROTOCOL_PREFIX)) {
|
||||||
app.setAsDefaultProtocolClient(PROTOCOL_PREFIX);
|
app.setAsDefaultProtocolClient(PROTOCOL_PREFIX);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function addGlobalShortcuts() {
|
function addGlobalShortcuts() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user