mirror of
https://github.com/cucumber-sp/yandex-music-linux.git
synced 2024-12-23 22:22:59 +03:00
commit
2b3424a144
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -58,11 +58,11 @@ jobs:
|
|||||||
uses: cachix/install-nix-action@v22
|
uses: cachix/install-nix-action@v22
|
||||||
|
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@v2
|
- uses: DeterminateSystems/magic-nix-cache-action@v2
|
||||||
|
|
||||||
- name: Build yandexmusic
|
- name: Build yandexmusic
|
||||||
run: NIXPKGS_ALLOW_UNFREE=1 nix build --impure .#yandexmusic
|
run: nix build --impure .#yandexmusic
|
||||||
- name: Build yandexmusic background
|
- name: Build yandexmusic background
|
||||||
run: NIXPKGS_ALLOW_UNFREE=1 nix build --impure .#yandexmusic-background
|
run: nix build --impure .#yandexmusic-background
|
||||||
- name: Build yandexmusic without flakes binaries
|
- name: Build yandexmusic without flakes binaries
|
||||||
run: NIXPKGS_ALLOW_UNFREE=1 nix build --impure .#yandexmusic-noflakes
|
run: nix build --impure .#yandexmusic-noflakes
|
||||||
|
|
||||||
|
37
README.md
37
README.md
@ -14,6 +14,10 @@ Native YandexMusic client for Linux. Built using repacking of Windows client (El
|
|||||||
- [ASAR archive](#asar-archive)
|
- [ASAR archive](#asar-archive)
|
||||||
- [Arch Linux](#arch-linux-1)
|
- [Arch Linux](#arch-linux-1)
|
||||||
- [Debian/Ubuntu](#debianubuntu-1)
|
- [Debian/Ubuntu](#debianubuntu-1)
|
||||||
|
- [Run with nix](#run-with-nix)
|
||||||
|
- [Run with flakes](#run-with-flakes)
|
||||||
|
- [Run old style](#run-old-style)
|
||||||
|
- [Install to NixOS](#install-to-nixos)
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
![image](https://github.com/cucumber-sp/yandex-music-linux/assets/100789522/ab2f69ee-efc4-4a33-8110-131b4c4ff4de)
|
![image](https://github.com/cucumber-sp/yandex-music-linux/assets/100789522/ab2f69ee-efc4-4a33-8110-131b4c4ff4de)
|
||||||
@ -28,7 +32,7 @@ Native YandexMusic client for Linux. Built using repacking of Windows client (El
|
|||||||
|
|
||||||
#### AUR
|
#### AUR
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
For this example I will use [yay](https://github.com/Jguer/yay)
|
For this example I will use [yay](https://github.com/Jguer/yay)
|
||||||
|
|
||||||
@ -63,7 +67,7 @@ Download prebuilt binary package from [Releases](https://github.com/cucumber-sp/
|
|||||||
Then you can install it with the following command
|
Then you can install it with the following command
|
||||||
|
|
||||||
```
|
```
|
||||||
dpkg -i yandexmusic_<version>_<arch>.deb
|
dpkg -i yandexmusic_<version>_<arch>.deb
|
||||||
```
|
```
|
||||||
|
|
||||||
***
|
***
|
||||||
@ -129,3 +133,32 @@ You can build `.deb` binary package using the following command:
|
|||||||
```
|
```
|
||||||
sh build_deb.sh [-a <x64|armv7l|arm64|all> default=x64]
|
sh build_deb.sh [-a <x64|armv7l|arm64|all> default=x64]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
***
|
||||||
|
|
||||||
|
## Run with nix
|
||||||
|
|
||||||
|
The `yandexmusic` package has unlicensed license, so you need to have
|
||||||
|
`allowUnfree` option enabled.
|
||||||
|
|
||||||
|
### Run with flakes
|
||||||
|
|
||||||
|
Execute next to build and run yandex music directly from github
|
||||||
|
|
||||||
|
```
|
||||||
|
nix run github:cucumber-sp/yandex-music-linux
|
||||||
|
```
|
||||||
|
|
||||||
|
### Run old style
|
||||||
|
|
||||||
|
Execute next in this repository to build yandexmusic package without using
|
||||||
|
flakes.
|
||||||
|
|
||||||
|
```
|
||||||
|
nix-build --expr '(import <nixpkgs> {}).callPackage ./nix {}'
|
||||||
|
```
|
||||||
|
|
||||||
|
### Install to NixOS
|
||||||
|
|
||||||
|
This flake exports `modules` list. Append it to your system modules and add
|
||||||
|
`yandexmusic` package to `environment.systemPackages`.
|
||||||
|
Loading…
Reference in New Issue
Block a user