game-scanner 1.0.4

Game Scanner for any launcher and OS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::amazon::{
    sqlite,
    windows::utils::{get_launcher_path, get_manifests_path},
};
use crate::error::Result;
use crate::prelude::Game;

mod utils;

pub fn games() -> Result<Vec<Game>> {
    let launcher_path = get_launcher_path().unwrap();
    let manifests_path = get_manifests_path(&launcher_path).unwrap();

    return sqlite::read(&manifests_path, &launcher_path);
}