Comments (19)
can you locate the folder your discord install is at and what distro you use?
from powercord.
can you locate the folder your discord install is at and what distro you use?
The folder where Canary is installed is this one: /usr/share/discord-canary
, and I use xubuntu
from powercord.
https://github.com/aetheryx/powercord/blob/v2/injectors/linux.js you can change this to return /usr/share/discord-canary/app
for the purpose of the install, we'll have to make the linux injector check for several paths and see which one is more up-to-date
from powercord.
https://github.com/aetheryx/powercord/blob/v2/injectors/linux.js you can change this to return
/usr/share/discord-canary/app
for the purpose of the install, we'll have to make the linux injector check for several paths and see which one is more up-to-date
I have another problem, although the inject command runs successfully, Discord still remains normal, I restarted discord several times but this problem still appears.
from powercord.
Did you make sure to do a full restart? eg Completely close out of discord and open again
from powercord.
Did you make sure to do a full restart? eg Completely close out of discord and open again
I did, I even tried killing the process from the terminal just in case
from powercord.
hm, that's a bit strange. In the dev tools are there any errors? also could you run powercord
in the devtools console to see if it's defined?
from powercord.
hm, that's a bit strange. In the dev tools are there any errors? also could you run
powercord
in the devtools console to see if it's defined?
I get this error when I run powercord
:
VM354:1 Uncaught ReferenceError: powercord is not defined
at <anonymous>:1:1
Excluding errors from spotify's api, I get this:
Uncaught (in promise) Error: /home/yanderella/.config/discordcanary/0.0.67/modules/discord_cloudsync/discord_cloudsync.node: undefined symbol: PKCS5_PBKDF2_HMAC
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:160:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:722)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:160:31)
at Module.load (internal/modules/cjs/loader.js:602)
at tryModuleLoad (internal/modules/cjs/loader.js:541)
at Function.Module._load (internal/modules/cjs/loader.js:533)
at Module.require (internal/modules/cjs/loader.js:640)
at require (internal/modules/cjs/helpers.js:20)
at Object.<anonymous> (/home/yanderella/.config/discordcanary/0.0.67/modules/discord_cloudsync/index.js:2)
at Object.<anonymous> (/home/yanderella/.config/discordcanary/0.0.67/modules/discord_cloudsync/index.js:30)
at Module._compile (internal/modules/cjs/loader.js:693)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:704)
at Module.load (internal/modules/cjs/loader.js:602)
at tryModuleLoad (internal/modules/cjs/loader.js:541)
at Function.Module._load (internal/modules/cjs/loader.js:533)
at Module.require (internal/modules/cjs/loader.js:640)
at require (internal/modules/cjs/helpers.js:20)
at requireModule (evalmachine.<anonymous>:6)
at Object.requireModule (/home/yanderella/.config/discordcanary/0.0.67/modules/discord_desktop_core/core.asar/app/discord_native/nativeModules.js:78)
at Object.requireModule (e3064949dcbe2174224d.js:62)
at Object.getCloudSync (e3064949dcbe2174224d.js:62)
at Object.<anonymous> (e3064949dcbe2174224d.js:62)
at g (e3064949dcbe2174224d.js:135)
at Generator._invoke (e3064949dcbe2174224d.js:135)
at Generator.e.(anonymous function) [as next] (https://canary.discordapp.com/assets/e3064949dcbe2174224d.js:135:46996)
at r (e3064949dcbe2174224d.js:62)
at e3064949dcbe2174224d.js:62
from powercord.
Does /usr/share/discord-canary/app/
exist and what files do you see in that folder?
from powercord.
Does
/usr/share/discord-canary/app/
exist and what files do you see in that folder?
There are two files, one is called index.js
, another one is called package.json
. index.js
's content is this:
require(`/home/yanderella/powercord/injectors/../src/patcher.js`)
from powercord.
Can you run the DiscordCanary executable manually (/usr/share/discord-canary/DiscordCanary
or /usr/share/discord-canary/resources/DiscordCanary
) to make sure you're injecting into the same version as what you run, and make sure that the error you sent above is the only error you can see?
from powercord.
Can you run the DiscordCanary executable manually (
/usr/share/discord-canary/DiscordCanary
or/usr/share/discord-canary/resources/DiscordCanary
) to make sure you're injecting into the same version as what you run, and make sure that the error you sent above is the only error you can see?
I get this:
~$ /usr/share/discord-canary/DiscordCanary
DiscordCanary 0.0.67
Starting updater.
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Module install path: /home/yanderella/.config/discordcanary/0.0.67/modules
[Modules] Module installed file path: /home/yanderella/.config/discordcanary/0.0.67/modules/installed.json
[Modules] Module download path: /home/yanderella/.config/discordcanary/0.0.67/modules/pending
[Modules] No updates to install
[Modules] Checking for host updates.
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discordapp.com/api/modules/canary/versions.json
[Modules] No module updates available.
(DiscordCanary:23324): GLib-GIO-CRITICAL **: 18:25:52.193: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
from powercord.
Could you change the contents of /usr/share/discord-canary/app/index.js
to the following, reboot your client and see if the file was made?
require('fs').writeFileSync('/home/yandarella/test.txt', '');
require(`/home/yanderella/powercord/injectors/../src/patcher.js`)
from powercord.
Could you change the contents of
/usr/share/discord-canary/app/index.js
to the following, reboot your client and see if the file was made?require('fs').writeFileSync('/home/yandarella/test.txt', ''); require(`/home/yanderella/powercord/injectors/../src/patcher.js`)
nope, the file wasn't made
from powercord.
Could you run ls
in /usr/share/discord-canary/
?
from powercord.
Could you run
ls
in/usr/share/discord-canary/
?
$ ls
app libEGL.so resources
chrome_100_percent.pak libffmpeg.so resources.pak
chrome_200_percent.pak libGLESv2.so snapshot_blob.bin
DiscordCanary libVkICD_mock_icd.so swiftshader
discord-canary.desktop locales v8_context_snapshot.bin
discord.png natives_blob.bin
icudtl.dat postinst.sh
from powercord.
try changing powercord/injectors/linux.js
to return /usr/share/discord-canary/resources/app
(you should see a file called app.asar
in the resources
folder before you start)
from powercord.
try changing
powercord/injectors/linux.js
to return/usr/share/discord-canary/resources/app
(you should see a file calledapp.asar
in theresources
folder before you start)
Now powercord works, thank you!
from powercord.
👍 will rename issue to support multiple paths on Linux.
from powercord.
Related Issues (20)
- [Bug] Discord restarts whenever I send a message HOT 3
- Hyperlink in Eradicate Clyde setting doesn't work HOT 1
- The ui in the section settings is little bit bugged (see screenshot) HOT 3
- Allow stable/PTB injection even though it is not supported HOT 3
- Selects first path if multiple paths present Linux
- [Feature Request] Volume control for Spotify Modal HOT 1
- pc-commands crash
- ".echo Some text" and view Powercord profile result a crash
- Add Discord Development support HOT 1
- short description of bug HOT 3
- Opening LMGTFY settings from "Plugins" menu results a reload HOT 2
- Application path assumption HOT 2
- Autocomplete instruction causes something to be inserted into text box
- [Feature Request] Custom plugin download guide HOT 2
- Folder Structure HOT 6
- Bug & Feature Request for non-canary notice banner HOT 1
- Right click on user crashes Discord HOT 5
- Powercord crashes after I right click on a user HOT 2
- [Plugin Request] Replace Markdown codeblocks with embedded Markdown page HOT 1
- Fail to inject due to the latest update of discord canary on Sept 26th,2022 HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powercord.