app-info
app-info is a Rust library for retrieving information about installed applications on macOS and Windows. It provides details such as application name, version, path, icon, and more. The library also supports fetching icons for specific files.
Features
- Retrieve a list of installed applications.
- Fetch application details such as name, version, path, and icon.
- Get icons for specific files.
- Cross-platform support for macOS and Windows.
Installation
Add the following to your Cargo.toml:
[]
= "0.1"
Usage
Get Installed Applications
use get_installed_apps;
Find an Application by Name
use find_app_by_name;
Get File Icon
use get_file_icon;
Example: Save Application Icons
The examples/save_icon.rs script demonstrates how to save icons of installed applications to a directory.
Supported Platforms
- macOS: Retrieves application information using system APIs.
- Windows: Retrieves application information from the registry and system APIs.
Limitations
- Not supported on Linux or other platforms.
- Some applications may not have icons available.
License
This project is licensed under the MIT License. See the LICENSE file for details.