Skip to content

Commit

Permalink
Animation (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
lujjjh authored Sep 5, 2021
1 parent 471fa5e commit d5fc99f
Show file tree
Hide file tree
Showing 30 changed files with 1,860 additions and 846 deletions.
68 changes: 48 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
[package]
name = "itunes-desktop-lyrics-windows"
name = "ilyrics"
version = "0.1.0"
edition = "2018"

[dependencies]
bindings = { path = "bindings" }
windows = "0.18.0"
windows = "0.19.0"
utf16_lit = "2.0.2"
reqwest = { version = "0.11" }
reqwest = { version = "0.11", features = ["blocking"] }
tokio = { version = "1.10.0", features = ["full"] }
lrc = "0.1.6"
html-escape = "0.2.9"
once_cell = "1.8.0"

[build-dependencies]
embed-resource = "1.6"
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# iTunes Desktop Lyrics for Windows
# iLyrics

A third-party iTunes addon to show the lyrics on the desktop.

## Preview

<img width="1920" src="preview.png" alt="iTunes Desktop Lyrics for Windows" />
<img width="1920" src="preview.png" alt="iLyrics" />

## Prerequisites

- [iTunes](https://www.microsoft.com/en-us/p/itunes/9pb2mz1zmb1s)

## Usage

1. [Download the binary](https://github.com/lujjjh/itunes-desktop-lyrics-windows/releases/latest/download/itunes-desktop-lyrics-windows.exe) or [build from source](#build).
2. Run `itunes-desktop-lyrics-windows.exe`.
1. [Download the binary](https://github.com/lujjjh/itunes-desktop-lyrics-windows/releases/latest) or [build from source](#build).
2. Run `ilyrics.exe`.

## How to close the program?

Simply close iTunes, and iTunes Desktop Lyrics will close on its own.
Simply close iTunes, and iLyrics will close on its own.

## Build

Expand Down
4 changes: 2 additions & 2 deletions bindings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2018"

[dependencies]
windows = "0.18.0"
windows = "0.19.0"

[build-dependencies]
windows = "0.18.0"
windows = "0.19.0"
1 change: 1 addition & 0 deletions bindings/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ fn main() {
Windows::Win32::System::SystemServices::*,
Windows::Win32::System::LibraryLoader::*,
Windows::Win32::System::Threading::*,
Windows::Win32::UI::Animation::*,
Windows::Win32::UI::WindowsAndMessaging::*,
};
}
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
extern crate embed_resource;

fn main() {
embed_resource::compile("itunes-desktop-lyrics-windows-manifest.rc");
embed_resource::compile("iLyrics-manifest.rc");
}
2 changes: 2 additions & 0 deletions ilyrics-manifest.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#define RT_MANIFEST 24
1 RT_MANIFEST "ilyrics.exe.manifest"
File renamed without changes.
2 changes: 0 additions & 2 deletions itunes-desktop-lyrics-windows-manifest.rc

This file was deleted.

189 changes: 0 additions & 189 deletions src/app/itunes_events.rs

This file was deleted.

Loading

0 comments on commit d5fc99f

Please sign in to comment.