Skip to content

Commit 31c04b1

Browse files
committed
Update gh-pages docs with correct Homebrew commands and troubleshooting
1 parent 573ef45 commit 31c04b1

File tree

3 files changed

+60
-3
lines changed

3 files changed

+60
-3
lines changed

.vscode/settings.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"workbench.colorCustomizations": {
3+
"activityBar.activeBackground": "#96a516",
4+
"activityBar.background": "#96a516",
5+
"activityBar.foreground": "#15202b",
6+
"activityBar.inactiveForeground": "#15202b99",
7+
"activityBarBadge.background": "#abecf4",
8+
"activityBarBadge.foreground": "#15202b",
9+
"commandCenter.border": "#e7e7e799",
10+
"sash.hoverBorder": "#96a516",
11+
"statusBar.background": "#6d7810",
12+
"statusBar.foreground": "#e7e7e7",
13+
"statusBarItem.hoverBackground": "#96a516",
14+
"statusBarItem.remoteBackground": "#6d7810",
15+
"statusBarItem.remoteForeground": "#e7e7e7",
16+
"titleBar.activeBackground": "#6d7810",
17+
"titleBar.activeForeground": "#e7e7e7",
18+
"titleBar.inactiveBackground": "#6d781099",
19+
"titleBar.inactiveForeground": "#e7e7e799"
20+
},
21+
"peacock.color": "#6d7810"
22+
}

docs/homebrew-integration.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,17 @@ Homebrew is a package manager for macOS that simplifies the installation of soft
2121

2222
```bash
2323
# Add the tap and install
24-
brew tap sapireli/airprint-bridge
24+
brew tap sapireli/AirPrint_Bridge https://github.com/sapireli/AirPrint_Bridge.git
2525
brew install airprint-bridge
2626
```
2727

28+
**Note**: The explicit HTTPS URL ensures the tap works without requiring git authentication credentials, even though the repository is public.
29+
2830
### Step-by-Step Installation
2931

3032
1. **Add the tap** (if not already added):
3133
```bash
32-
brew tap sapireli/airprint-bridge
34+
brew tap sapireli/AirPrint_Bridge https://github.com/sapireli/AirPrint_Bridge.git
3335
```
3436

3537
2. **Install AirPrint Bridge**:
@@ -75,6 +77,39 @@ brew uninstall airprint-bridge
7577
- Automatic formula validation
7678
- Consistent installation experience
7779

80+
## Troubleshooting
81+
82+
### Git Authentication Issues
83+
84+
If you encounter git authentication prompts when tapping:
85+
86+
```bash
87+
# Force HTTPS instead of SSH
88+
git config --global url."https://github.com/".insteadOf git@github.com:
89+
90+
# Clear any cached credentials
91+
git config --global --unset credential.helper
92+
93+
# Then try tapping again
94+
brew tap sapireli/AirPrint_Bridge https://github.com/sapireli/AirPrint_Bridge.git
95+
```
96+
97+
### Alternative Tapping Method
98+
99+
If you continue to have issues, you can also clone and tap locally:
100+
101+
```bash
102+
# Clone the repository
103+
git clone https://github.com/sapireli/AirPrint_Bridge.git
104+
cd AirPrint_Bridge
105+
106+
# Tap from local directory
107+
brew tap sapireli/AirPrint_Bridge .
108+
109+
# Install
110+
brew install airprint-bridge
111+
```
112+
78113
## Using AirPrint Bridge with Homebrew
79114

80115
### Command Reference

docs/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Homebrew provides the easiest and most reliable installation method:
4444

4545
```bash
4646
# Add the tap and install
47-
brew tap sapireli/airprint-bridge
47+
brew tap sapireli/AirPrint_Bridge https://github.com/sapireli/AirPrint_Bridge.git
4848
brew install airprint-bridge
4949
```
5050

0 commit comments

Comments
 (0)