Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ticky/bonjour-browser-patcher
🌎 Update Bonjour Browser with new services
https://github.com/ticky/bonjour-browser-patcher
bonjour discovery extension macos networking patch zeroconf
Last synced: 5 days ago
JSON representation
🌎 Update Bonjour Browser with new services
- Host: GitHub
- URL: https://github.com/ticky/bonjour-browser-patcher
- Owner: ticky
- License: mit
- Archived: true
- Created: 2018-03-06T01:58:30.000Z (over 6 years ago)
- Default Branch: develop
- Last Pushed: 2018-03-06T02:44:26.000Z (over 6 years ago)
- Last Synced: 2024-08-02T15:18:16.896Z (3 months ago)
- Topics: bonjour, discovery, extension, macos, networking, patch, zeroconf
- Language: AppleScript
- Homepage:
- Size: 11.7 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: License.md
Awesome Lists containing this project
README
# Bonjour Browser Patcher
Update Bonjour Browser (http://www.tildesoft.com) with new services
## Usage
### Automated Patcher
You can download an automatic patching program from [the releases page](https://github.com/ticky/bonjour-browser-patcher/releases). This expects to be run against a clean version of Bonjour Browser, so either run any earlier patch versions again to revert their changes, or download it fresh.
You can then download the zip file, right-click the application and choose "Open", and the patcher will locate Bonjour Browser and apply the patch!
### Manual
If you're suspicious of the automatic patcher or generally feel okay with using the command line, you can do the following:
1. Open a terminal to the directory in which Bonjour Browser is installed
2. Run `curl https://raw.githubusercontent.com/ticky/bonjour-browser-patcher/develop/bonjour-browser.patch -sSf | patch -p1 -i /path/to/bonjour-browser.patch`## Changes
This adds a bunch of services which have popped up on Apple and other devices since the last update to Bonjour Browser (2006!).
Eventually, I hope to convert this from being a raw patch file to being a list of services people can update and edit, but for now patches must be applied to... the patch file.
## Producing the patch
The patch is built by mounting the disk image of the unpatched Bonjour Browser version, whilst having the modified version in `~/Applications`.
The command to create the patch is then as follows:
```bash
(
set -euo pipefail
cd ~/Applications
diff \
--unified \
--recursive \
--ignore-blank-lines \
"/Volumes/Bonjour Browser/Bonjour Browser.app/Contents/Resources" \
"./Bonjour Browser.app/Contents/Resources"
) > bonjour-browser.patch
```## Building the patcher
The patcher is written in AppleScript, and relies upon the `patch` utility being available on the user's computer. You can build a copy of it by checking out the repository and running `build.sh`. The application will be created in an Applications folder under the repository.
## Disclaimer
This is in no way affiliated with the original author of Bonjour Browser and is in no way supported by them.