Skip to content

Commit 80db1a6

Browse files
committed
Improve release workflow with installation script and better instructions
1 parent 5b93176 commit 80db1a6

1 file changed

Lines changed: 30 additions & 5 deletions

File tree

.github/workflows/auto-release.yml

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,22 @@ jobs:
6666
MAC_DIR=$(find . -name "mac*" -type d | head -1)
6767
echo "Found Mac directory: $MAC_DIR"
6868
cd "$MAC_DIR"
69-
# Find the .app directory and zip it
70-
find . -name "*.app" -type d | head -1 | xargs -I {} zip -r "Tether-v${{ steps.get_version.outputs.VERSION }}-mac.zip" "{}"
69+
70+
# Create installation script
71+
cat > install-tether.sh << 'EOF'
72+
#!/bin/bash
73+
echo "Installing Tether..."
74+
echo "Removing quarantine attributes..."
75+
xattr -cr Tether.app
76+
echo "Moving to Applications folder..."
77+
mv Tether.app /Applications/
78+
echo "Done! You can now run Tether from your Applications folder."
79+
EOF
80+
chmod +x install-tether.sh
81+
82+
# Find the .app directory and zip it with the install script
83+
APP_NAME=$(find . -name "*.app" -type d | head -1)
84+
zip -r "Tether-v${{ steps.get_version.outputs.VERSION }}-mac.zip" "$APP_NAME" install-tether.sh
7185
# Move zip to parent dist directory for easier access
7286
mv "Tether-v${{ steps.get_version.outputs.VERSION }}-mac.zip" ../
7387
@@ -83,13 +97,24 @@ jobs:
8397
## Installation Instructions
8498
8599
### For macOS Users:
100+
101+
**Easy Installation (Recommended):**
86102
1. Download the `Tether-v${{ steps.get_version.outputs.VERSION }}-mac.zip` file below
87103
2. Double-click to extract the zip file
104+
3. Double-click `install-tether.sh` script (it will handle everything automatically)
105+
4. Run Tether from your Applications folder!
106+
107+
**Manual Installation:**
108+
1. Download and extract the zip file
109+
2. Open Terminal and run: `xattr -cr Tether.app` (removes quarantine)
88110
3. Move `Tether.app` to your Applications folder
89-
4. Right-click and select "Open" (first time only due to unsigned app)
111+
4. Double-click to run
112+
113+
**If you still get warnings:**
114+
- Right-click Tether.app → "Open" → "Open" when the warning appears
115+
- Or go to System Preferences → Security & Privacy → General → Click "Open Anyway"
90116
91-
**Note:** The app is unsigned, so macOS may show a security warning on first launch.
92-
Just right-click → "Open" → "Open" to bypass this warning.
117+
**Note:** The app is unsigned, which causes macOS security warnings. The `xattr` command removes the quarantine flag that prevents unsigned apps from running.
93118
94119
### What's New:
95120
See the auto-generated release notes below.

0 commit comments

Comments
 (0)