bb010g / betterdiscordctl

A utility for managing BetterDiscord on Linux.
MIT License
323 stars 13 forks source link

Doesn't recognize canary from flatpak beta channel. #143

Open kaosine opened 2 years ago

kaosine commented 2 years ago

Using

flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo

I'm able to add flatpaks beta channel which gives access to canary without relying on my distros software. The only issue is that ctl doesn't recognize it or see it. I have to downgrade to regular discord which in my experience is buggier than canary. At least I've always had better luck with canary from flatpak.

ObserverOfTime commented 2 years ago

What's the output of betterdiscordctl -i flatpak -f canary -v -v status ?

Nevermind, I forgot bdctl can only look for the stable flatpak/snap packages.

See if you can trick it with this:

XDG_CONFIG_HOME=~/.var/app/com.discordapp.DiscordCanary/config betterdiscordctl -f canary -v -v status
kaosine commented 2 years ago

~Going to try that, I forgot I even submitted this ticket until just now.~

Nope no dice won't inject:

V: Found modules in /home/kaosine/.var/app/com.discordapp.DiscordCanary/config/discordcanary/0.0.136/modules
VV: BetterDiscord remote GitHub repository owner: BetterDiscord
VV: BetterDiscord remote GitHub repository name: BetterDiscord
VV: BetterDiscord remote GitHub repository release: latest
VV: BetterDiscord remote URL: https://github.com/BetterDiscord/BetterDiscord/releases/latest/download
VV: BetterDiscord remote directory: /home/kaosine/.var/app/com.discordapp.DiscordCanary/config/BetterDiscord/data
VV: BetterDiscord remote asar path: betterdiscord.asar
VV: BetterDiscord asar installation: /home/kaosine/.var/app/com.discordapp.DiscordCanary/config/BetterDiscord/data/betterdiscord.asar
Discord install: traditional
Discord flavor: canary
Discord modules: /home/kaosine/.var/app/com.discordapp.DiscordCanary/config/discordcanary/0.0.136/modules
BetterDiscord directory: /home/kaosine/.var/app/com.discordapp.DiscordCanary/config/BetterDiscord
BetterDiscord asar installed: no
Discord "index.js" injected: no
BetterDiscord remote: github
BetterDiscord remote GitHub: ~BetterDiscord/BetterDiscord#latest
potatoes1286 commented 1 year ago

~What's the output of betterdiscordctl -i flatpak -f canary -v -v status ?~

Nevermind, I forgot bdctl can only look for the stable flatpak/snap packages.

See if you can trick it with this:

XDG_CONFIG_HOME=~/.var/app/com.discordapp.DiscordCanary/config betterdiscordctl -f canary -v -v status

Hey. Stumbled across this while trying to do same as OP.

It seems like the correct command is

XDG_CONFIG_HOME=~/.var/app/com.discordapp.DiscordCanary/config betterdiscordctl -f canary -v -v install

Your command has "status" instead of "install".

Managed to get betterdiscordctl to install on canary from flathub beta.

Good workaround for the time being.

Hope this helps any future canary flathub users.