You can obtain the latest version of package from `AUR` using one of the [AUR Helpers](https://wiki.archlinux.org/title/AUR_helpers). Then install it with `yandexmusic` as package name.
That's the list of packages you might need to install to be able to manually build the app. However, you should remember that it might be different for your distro/machine.
In addition you will need to install [Asar](https://github.com/electron/asar) tool with `npm`. I recommend install it globally with the following command
Last step is to download original client `.exe` file. You can get it yourself or take link to the latest version from `./utility/version_info.json` file.
If you only want to get extracted app project with applied patches, you can use the following command:
```
sh repack.sh -x [-o OUTPUT_DIR default=./app] <YM.exe>
```
***
### ASAR archive
`.asar` is archive file that containes all electron app resources and information, but doesn't hold Electron binaries. If you have `.asar` file you can launch app using `electron <app>.asar`. You can build this archive with the following command:
```
sh repack.sh [-o OUTPUT_DIR default=./app] <YM.exe>
```
***
### Arch Linux
You can build `pacman` package file manually using `PKGBUILD` file from the this repository. Run following commands in folder with `PKGBUILD` file inside to get `.pkg.tar.zst` package:
```
pacman -S electron libpulse
makepkg
```
***
### Debian/Ubuntu
You can build `.deb` binary package using the following command:
```
sh build_deb.sh [-a <x64|armv7l|arm64|all> default=x64]