Skip to content

[Bug] Betterdiscord using process.getuid() on windows. #349

@Beaness

Description

@Beaness

Describe the bug
Betterdiscord is using process.getuid() but this function is not supported on Windows.
You can see this here in the offical documentation

To Reproduce
Build on a Windows machine.
Inject to discord (I was using canary).
Start discord and you will see an error

Expected behavior
It will load without any errors.

Screenshots
The error:
image

System information
Windows 10
Discord Canary 0.0.238

Additional context
Discord will still launch.
Duplicate of #329 . But i submitted a new issue so this should not be used on wWndows.

Are you willing and able to fix this?
No.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions