Fix stdin when piped, improve binary detection, replace YOUR_USERNAME
- Add `exec < /dev/tty` so `read` works correctly when run via `bash <(curl ...)` — fixes script failing after pasting API keys or clicking terminal links - Search /opt/, /usr/lib/, /snap/bin/ and `dpkg -L` for the open-whispr binary — fixes "Could not find openwhispr in PATH" - Replace YOUR_USERNAME with outis1one in all files - Show detected binary name in summary useful commands https://claude.ai/code/session_01XKYC1basxdwtHy71tky7xm
This commit is contained in:
+7
-7
@@ -19,23 +19,23 @@ git init
|
||||
git add .
|
||||
git commit -m "Initial release v1.0.0"
|
||||
git branch -M main
|
||||
git remote add origin https://github.com/YOUR_USERNAME/openwhispr-easy-setup.git
|
||||
git remote add origin https://github.com/outis1one/openwhispr-easy-setup.git
|
||||
git push -u origin main
|
||||
```
|
||||
|
||||
## 3. Replace YOUR_USERNAME placeholder
|
||||
## 3. Replace outis1one placeholder
|
||||
|
||||
Replace `YOUR_USERNAME` with your actual GitHub username in all files:
|
||||
Replace `outis1one` with your actual GitHub username in all files:
|
||||
|
||||
```bash
|
||||
sed -i 's/YOUR_USERNAME/your-actual-username/g' setup-openwhispr.sh README.md GITHUB_SETUP.md LICENSE
|
||||
sed -i 's/outis1one/your-actual-username/g' setup-openwhispr.sh README.md GITHUB_SETUP.md LICENSE
|
||||
```
|
||||
|
||||
Then commit:
|
||||
|
||||
```bash
|
||||
git add -A
|
||||
git commit -m "Replace YOUR_USERNAME with actual username"
|
||||
git commit -m "Replace outis1one with actual username"
|
||||
git push
|
||||
```
|
||||
|
||||
@@ -77,12 +77,12 @@ In the same **About** section, set the description to:
|
||||
- [ ] ShellCheck CI runs on push (check **Actions** tab)
|
||||
- [ ] Issue templates appear when creating new issues
|
||||
- [ ] PR template appears when opening a pull request
|
||||
- [ ] `bash <(curl -fsSL https://raw.githubusercontent.com/YOUR_USERNAME/openwhispr-easy-setup/main/setup-openwhispr.sh)` works
|
||||
- [ ] `bash <(curl -fsSL https://raw.githubusercontent.com/outis1one/openwhispr-easy-setup/main/setup-openwhispr.sh)` works
|
||||
|
||||
## Done!
|
||||
|
||||
Share the one-liner with anyone who wants to install OpenWhispr:
|
||||
|
||||
```bash
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/YOUR_USERNAME/openwhispr-easy-setup/main/setup-openwhispr.sh)
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/outis1one/openwhispr-easy-setup/main/setup-openwhispr.sh)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user