Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rbx_cookie does not consider WSL as a windows operating system #231

Open
sasial-dev opened this issue Dec 16, 2024 · 2 comments
Open

rbx_cookie does not consider WSL as a windows operating system #231

sasial-dev opened this issue Dec 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@sasial-dev
Copy link

Describe the bug
If the user is running inside WSL it should still grab the cookie from wincred for the running studio instance.

Expected behavior
I was trying to debug an issue as to why another programmer couldn't get their cookie, until I realised they're running inside WSL. When rbx_cookie is compiled for linux it will return None, which is not helpful inside WSL. It should return the cookie for the running studio instnace.

To Reproduce

  1. Open an instance of roblox studio and log in
  2. Run rbx_cookie::get() from WSL
@sasial-dev sasial-dev added the bug Something isn't working label Dec 16, 2024
@blake-mealey
Copy link
Owner

Hey, thanks for raising this. I'm not sure how I could solve this directly since the Linux binary cannot access windows APIs.

From a quick Google search it looks like you could run the windows exe from within your WSL environment and it would work: https://stackoverflow.com/a/69619400

You could install rbx_cookie in your windows file system then add that file to your WSL path to execute it. It looks like the binary would need to explicitly have the .exe extension though.

@sasial-dev
Copy link
Author

I reported this issue on behalf of the other programmer on our team.
cc @sanrom - see above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants