Skip to content

Instantly share code, notes, and snippets.

View Vendicated's full-sized avatar
🏳️‍🌈
read if cute

V Vendicated

🏳️‍🌈
read if cute
View GitHub Profile
@Vendicated
Vendicated / index.js
Last active March 12, 2023 17:59
discord_arch_electron stream fix
const electron = require("electron");
const { join } = require("path");
class BrowserWindow extends electron.BrowserWindow {
constructor(options) {
if (options?.webPreferences?.preload && options.title) {
// Replace Discords preload script with our own
process.env.DISCORD_PRELOAD = options.webPreferences.preload;
options.webPreferences.preload = join(__dirname, "preload.js");
@Vendicated
Vendicated / guide.md
Last active June 16, 2021 18:03
Install powercord with the discord-canary-electron-bin package

this process used to be a lot more complicated because powercord didn't work on electron versions above 10 (check gist revisions) but now it's super simple. Refer to powercord-org/powercord#442 (comment)

@Vendicated
Vendicated / vanced_samsung_fix.md
Last active February 10, 2021 20:45
Guide to uninstall Vanced or Vanced Music using adb

Fix INSTALL_FAILED_UPDATE_INCOMPATIBLE error using adb

The Android Debug Bridge (adb) is a really useful tool to interface with your phone from a Terminal on your Pc. It is an official Android debugging tool made by Google.

In order to use it on your phone, you will first have to enable USB debugging:

  • Enable Developer Options. You can do so by going to Settings > About Phone and tapping Build Number 7 times
  • Now go to Settings > System > Developer options and enable Usb Debugging