|
| 1 | +# Distributing WindPix |
| 2 | + |
| 3 | +To distribute WindPix to other users, follow these steps: |
| 4 | + |
| 5 | +## For Developers (Creating the Distribution) |
| 6 | + |
| 7 | +1. Build the release version: |
| 8 | + ```bash |
| 9 | + cd WindPixMVP |
| 10 | + swift build -c release |
| 11 | + ``` |
| 12 | + |
| 13 | +2. Create an App Bundle: |
| 14 | + ```bash |
| 15 | + # Create the app bundle structure |
| 16 | + mkdir -p WindPix.app/Contents/MacOS |
| 17 | + mkdir -p WindPix.app/Contents/Resources |
| 18 | + |
| 19 | + # Copy the built executable |
| 20 | + cp .build/release/WindPixMVP WindPix.app/Contents/MacOS/WindPix |
| 21 | + |
| 22 | + # Copy instructions.md to Resources |
| 23 | + cp ../instructions.md WindPix.app/Contents/Resources/ |
| 24 | + ``` |
| 25 | + |
| 26 | +3. Create Info.plist: |
| 27 | + Create a file at `WindPix.app/Contents/Info.plist` with the following content: |
| 28 | + ```xml |
| 29 | + <?xml version="1.0" encoding="UTF-8"?> |
| 30 | + <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
| 31 | + <plist version="1.0"> |
| 32 | + <dict> |
| 33 | + <key>CFBundleExecutable</key> |
| 34 | + <string>WindPix</string> |
| 35 | + <key>CFBundleIdentifier</key> |
| 36 | + <string>com.hugo.windpix</string> |
| 37 | + <key>CFBundleName</key> |
| 38 | + <string>WindPix</string> |
| 39 | + <key>CFBundlePackageType</key> |
| 40 | + <string>APPL</string> |
| 41 | + <key>CFBundleShortVersionString</key> |
| 42 | + <string>1.0</string> |
| 43 | + <key>LSMinimumSystemVersion</key> |
| 44 | + <string>10.15</string> |
| 45 | + <key>LSUIElement</key> |
| 46 | + <true/> |
| 47 | + </dict> |
| 48 | + </plist> |
| 49 | + ``` |
| 50 | + |
| 51 | +4. Create a ZIP archive: |
| 52 | + ```bash |
| 53 | + zip -r WindPix.zip WindPix.app |
| 54 | + ``` |
| 55 | + |
| 56 | +## For Users (Installing the App) |
| 57 | + |
| 58 | +1. Download the WindPix.zip file |
| 59 | +2. Extract the ZIP file |
| 60 | +3. Move WindPix.app to your Applications folder |
| 61 | +4. When first launching the app: |
| 62 | + - Right-click on WindPix.app and select "Open" |
| 63 | + - Click "Open" in the security dialog that appears |
| 64 | + - Grant the necessary permissions when prompted: |
| 65 | + * Screen Recording (for taking screenshots) |
| 66 | + * Accessibility (for keyboard shortcuts) |
| 67 | + |
| 68 | +## Requirements |
| 69 | + |
| 70 | +- macOS 10.15 or later |
| 71 | +- Windsurf IDE installed |
| 72 | + |
| 73 | +## Notes |
| 74 | + |
| 75 | +- The app is currently unsigned, so users will need to explicitly allow it to run |
| 76 | +- The app requires Windsurf IDE to be running |
| 77 | +- Make sure to grant all requested permissions for full functionality |
| 78 | + |
| 79 | +## Support |
| 80 | + |
| 81 | +For support or questions, contact: [email protected] |
0 commit comments