@@ -22,12 +22,38 @@ A lightweight macOS menu bar app that instantly converts Unix timestamps to huma
2222- macOS 13.0 (Ventura) or later
2323- No special permissions required
2424
25- ### Download
26- 1 . Download the latest release from the [ Releases] ( https://github.com/rahulj5s/popzeit/releases ) page
27- 2 . Open the ` .dmg ` file
28- 3 . Drag PopZeit to your Applications folder
25+ ### Option 1: Homebrew (Recommended)
26+ ``` bash
27+ # Install via Homebrew Cask
28+ brew install --cask popzeit
29+
30+ # Update when new versions are available
31+ brew upgrade --cask popzeit
32+
33+ # Uninstall if needed
34+ brew uninstall --cask popzeit
35+ ```
36+
37+ ### Option 2: Install Script
38+ ``` bash
39+ # One-line installer (downloads latest release automatically)
40+ curl -fsSL https://raw.githubusercontent.com/rahulj51/popzeit/main/install.sh | bash
41+ ```
42+
43+ ### Option 3: Manual Download
44+ 1 . Download the latest ` PopZeit-X.X.X.zip ` from the [ Releases] ( https://github.com/rahulj51/popzeit/releases ) page
45+ 2 . Extract the ZIP file
46+ 3 . Move ` PopZeit.app ` to your Applications folder
29474 . Launch PopZeit from Applications
3048
49+ ### Option 4: Build from Source
50+ ``` bash
51+ git clone https://github.com/rahulj51/popzeit
52+ cd popzeit
53+ ./build.sh
54+ open build/PopZeit.app
55+ ```
56+
3157### First Launch
32581 . PopZeit will appear in your menu bar (look for the clock icon)
33592 . Start copying timestamps to see conversions!
@@ -90,32 +116,40 @@ PopZeit monitors your clipboard for changes. When you copy text that looks like
90116## Building from Source
91117
92118### Prerequisites
93- - Xcode 15 .0 or later
94- - Swift 5.9 or later
119+ - macOS 13 .0 or later
120+ - Swift 5.9 or later (included with Xcode Command Line Tools)
95121
96- ### Build Steps
122+ ### Quick Build
97123``` bash
98124# Clone the repository
99- git clone https://github.com/yourusername /popzeit.git
125+ git clone https://github.com/rahulj51 /popzeit.git
100126cd popzeit
101127
102- # Build with Swift Package Manager
103- swift build -c release
128+ # Build using our build script
129+ ./ build.sh
104130
105- # Or open in Xcode
106- open PopZeit.xcodeproj
131+ # Run the app
132+ open build/ PopZeit.app
107133```
108134
109- ### Creating a Release Build
110- ``` bash
111- # Build and archive
112- xcodebuild -scheme PopZeit -configuration Release archive -archivePath ./build/PopZeit.xcarchive
135+ ### What the Build Script Does
136+ The ` build.sh ` script:
137+ 1 . Builds the executable with Swift Package Manager
138+ 2 . Creates a proper macOS app bundle
139+ 3 . Copies all resources and icons
140+ 4 . Creates a ZIP archive for distribution
141+ 5 . Calculates SHA256 hash for Homebrew Cask
113142
114- # Export for distribution
115- xcodebuild -exportArchive -archivePath ./build/PopZeit.xcarchive -exportPath ./build -exportOptionsPlist ExportOptions.plist
143+ ### Manual Build Steps
144+ ``` bash
145+ # Build with Swift Package Manager only
146+ swift build -c release
116147
117- # Sign and notarize (requires Apple Developer account)
118- ./scripts/notarize.sh
148+ # Create app bundle structure manually
149+ mkdir -p build/PopZeit.app/Contents/MacOS
150+ cp .build/release/PopZeit build/PopZeit.app/Contents/MacOS/
151+ cp PopZeit/Info.plist build/PopZeit.app/Contents/
152+ # ... copy resources manually
119153```
120154
121155## Troubleshooting
0 commit comments