betterdiscordctl icon indicating copy to clipboard operation
betterdiscordctl copied to clipboard

Doesn't recognize canary from flatpak beta channel.

Open kaosine opened this issue 3 years ago • 4 comments

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.

kaosine avatar Aug 15 '22 19:08 kaosine

~~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

ObserverOfTime avatar Aug 15 '22 19:08 ObserverOfTime

~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

kaosine avatar Aug 23 '22 13:08 kaosine

~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.

potatoes1286 avatar Feb 02 '23 23:02 potatoes1286