Rust
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
# Assets Directory
|
||||
|
||||
This directory contains application assets for the Azure App Registration Manager.
|
||||
|
||||
## Application Icon (icon.ico)
|
||||
|
||||
To add a custom application icon:
|
||||
|
||||
1. **Create or obtain an icon file** in `.ico` format with multiple resolutions:
|
||||
- 16×16 pixels
|
||||
- 32×32 pixels
|
||||
- 48×48 pixels
|
||||
- 256×256 pixels
|
||||
|
||||
2. **Convert from PNG/JPG to ICO:**
|
||||
- Use online tools like: https://convertio.co/png-ico/
|
||||
- Or use GIMP/Photoshop with ICO plugin
|
||||
- Or use ImageMagick: `convert icon.png -define icon:auto-resize=256,48,32,16 icon.ico`
|
||||
|
||||
3. **Place the file here:**
|
||||
- Save as: `assets/icon.ico`
|
||||
- The build script (`build.rs`) will automatically embed it into the executable
|
||||
|
||||
4. **No icon yet?**
|
||||
- The application will build successfully without an icon
|
||||
- The executable will use the default Windows application icon
|
||||
- You can add an icon later and rebuild
|
||||
|
||||
## Icon Design Suggestions
|
||||
|
||||
For an Azure App Registration Manager, consider:
|
||||
- Azure logo colors (blue tones)
|
||||
- Key or lock symbol (for security/secrets)
|
||||
- Cloud + gear/settings icon
|
||||
- Simplified "A" + "R" monogram
|
||||
|
||||
## Testing the Icon
|
||||
|
||||
After adding `icon.ico`:
|
||||
1. Run: `cargo build --release`
|
||||
2. Check the executable properties in Windows Explorer
|
||||
3. Right-click `target\release\azure-app-manager.exe` → Properties
|
||||
4. The icon should appear in the Properties dialog and in Windows Explorer
|
||||
|
||||
## Background Images (Optional)
|
||||
|
||||
You can also place background images here:
|
||||
- `background.png` or `background.jpg`
|
||||
- Referenced in `config.toml`
|
||||
- Displayed in the application UI if configured
|
||||
Reference in New Issue
Block a user