Make app fully portable, remove installers
- Remove MSI and NSIS installer targets, only produce vesper.exe - Remove tauri-plugin-window-state, replace with manual window state save/restore to data/window-state.json next to the exe - Redirect WebView2 user data (including localStorage) to data/ folder next to the exe via WEBVIEW2_USER_DATA_DIR - Nothing written to AppData, registry, or any system location - Update README with portable usage info
This commit is contained in:
25
README.md
25
README.md
@@ -60,7 +60,7 @@ A beautiful, distraction-free markdown reader for Windows. Vesper renders your m
|
||||
- **UI scale** (50%--200%) with a spinner in the View menu, persisted across sessions via localStorage
|
||||
- **Kinetic scrolling** on right-mouse-button drag with iOS-style rubber band overscroll and damped spring snapback
|
||||
- **Custom scrollbars** via OverlayScrollbars -- thin, auto-hiding after 800ms, accent-colored on hover
|
||||
- Window state (size, position, maximized) remembered between sessions via `tauri-plugin-window-state`
|
||||
- Window state (size, position, maximized) remembered between sessions
|
||||
|
||||
### File Handling
|
||||
|
||||
@@ -107,11 +107,7 @@ A beautiful, distraction-free markdown reader for Windows. Vesper renders your m
|
||||
|
||||
### Download
|
||||
|
||||
Download the latest installer from the [Releases](https://github.com/yourusername/vesper/releases) page:
|
||||
|
||||
- **NSIS installer** (`.exe`) -- recommended, includes uninstaller
|
||||
- **MSI installer** (`.msi`) -- alternative for enterprise/group policy deployment
|
||||
- **Portable exe** -- standalone `vesper.exe` with no installation required
|
||||
Download the latest `vesper.exe` from the [Releases](https://github.com/yourusername/vesper/releases) page. No installation required -- Vesper is fully portable.
|
||||
|
||||
### Build from Source
|
||||
|
||||
@@ -135,10 +131,7 @@ npm run tauri dev
|
||||
npm run tauri build
|
||||
```
|
||||
|
||||
Build outputs:
|
||||
- `src-tauri/target/release/vesper.exe` -- portable executable
|
||||
- `src-tauri/target/release/bundle/msi/Vesper_1.0.0_x64_en-US.msi` -- MSI installer
|
||||
- `src-tauri/target/release/bundle/nsis/Vesper_1.0.0_x64-setup.exe` -- NSIS installer
|
||||
Build output: `src-tauri/target/release/vesper.exe`
|
||||
|
||||
---
|
||||
|
||||
@@ -160,11 +153,21 @@ Build outputs:
|
||||
|
||||
- `tauri-plugin-dialog` -- native file open dialog
|
||||
- `tauri-plugin-fs` -- file system read access
|
||||
- `tauri-plugin-window-state` -- persist and restore window size, position, and maximized state
|
||||
- `tauri-plugin-opener` -- system default app launcher
|
||||
|
||||
---
|
||||
|
||||
## Portable
|
||||
|
||||
Vesper is fully portable. It stores all data in a `data/` folder next to the executable:
|
||||
|
||||
- `data/window-state.json` -- window position, size, and maximized state
|
||||
- `data/EBWebView/` -- WebView2 data including localStorage (UI zoom preference)
|
||||
|
||||
Nothing is written to AppData, the registry, or any other system location. To move Vesper to another machine, just copy the exe (and optionally the `data/` folder to preserve settings).
|
||||
|
||||
---
|
||||
|
||||
## Design Philosophy
|
||||
|
||||
1. **Content First** -- the reader is the primary focus; all UI chrome can be hidden
|
||||
|
||||
Reference in New Issue
Block a user