@@ -26,8 +26,40 @@ A lightweight macOS menu bar app that instantly converts Unix timestamps to huma
26261 . Download the latest release from the [ Releases] ( https://github.com/rahulj51/popzeit/releases ) page
27272 . Open the ` .dmg ` file
28283 . Drag PopZeit to your Applications folder
29+
30+ ### Option 1: Homebrew (Recommended)
31+ ``` bash
32+ # Install via Homebrew Cask
33+ brew install --cask popzeit
34+
35+ # Update when new versions are available
36+ brew upgrade --cask popzeit
37+
38+ # Uninstall if needed
39+ brew uninstall --cask popzeit
40+ ```
41+
42+ ### Option 2: Install Script
43+ ``` bash
44+ # One-line installer (downloads latest release automatically)
45+ curl -fsSL https://raw.githubusercontent.com/rahulj51/popzeit/main/install.sh | bash
46+ ```
47+
48+ ### Option 3: Manual Download
49+ 1 . Download the latest ` PopZeit-X.X.X.zip ` from the [ Releases] ( https://github.com/rahulj51/popzeit/releases ) page
50+ 2 . Extract the ZIP file
51+ 3 . Move ` PopZeit.app ` to your Applications folder
52+ >>>>>>> brew
29534 . Launch PopZeit from Applications
3054
55+ ### Option 4: Build from Source
56+ ``` bash
57+ git clone https://github.com/rahulj51/popzeit
58+ cd popzeit
59+ ./build.sh
60+ open build/PopZeit.app
61+ ```
62+
3163### First Launch
32641 . PopZeit will appear in your menu bar (look for the clock icon)
33652 . Start copying timestamps to see conversions!
@@ -90,32 +122,40 @@ PopZeit monitors your clipboard for changes. When you copy text that looks like
90122## Building from Source
91123
92124### Prerequisites
93- - Xcode 15 .0 or later
94- - Swift 5.9 or later
125+ - macOS 13 .0 or later
126+ - Swift 5.9 or later (included with Xcode Command Line Tools)
95127
96- ### Build Steps
128+ ### Quick Build
97129``` bash
98130# Clone the repository
99131git clone https://github.com/rahulj51/popzeit.git
100132cd popzeit
101133
102- # Build with Swift Package Manager
103- swift build -c release
134+ # Build using our build script
135+ ./ build.sh
104136
105- # Or open in Xcode
106- open PopZeit.xcodeproj
137+ # Run the app
138+ open build/ PopZeit.app
107139```
108140
109- ### Creating a Release Build
110- ``` bash
111- # Build and archive
112- xcodebuild -scheme PopZeit -configuration Release archive -archivePath ./build/PopZeit.xcarchive
141+ ### What the Build Script Does
142+ The ` build.sh ` script:
143+ 1 . Builds the executable with Swift Package Manager
144+ 2 . Creates a proper macOS app bundle
145+ 3 . Copies all resources and icons
146+ 4 . Creates a ZIP archive for distribution
147+ 5 . Calculates SHA256 hash for Homebrew Cask
113148
114- # Export for distribution
115- xcodebuild -exportArchive -archivePath ./build/PopZeit.xcarchive -exportPath ./build -exportOptionsPlist ExportOptions.plist
149+ ### Manual Build Steps
150+ ``` bash
151+ # Build with Swift Package Manager only
152+ swift build -c release
116153
117- # Sign and notarize (requires Apple Developer account)
118- ./scripts/notarize.sh
154+ # Create app bundle structure manually
155+ mkdir -p build/PopZeit.app/Contents/MacOS
156+ cp .build/release/PopZeit build/PopZeit.app/Contents/MacOS/
157+ cp PopZeit/Info.plist build/PopZeit.app/Contents/
158+ # ... copy resources manually
119159```
120160
121161## Troubleshooting
0 commit comments