Skip to content

Latest commit

 

History

History
277 lines (197 loc) · 6.73 KB

File metadata and controls

277 lines (197 loc) · 6.73 KB

🚀 Deploy PiPStream - Final Steps

Your code is now on GitHub! Here's how to create the first release with auto-update support.

GitHub Repo: https://github.com/zanzikahn/PiPStream


📦 Create Your First Release

Step 1: Install Clowd.Squirrel CLI (One-Time)

Open PowerShell as Administrator:

dotnet tool install -g Clowd.Squirrel

Verify installation:

sqpack --version

Step 2: Create Installer Package

Navigate to project directory:

cd C:\Users\Zanzi\TOOLS\PiPTool\PiPStream

Create the installer:

sqpack pack `
  --packId PiPStream `
  --packVersion 2.0.3 `
  --packDirectory "bin\Release\net8.0-windows\win-x64\publish" `
  --releaseDir "Releases" `
  --icon "Assets\Icon\PiPStream_Icon.ico"

This will create:

  • Releases\PiPStream-Setup-2.0.3.exe - The installer your friends download
  • Releases\RELEASES - Update manifest file
  • Other Squirrel files

Step 3: Create GitHub Release

  1. Go to GitHub Releases: https://github.com/zanzikahn/PiPStream/releases/new

  2. Fill in details:

    • Tag version: v2.0.3
    • Release title: PiPStream v2.0.3 - Initial Release with Auto-Update
    • Description:
      ## 🎉 PiPStream - Multi-Platform Picture-in-Picture Viewer
      
      Watch streaming services while gaming with an always-on-top PiP window!
      
      ### ✨ Features
      - ✅ 7 streaming platforms: Crunchyroll, Netflix, Disney+, Prime Video, YouTube, Twitch, Flixtor
      - ✅ Always-on-top PiP window
      - ✅ Automatic updates (download once, update forever!)
      - ✅ Performance optimized (5-10 FPS impact)
      - ✅ WebView2 session persistence (stay logged in)
      - ✅ Customizable window position and size
      
      ### 📥 Installation
      1. Download `PiPStream-Setup-2.0.3.exe` below
      2. Run the installer
      3. Launch PiPStream from Start Menu
      4. Select a streaming service and enjoy!
      
      ### 🔄 Auto-Updates
      PiPStream will automatically check for updates on startup.
      When a new version is available, you'll get a notification to update with one click.
      
      ### 📋 Requirements
      - Windows 10/11
      - Microsoft Edge WebView2 Runtime (auto-installs if needed)
      
      ### 🎮 Usage
      1. Open PiPStream
      2. Click a streaming service button (e.g., YouTube, Twitch)
      3. Log in to the service
      4. Click "Open Picture-in-Picture"
      5. PiP window stays on top while you game!
      
      **Tip**: Use borderless window mode in games for best compatibility.
  3. Upload files:

    • Drag and drop ALL files from C:\Users\Zanzi\TOOLS\PiPTool\PiPStream\Releases\ folder
    • This should include:
      • PiPStream-Setup-2.0.3.exe ← Main installer
      • RELEASES ← Required for updates
      • All other .nupkg and delta files
  4. Publish release 🎉


Step 4: Share with Friends

Send them this message:

Hey! Check out PiPStream - watch streams while gaming! 🎮📺

Download: https://github.com/zanzikahn/PiPStream/releases/latest

1. Download PiPStream-Setup-2.0.3.exe
2. Run installer (takes 5 seconds)
3. Launch from Start Menu
4. Pick a streaming service (YouTube, Twitch, Netflix, etc.)
5. Click "Open Picture-in-Picture"

The PiP window stays on top while you game, and the app auto-updates when I release new features!

Supports: Crunchyroll, Netflix, Disney+, Prime Video, YouTube, Twitch, and Flixtor.

🧪 Testing Auto-Update

Test on Your PC

  1. Install PiPStream from your GitHub Release
  2. Make a small change (e.g., update version to 2.0.4)
  3. Build and create v2.0.4 release
  4. Open v2.0.3
  5. Should detect v2.0.4 and offer to update!

🔄 Releasing Future Updates

When you add features (like opacity slider, hotkeys, etc.):

1. Update Version

Edit PiPCrunchy.csproj:

<AssemblyVersion>2.0.4.0</AssemblyVersion>
<FileVersion>2.0.4.0</FileVersion>

2. Commit and Push

git add .
git commit -m "v2.0.4 - Add opacity slider feature"
git push

3. Build & Pack

# Publish
dotnet publish --configuration Release --runtime win-x64 --self-contained true -p:PublishSingleFile=false

# Create installer
sqpack pack --packId PiPStream --packVersion 2.0.4 --packDirectory "bin\Release\net8.0-windows\win-x64\publish" --releaseDir "Releases" --icon "Assets\Icon\PiPStream_Icon.ico"

4. Create GitHub Release

  • Tag: v2.0.4
  • Upload all files from Releases\
  • Publish

5. Done!

Friends' apps will auto-detect v2.0.4 and update with one click! 🎉


📊 What Happens Next

For You:

  1. Build new features
  2. Bump version
  3. Build & pack (2 commands)
  4. Upload to GitHub
  5. Done in 5 minutes!

For Friends:

  1. Download Setup.exe once
  2. Get update notifications automatically
  3. Click "Update & Restart"
  4. Never manually download again!

🆘 Troubleshooting

sqpack not found:

dotnet tool install -g Clowd.Squirrel

Pack fails "directory not found": Ensure you ran dotnet publish first

Update not detected:

  • Verify RELEASES file uploaded to GitHub
  • Check GitHub URL in UpdateService.cs
  • Make sure ALL files from Releases\ uploaded

Installer blocked by Windows:

  • Users click "More info" → "Run anyway"
  • This is normal for unsigned apps
  • Optional: Purchase code-signing certificate ($100-300/year)

🎁 What You Built

Professional App - Multi-platform PiP viewer ✅ Auto-Update System - Industry-standard Squirrel ✅ One-Click Installer - Easy friend distribution ✅ GitHub Hosting - Free, reliable delivery ✅ Delta Updates - Fast, smart downloading ✅ Performance Optimized - 60-70% FPS impact reduction


🎯 Next Steps

  1. Create first release (follow steps above)
  2. Test with friends - Get feedback
  3. Add features - From the 20+ improvement list:
    • Opacity slider
    • Global hotkeys
    • Volume control
    • Multi-window PiP
    • Quick positioning presets
  4. Iterate rapidly - Release updates in minutes!

📖 Documentation Reference

  • QUICK_START_AUTO_UPDATE.md - Quick 3-step setup (done! ✅)
  • DEPLOYMENT_GUIDE.md - Comprehensive deployment guide
  • CHANGELOG.md - Version history
  • PERFORMANCE_OPTIMIZATIONS.md - Performance details
  • README.md - User-facing documentation

🎉 You're Ready!

Your application is:

  • ✅ Built and published
  • ✅ Pushed to GitHub
  • ✅ Configured for auto-updates
  • ✅ Ready to package

Next command: Install Squirrel CLI and create your first installer!

dotnet tool install -g Clowd.Squirrel

Then follow Step 2 above to create the installer package.


Happy Deploying! 🚀

Questions? Check DEPLOYMENT_GUIDE.md for detailed troubleshooting.