Skip to content

Can't stack multiple wrapper commands #1035

@GeorgeRNG

Description

@GeorgeRNG

Describe the bug

Stacking multiple wrapper commands doesn't work, instead it throws this error:

An error occurred
I/O error: No such file or directory (os error 2)

Steps to reproduce

  1. Click settings, scroll down to HooksWrapper
  2. Insert something like gamemoderun prime-run, or stack something else of your choice
  3. Run your instance

Expected behavior

Minecraft runs with both feral gamemode and the nvidia gpu, which can be checked respectively with gamemoded -s; and checking for java in nvidia-smi or checking F3.
It works like this in prism, and steam takes a separate route of working like this: gamemoderun prime-run if that's at all relevent

System information

OS: EndeavourOS Linux x86_64
Kernel: 6.6.13-1-lts
CPU: AMD Ryzen 5 5600H with Radeon Graphics (12) @ 4.280GHz
GPU: NVIDIA GeForce RTX 3060 Mobile / Max-Q
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series

Additional context

This could probably be worked around by using a script file which runs them both.
My guess it's attempting to run a file called "gamemoderun prime-run" instead of running "gamemoderun" which then runs prime-run, which runs minecaft.
Using any of them individually works, just not both.
this is my first use of the launcher, I've written quite a bit whilst multitasking tell me if I've gone insane.

Metadata

Metadata

Assignees

No one assigned

    Labels

    appRelates to Modrinth AppbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions