Skip to content

Commit be28638

Browse files
committed
docs: update installation instructions in README and fix theme loader formatting
1 parent 84a58fa commit be28638

File tree

3 files changed

+30
-4
lines changed

3 files changed

+30
-4
lines changed

README.md

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,38 @@ A modern, cross-platform Pomodoro timer application built with Tauri (Rust + HTM
4242

4343
## 🚀 Getting Started
4444

45-
### Prerequisites
45+
### Installation via Homebrew (Recommended)
46+
47+
The easiest way to install Presto on macOS is through Homebrew:
48+
49+
```bash
50+
# Add the Presto tap
51+
brew tap murdercode/presto
52+
53+
# Install Presto
54+
brew install --cask presto
55+
```
56+
57+
#### Troubleshooting: "Presto is damaged and can't be opened"
58+
59+
If you see this error when launching Presto for the first time, it's due to macOS Gatekeeper. Run this command to fix it:
60+
61+
```bash
62+
xattr -d com.apple.quarantine /Applications/Presto.app
63+
```
64+
65+
Then you can launch Presto normally from your Applications folder or Spotlight.
66+
67+
### Installation from Source
68+
69+
If you prefer to build from source, you'll need:
70+
71+
#### Prerequisites
4672
- [Node.js](https://nodejs.org/) (v16 or higher)
4773
- [Rust](https://rustup.rs/) (latest stable)
4874
- [Tauri CLI](https://tauri.app/v1/guides/getting-started/prerequisites)
4975

50-
### Installation
76+
#### Steps
5177

5278
1. **Clone the repository**
5379
```bash

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/utils/theme-loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ThemeLoader {
3939
// that gets updated by the build process or manually maintained
4040

4141
// This could be enhanced to use a build-time script that generates this list
42-
const knownThemes = [
42+
const knownThemes = [
4343
'espresso.css',
4444
'matrix.css',
4545
'pommodore64.css'

0 commit comments

Comments
 (0)