mirror of
https://github.com/mmacierzanka/second-display.git
synced 2026-11-06 12:41:45 +01:00
Name the app bundle 'Second Display' everywhere; second-display for file artifacts
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8072ac473a
commit
d3609ae29c
8 files changed
+40
-35
No files matched your search
@@ -7,11 +7,11 @@ macOS 26+, Xcode (Command Line Tools).
|
||||
|
||||
## Build and run
|
||||
```
|
||||
make # builds build/SecondDisplay.app
|
||||
make # builds build/Second Display.app
|
||||
make run # build and launch
|
||||
make check # lint: typecheck, plists, translations, signature
|
||||
make install # copy to ~/Applications
|
||||
make dmg # build/SecondDisplay-<version>.dmg (universal, not notarized)
|
||||
make dmg # build/second-display-<version>.dmg (universal, not notarized)
|
||||
make help # list targets
|
||||
```
|
||||
The app is signed ad-hoc (works on this Mac). For distribution: `make SIGN_ID="Developer ID Application: ..."` (notarization is still required).
|
||||
@@ -22,11 +22,11 @@ Build from source and install to `~/Applications`:
|
||||
git clone <repository-url> second-display
|
||||
cd second-display
|
||||
make install
|
||||
open ~/Applications/SecondDisplay.app
|
||||
open "$HOME/Applications/Second Display.app"
|
||||
```
|
||||
On first launch macOS asks for camera and microphone access — allow both. You can change this later in System Settings → Privacy & Security.
|
||||
|
||||
If you received a prebuilt copy (the `.dmg`), drag the app to Applications. It is not notarized, so macOS blocks it on first launch: allow it once in System Settings → Privacy & Security → "Open Anyway", or run `xattr -dr com.apple.quarantine /Applications/SecondDisplay.app`. The same steps are in `Read Me First.txt` inside the disk image.
|
||||
If you received a prebuilt copy (the `.dmg`), drag the app to Applications. It is not notarized, so macOS blocks it on first launch: allow it once in System Settings → Privacy & Security → "Open Anyway", or run `xattr -dr com.apple.quarantine "/Applications/Second Display.app"`. The same steps are in `Read Me First.txt` inside the disk image.
|
||||
|
||||
## Releasing a DMG
|
||||
`make dmg` builds a universal (arm64 + x86_64) app and packs it with an `Applications` shortcut and `Read Me First.txt` (source: `Config/dmg/`) in a styled Finder window: large icons and a background with an arrow (`Config/dmg/background.png`, generated by `scripts/make-dmg-background.swift`). The layout is written directly into the image by [dmgbuild](https://github.com/dmgbuild/dmgbuild) (settings in `Config/dmg/settings.py`), so no Finder automation is needed. The first `make dmg` installs it into `build/venv` (needs `python3` and network access). The disk image is not signed with a Developer ID or notarized; the instructions in it explain how recipients allow it. Bump the version in `Config/Info.plist` before releasing and tag it (`git tag -a vX.Y.Z -m vX.Y.Z`).
|
||||
@@ -44,7 +44,7 @@ Menus at the top of the screen: **Video** (device, format), **Audio** (source or
|
||||
|
||||
## Settings and uninstall
|
||||
Settings: `~/Library/Preferences/com.mmacierzanka.seconddisplay.plist`.
|
||||
To remove the app and all its traces: `make uninstall` or `SecondDisplay.app/Contents/Resources/uninstall.sh`.
|
||||
To remove the app and all its traces: `make uninstall` or `"Second Display.app/Contents/Resources/uninstall.sh"`.
|
||||
|
||||
## License
|
||||
MIT — see [LICENSE](LICENSE).
|
||||
Reference in new issue
Block a user