0 Members and 1 Guest are viewing this topic.
current build "for Linux" isn't exactly that and I had to fix some parts of the script in order to make it work properly.
I'd love to test the native version whenever it comes out.
What exactly you've patched?
#!/usr/bin/shCONFIG="$HOME/AIMP_LINUX/AIMP/config"TARGET="$HOME/.wine/drive_c/users/rado/Application Data/AIMP"[ -L "$TARGET" ] || ln -s "$CONFIG" "$TARGET"wine start /unix '/home/rado/AIMP_LINUX/AIMP/AIMP.exe' ${_paths}
You had named it .bash which makes it useable only for bash shells
This line is to convert linux paths to Windows, when what a Linux user needs is the other way around - convert Windows paths to Linux paths
so that you can run any playlist that contains /B/MUSIC path directly into AIMP and AIMP would recognize it thanks to Wine.
Btw, if AIMP were made to require a dotnet 6 or newer, it would be a child's play to nativefy it and neither you or the user would be the wiser. I already nativefied another program for Windows and you can't even tell the difference.
no normal linux user would wanna use the wine version.
This command get used to translate file paths that send by Linux via command line to AIMP app.
AIMP started recognizing paths like /B/MUSIC