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

EISDIR: illegal operation on a directory #159

Open
jay5656 opened this issue Nov 28, 2024 · 5 comments
Open

EISDIR: illegal operation on a directory #159

jay5656 opened this issue Nov 28, 2024 · 5 comments

Comments

@jay5656
Copy link

jay5656 commented Nov 28, 2024

Describe the bug
Error: EISDIR: illegal operation on a directory, read
at Object.readSync (node:fs:747:3)
at Object.readSync (pkg/prelude/bootstrap.js:944:32)
at tryReadSync (node:fs:447:20)
at Object.readFileSync (node:fs:493:19)
at readFileSync (pkg/prelude/bootstrap.js:1079:36)
at getPatches (C:\snapshot\rvx-builder\wsEvents\getApp.js:33:5)
at WebSocket. (C:\snapshot\rvx-builder\index.js:183:15)
at WebSocket.emit (node:events:537:28)
at Receiver.receiverOnMessage (C:\snapshot\rvx-builder\node_modules\ws\lib\websocket.js:1211:20)
at Receiver.emit (node:events:537:28)

To Reproduce
Steps to reproduce the behavior:

  1. run rvx builder
  2. set sources as revanced
  3. click continue

Screenshots

rvx-builder Version:
3.16.1

Desktop (please complete the following information):

  • OS: Windows
  • Version: 11

Additional context
i only have 3 patch options (reddit, youtube/music) when last month i had options for many more cause i had the ability to patch tiktok and duolingo

@aleislost
Copy link

aleislost commented Nov 29, 2024

it's happening to me as well, Windows 10

@SalmeBale
Copy link

same issue

@Diyagi
Copy link

Diyagi commented Dec 6, 2024

Thats because revanced patches are shipped not as an .jar but as .rvp.
This causes this condition

if (fileName.includes(patches) && fileName.endsWith('.jar')) {
to fail as it expects an .jar file.

@jay5656
Copy link
Author

jay5656 commented Dec 6, 2024

Thats because revanced patches are shipped not as an .jar but as .rvp. This causes this condition

if (fileName.includes(patches) && fileName.endsWith('.jar')) {

to fail as it expects an .jar file.

how can i fix this?

@Diyagi
Copy link

Diyagi commented Dec 6, 2024

Thats because revanced patches are shipped not as an .jar but as .rvp. This causes this condition

if (fileName.includes(patches) && fileName.endsWith('.jar')) {

to fail as it expects an .jar file.

Actually theres more than that, with the v5 they are not shipping the patches.json in the repo anymore, this is now fetched from their API, the structure of the json itself also changed a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants