diff --git a/README.md b/README.md index 36c70d3..4fee09f 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,12 @@ example : `npm run cargo -- prisma generate` _for the CLI [prisma-client-rust](https://prisma.brendonovich.dev/getting-started/setup)_ +**Prerequisite** +For Linux: +``` +apt install cargo libsoup2.4-1 libsoup2.4-dev libjavascriptcoregtk-4.0-bin libjavascriptcoregtk-4.0-dev libjavascriptcoregtk-4.0-18 libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-dev npm nodejs +``` + **Starter** - Rename `src-tauri/.env.dist` to `src-tauri/.env` and replace `` in `DATABASE_URL` for macOS (For the other OS @@ -50,7 +56,7 @@ _for the CLI [prisma-client-rust](https://prisma.brendonovich.dev/getting-starte documentation [here](https://tauri.app/v1/api/js/path/#appdatadir) and [there](https://docs.rs/tauri/1.2.4/tauri/struct.PathResolver.html#method.app_data_dir) and adjust ``). -- Install cargo packages : `npm run cargo -- install` +- Install cargo packages : `npm run cargo -- install --path .` - Install npm packages : `npm install` - Push in db first migration : `npm run cargo -- prisma migrate dev --name init`. - Generate Prisma Rust Client : `npm run cargo -- prisma generate`. diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 550e410..34066e0 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -25,7 +25,7 @@ prisma-client-rust = { git = "https://github.com/Brendonovich/prisma-client-rust tokio = { version = "1", features = ["full"] } thiserror = "1.0.61" walkdir = "2.5" -lofty = { "git" = "https://github.com/Serial-ATA/lofty-rs.git", "branch" = "parse_options_read_tags" } +lofty = { "git" = "https://github.com/Serial-ATA/lofty-rs.git", "tag" = "0.21.0" } # taglib = "1.0" [features]