mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-15 19:10:47 +02:00
7baf503d603d8511dfd3ed7e139ff8b2d304dcfb
2
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
ddba5a3eab |
[ImgBot] Optimize images (#5290)
## Beep boop. Your images are optimized! Your image file size has been reduced by **20%** 🎉 <details> <summary> Details </summary> | File | Before | After | Percent reduction | |:--|:--|:--|:--| | /frontend/public/Login/LoginBackgroundPanel.png | 5.30kb | 2.21kb | 58.24% | | /frontend/src-tauri/icons/icon.png | 19.17kb | 8.78kb | 54.22% | | /frontend/public/modern-logo/logo512.png | 7.96kb | 4.49kb | 43.61% | | /images/custom-home.png | 543.80kb | 329.50kb | 39.41% | | /images/custom-home-dark.png | 456.09kb | 287.99kb | 36.86% | | /frontend/public/modern-logo/logo192.png | 3.09kb | 2.06kb | 33.22% | | /images/home.png | 98.13kb | 69.74kb | 28.93% | | /frontend/public/classic-logo/logo512.png | 99.72kb | 78.32kb | 21.47% | | /frontend/public/modern-logo/Firstpage.png | 210.88kb | 169.27kb | 19.73% | | /frontend/public/Login/Firstpage.png | 210.88kb | 169.27kb | 19.73% | | /images/home-light.png | 56.34kb | 47.79kb | 15.19% | | /frontend/public/Login/AddToPDF.png | 716.99kb | 627.65kb | 12.46% | | /frontend/public/classic-logo/Firstpage.png | 405.84kb | 355.87kb | 12.31% | | /frontend/public/classic-logo/logo192.png | 23.45kb | 21.19kb | 9.62% | | /frontend/src-tauri/icons/[email protected] | 19.47kb | 18.27kb | 6.16% | | /frontend/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_foreground.png | 26.17kb | 24.76kb | 5.38% | | /frontend/src-tauri/icons/Square284x284Logo.png | 22.54kb | 21.41kb | 5.02% | | /frontend/src-tauri/icons/Square310x310Logo.png | 24.80kb | 23.74kb | 4.26% | | /frontend/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_foreground.png | 35.56kb | 34.13kb | 4.03% | | /frontend/src-tauri/icons/ios/[email protected] | 111.12kb | 108.22kb | 2.61% | | /frontend/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_foreground.png | 16.67kb | 16.29kb | 2.28% | | /frontend/src-tauri/icons/ios/[email protected] | 11.38kb | 11.12kb | 2.21% | | /frontend/src-tauri/icons/ios/[email protected] | 12.33kb | 12.06kb | 2.19% | | /frontend/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_round.png | 14.63kb | 14.40kb | 1.60% | | /frontend/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher.png | 14.63kb | 14.40kb | 1.60% | | /frontend/src-tauri/icons/ios/[email protected] | 10.34kb | 10.18kb | 1.55% | | /frontend/src-tauri/icons/android/mipmap-hdpi/ic_launcher_foreground.png | 12.01kb | 11.88kb | 1.05% | | /frontend/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_round.png | 10.59kb | 10.48kb | 0.99% | | /frontend/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher.png | 10.59kb | 10.48kb | 0.99% | | /frontend/src-tauri/icons/Square150x150Logo.png | 10.96kb | 10.87kb | 0.82% | | /frontend/src-tauri/icons/ios/[email protected] | 8.10kb | 8.04kb | 0.81% | | /frontend/src-tauri/icons/ios/[email protected] | 8.10kb | 8.04kb | 0.81% | | /frontend/public/Login/SecurePDF.png | 228.99kb | 227.15kb | 0.80% | | /frontend/src-tauri/icons/Square142x142Logo.png | 10.38kb | 10.33kb | 0.46% | | /app/core/src/main/resources/static/api-wordmark.svg | 6.39kb | 6.39kb | 0.11% | | /frontend/public/modern-logo/StirlingPDFLogoGreyText.svg | 6.39kb | 6.39kb | 0.11% | | | | | | | **Total :** | **3,489.78kb** | **2,793.14kb** | **19.96%** | </details> --- [📝 docs](https://imgbot.net/docs) | [:octocat: repo](https://github.com/imgbot/ImgBot) | [🙋🏾 issues](https://github.com/imgbot/ImgBot/issues) | [🏪 marketplace](https://github.com/marketplace/imgbot) <i>~Imgbot - Part of [Optimole](https://optimole.com/) family</i> Signed-off-by: ImgBotApp <[email protected]> Co-authored-by: ImgBotApp <[email protected]> |
||
|
|
4c0c9b28ef |
V2 Tauri integration (#3854)
# Description of Changes Please provide a summary of the changes, including: ## Add PDF File Association Support for Tauri App ### 🎯 **Features Added** - PDF file association configuration in Tauri - Command line argument detection for opened files - Automatic file loading when app is launched via "Open with" - Cross-platform support (Windows/macOS) ### 🔧 **Technical Changes** - Added `fileAssociations` in `tauri.conf.json` for PDF files - New `get_opened_file` Tauri command to detect file arguments - `fileOpenService` with Tauri fs plugin integration - `useOpenedFile` hook for React integration - Improved backend health logging during startup (reduced noise) ### 🧪 **Testing** See * https://v2.tauri.app/start/prerequisites/ * [DesktopApplicationDevelopmentGuide.md](DesktopApplicationDevelopmentGuide.md) ```bash # Test file association during development: cd frontend npm install cargo tauri dev --no-watch -- -- "path/to/file.pdf" ``` For production testing: 1. Build: npm run tauri build 2. Install the built app 3. Right-click PDF → "Open with" → Stirling-PDF 🚀 User Experience - Users can now double-click PDF files to open them directly in Stirling-PDF - Files automatically load in the viewer when opened via file association - Seamless integration with OS file handling --- ## Checklist ### General - [ ] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [ ] I have read the [Stirling-PDF Developer Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md) (if applicable) - [ ] I have read the [How to add new languages to Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md) (if applicable) - [ ] I have performed a self-review of my own code - [ ] My changes generate no new warnings ### Documentation - [ ] I have updated relevant docs on [Stirling-PDF's doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) (if functionality has heavily changed) - [ ] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) ### UI Changes (if applicable) - [ ] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR) ### Testing (if applicable) - [ ] I have tested my changes locally. Refer to the [Testing Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md#6-testing) for more details. --------- Co-authored-by: Connor Yoh <[email protected]> Co-authored-by: James Brunton <[email protected]> Co-authored-by: James Brunton <[email protected]> |