Skip to content

Instantly share code, notes, and snippets.

@wont-stream
Last active July 18, 2024 23:16
Show Gist options
  • Save wont-stream/9a622264c9cc2f7227ee9a264c6d610a to your computer and use it in GitHub Desktop.
Save wont-stream/9a622264c9cc2f7227ee9a264c6d610a to your computer and use it in GitHub Desktop.
TIDAL Desktop Beta

TIDAL Desktop Beta (with neptune)

First step, install neptune. Helps us to patch electrons main.js file.

Second Step, open

C:\Users\User\AppData\Local\TIDAL\app-*.*.*\resources\app\index.js

/Applications/TIDAL.app/Contents/Resources/app/index.js - ?

Third Step, copy and paste the code from below to under line 266

(const ProxiedBrowserWindow = new Proxy(electron.BrowserWindow, {)

Fourth Step, find line 299, and replace the function call with

attachDebugger(window.webContents.debugger, "desktop.stage.tidal.com");

And you're done! main.js should look a little like this.

image image

const originalLoadURL = electron.BrowserWindow.prototype.loadURL;
electron.BrowserWindow.prototype.loadURL = function (...args) {
console.log(`Intercepted URL: ${args[0]}`); // Custom logic (e.g., logging the URL)
// Perform any additional logic here
args[0] = args[0].replace("desktop.tidal.com", "desktop.stage.tidal.com");
// Call the original loadURL function
return originalLoadURL.apply(this, args);
};

Q: Isn't there a switch for this in settings?

A: While that does toggle some type of beta whatevers, this is something seperate.

Q: Is this safe?

A: I have no idea, I'd assume it'll be fine. I mean, what is this? Discord?

Q: I use linu-

A: See 4-Linux.md beloe

Therefore only thing you have to do is the Fourth Step.

Q: Can I remove the beta badge in the top left corner?

A: Yes! Copy the code below and use something like Inrixia's themer plugin

.betaBadge {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment