Lyricify / Lyricify-on-Wine

This is a repository for Lyricify releases that can run on Wine.
13 stars 1 forks source link

Lyricify on Wine

This is a repository for Lyricify releases that can run on Wine.

简体中文

Table of Contents

Releasing Methods

NOTE: after hours of testing, the APT repo and the Docker image cannot be guaranteed to work properly, so the way is abandoned for now.

Installation

via Github Releases

Auto-install Script

Just execute the following command in your terminal:

curl -fsSL https://raw.githubusercontent.com/Lyricify/Lyricify-on-Wine/master/install-deb.sh > install-deb.sh && sudo bash install-deb.sh

If raw.githubusercontent.com is blocked in your region, you can try the other one below, which uses JSDelivr CDN:

curl -fsSL https://cdn.jsdelivr.net/gh/Lyricify/Lyricify-on-Wine@master/install-deb.sh > install-deb.sh && sudo bash install-deb.sh

Manual Install

First of all, download the latest release (currently .deb package) from Github Releases.

via Spark Store

This way installation is much easier. Since it's a Chinese service it might not be suitable and accessible for everyone.

  1. Download Spark Store from its official website. (might be chinese!)
  2. Search for "Lyricify" from the app store.
  3. Click on "Install".
  4. Enjoy!

Installation for Non-Debian-based Distributions

If you are using a non-Debian-based Linux distribution (i.e., distributions that don't use the deb package format), refer to the following. The deb package files provided by this repository are convenient enough for Debian-based distributions, but for other distributions, a deb package file doesn't offer much help.
Here, we'll use Arch Linux as an example. For other distributions, please find and install the relevant programs on your own.

Installation

Running

At this point, you should be able to run Lyricify 4 normally. Here, we assume the initial working directory is ~/.Lyricify

$ APPRUN_CMD=~/,Lyricify/Wine-for-Lyricify/bin/wine64 /opt/deepinwine/tools/spark_run_v4.sh "Lyricify" "4.2.28.240502-release-wpack240503.02" "C:/Program Files/Lyricify 4/Lyricify for Spotify.exe"

Writing a .desktop file to integrate the application into the application menu

Edit the ~/.local/share/applications/com.wxriw.lyricify4.desktop file

#!/usr/bin/env xdg-open
[Desktop Entry]
Encoding=UTF-8
Type=Application
Categories=Audio;
# The relative path of this file when unpacking should be
# ./opt/apps/com.wxriw.lyricify4/entries/icons/hicolor/scalable/apps/com.wxriw.lyricify4.png
Icon=~/.Lyricify/com.wxriw.lyricify4.png
Exec="~/.Lyricify/run.sh" --uri 
Name=Lyricify
Comment=Lyricify 4 in a Wine container
MimeType=
GenericName=com.wxriw.lyricify4
Terminal=false
StartupNotify=false

Edit the ~/.Lyricify/run.sh file

#!/bin/bash

export APPRUN_CMD=~/.Lyricify/Wine-for-Lyricify/bin/wine64 
/opt/deepinwine/tools/spark_run_v4.sh "Lyricify" "4.2.28.240502-release-wpack240503.02" "C:/Program Files/Lyricify 4/Lyricify for Spotify.exe"

Some Possible Issues

Maintainer

Packages in this repository are maintained by Sheng Fan.
The installation methods for non-Debian based distributions are maintained by Chumeng.