Closed RiQuY closed 5 months ago
I was able to fix the launching error by changing the line latest=$(ls -t CustomLauncherRewrite-*.jar | head -n1)
to this as a workaround:
latest=$(ls -t $(dirname "$0")/CustomLauncherRewrite-*.jar | head -n1)
But now the Java program crashes with this error:
Strangely, opening the app for the second time shows the app menu correctly.
Interesting, I'll take a look shortly.
I would remove all files from the launcher, then run the installer again. I believe I have fixed all your issues you were facing.
Describe the issue When running the run.sh script it tries to open the file CustomLauncherRewrite-.jar instead of replacing the symbol with the version number.
Contents of my
/opt/CustomLauncherRewrite/
folder:Screenshot/video/etc
Log file Output of
/opt/CustomLauncherRewrite/run.sh
Translation: Cannot access 'CustomLauncherRewrite-*.jar': File or folder doesn't exists.
UPDATE: The issue also happens with sudo and without the wildcard *, specifying the exact filename.