mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-07-27 07:35:22 +00:00
replaced cargo commands with npm scripts for more consistancy
This commit is contained in:
parent
9d33557045
commit
e9f33c5b50
@ -37,7 +37,7 @@ scripts\build-tauri-jlink.bat
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd frontend
|
cd frontend
|
||||||
npm run tauri build
|
npm run tauri-build
|
||||||
```
|
```
|
||||||
|
|
||||||
The resulting application will include the bundled JRE and won't require Java to be installed on the target system.
|
The resulting application will include the bundled JRE and won't require Java to be installed on the target system.
|
||||||
|
@ -107,7 +107,7 @@ The existing Thymeleaf templates remain in the codebase during development as re
|
|||||||
Stirling-PDF can be packaged as a cross-platform desktop application using Tauri with PDF file association support and bundled JRE:
|
Stirling-PDF can be packaged as a cross-platform desktop application using Tauri with PDF file association support and bundled JRE:
|
||||||
|
|
||||||
**Quick Start:**
|
**Quick Start:**
|
||||||
1. **Development/Testing**: `cargo tauri dev --no-watch -- -- "path/to/test.pdf"`
|
1. **Development/Testing**: `npm run tauri-dev "path/to/test.pdf"`
|
||||||
2. **Building**: See [DesktopApplicationDevelopmentGuide.md](DesktopApplicationDevelopmentGuide.md) for complete build instructions
|
2. **Building**: See [DesktopApplicationDevelopmentGuide.md](DesktopApplicationDevelopmentGuide.md) for complete build instructions
|
||||||
3. **Features**: File associations, self-contained JRE, cross-platform support
|
3. **Features**: File associations, self-contained JRE, cross-platform support
|
||||||
|
|
||||||
|
@ -34,9 +34,10 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"tauri-dev": "concurrently --kill-others \"tauri dev\" \"cd .. && gradlew bootrun\" ",
|
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"preview": "vite preview"
|
"preview": "vite preview",
|
||||||
|
"tauri-dev": "tauri dev --no-watch",
|
||||||
|
"tauri-build": "tauri build"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": [
|
"extends": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user