Compare commits

...
2 Commits
Author SHA1 Message Date
Jonas8272 3691258149 Update README.md 2026-11-22 19:20:22 +00:00
Jonas8272 7e207a6e05 Add installations/install-socialstreamninja-beta.ps1 2026-11-22 19:19:03 +00:00
2 changed files with 107 additions and 2 deletions

No files matched your search

+21 -2
View File
@@ -43,17 +43,18 @@ This does the same setup and then installs all the apps listed below:
irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/install-all.ps1 | iex
```
Apps that need administrator rights (FxSound and VMware Workstation Pro) are skipped unless you run it from an elevated PowerShell. To choose which apps to install, download the script and pass `-Only` or `-Exclude`:
Apps that need administrator rights (FxSound and VMware Workstation Pro) are skipped unless you run it from an elevated PowerShell. Pre-release (`-beta`) apps are skipped unless you name them with `-Only`. To choose which apps to install, download the script and pass `-Only` or `-Exclude`:
```powershell
irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/install-all.ps1 -OutFile install-all.ps1
.\install-all.ps1 -Exclude fxsound,vmware-workstation-pro
.\install-all.ps1 -Only mornye,socialstreamninja
.\install-all.ps1 -Only socialstreamninja-beta
```
### Install a single app with a script
Every app also has its own script (`install-<app>.ps1`) in the [`installations`](installations) folder. It does the same setup as above (Scoop, git and the bucket, only if missing) and then installs just that app. The one-liner for each app is in its section below. Run it in a normal (non-admin) PowerShell window, except for FxSound and VMware Workstation Pro, which need an elevated one.
Every app also has its own script (`install-<app>.ps1`) in the [`installations`](https://git.jonas8272.com/Jonas8272/scoop-bucket/src/branch/master/installations) folder. It does the same setup as above (Scoop, git and the bucket, only if missing) and then installs just that app. The one-liner for each app is in its section below. Run it in a normal (non-admin) PowerShell window, except for FxSound and VMware Workstation Pro, which need an elevated one.
> **Tip:** Read a script before you run it. All scripts are in the `installations` folder of this repository.
@@ -85,6 +86,24 @@ Or set up everything and install it with one script:
irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/install-socialstreamninja.ps1 | iex
```
## Installing socialstreamninja-beta
The pre-release (test build) channel of socialstreamninja. It follows the newest pre-release published on [GitHub](https://github.com/steveseguin/social_stream/releases) instead of the latest stable release.
```powershell
scoop install Jonas8272/socialstreamninja-beta
```
Or set up everything and install it with one script:
```powershell
irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/install-socialstreamninja-beta.ps1 | iex
```
> **Note:** Pre-releases have not completed broad real-world testing and may contain issues. Export your settings from the app before installing or updating.
> **Note:** The beta uses its own command (`socialstreamninja-beta`), Start menu shortcut (Social Stream Ninja (Beta)) and data folder, so it can be installed next to the stable `socialstreamninja` without clashing, but the two do not share settings.
## Installing bewidgets
Desktop widgets for Windows: clock, weather, photos and app shortcuts.
@@ -0,0 +1,86 @@
<#
.SYNOPSIS
Installs socialstreamninja-beta (pre-release builds) from the Jonas8272 bucket.
Sets up Scoop, git and the bucket first if they are missing.
.EXAMPLE
irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/install-socialstreamninja-beta.ps1 | iex
.NOTES
Run in a normal (non-admin) PowerShell window if Scoop is not installed yet.
This installs the pre-release channel, which may contain issues. Export your
settings from the app before installing or updating.
#>
$ErrorActionPreference = 'Stop'
$App = 'socialstreamninja-beta'
$BucketName = 'Jonas8272'
$BucketUrl = 'https://codefloe.com/Jonas8272/scoop-bucket'
function Test-Command($name) {
return [bool](Get-Command $name -ErrorAction SilentlyContinue)
}
function Test-Admin {
$id = [Security.Principal.WindowsIdentity]::GetCurrent()
$principal = New-Object Security.Principal.WindowsPrincipal($id)
return $principal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
}
$scoopRoot = if ($env:SCOOP) { $env:SCOOP } else { Join-Path $env:USERPROFILE 'scoop' }
# 1. Scoop -------------------------------------------------------------------
if (-not (Test-Command 'scoop')) {
Write-Host 'Scoop not found. Installing Scoop...' -ForegroundColor Cyan
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
if (Test-Admin) {
Invoke-Expression "& {$(Invoke-RestMethod -Uri 'https://get.scoop.sh')} -RunAsAdmin"
} else {
Invoke-RestMethod -Uri 'https://get.scoop.sh' | Invoke-Expression
}
# Make scoop available in this session without reopening PowerShell
$env:PATH = "$scoopRoot\shims;$env:PATH"
if (-not (Test-Command 'scoop')) {
throw 'Scoop was installed but is not on PATH. Open a new PowerShell window and run this script again.'
}
} else {
Write-Host 'Scoop is already installed.' -ForegroundColor Green
}
# 2. git (needed to add buckets) ---------------------------------------------
if (-not (Test-Command 'git')) {
Write-Host 'git not found. Installing git through Scoop...' -ForegroundColor Cyan
scoop install git
if ($LASTEXITCODE -ne 0) { throw 'Failed to install git through Scoop.' }
$env:PATH = "$scoopRoot\shims;$env:PATH"
} else {
Write-Host 'git is already installed.' -ForegroundColor Green
}
# 3. Bucket ------------------------------------------------------------------
$existing = scoop bucket list | Where-Object {
$_.Name -eq $BucketName -or $_.Source -like '*Jonas8272/scoop-bucket*'
} | Select-Object -First 1
if ($existing) {
$BucketName = $existing.Name
Write-Host "Bucket '$BucketName' is already added. Updating it..." -ForegroundColor Green
scoop update
} else {
Write-Host "Adding bucket '$BucketName'..." -ForegroundColor Cyan
scoop bucket add $BucketName $BucketUrl
if ($LASTEXITCODE -ne 0) { throw "Failed to add bucket '$BucketName'." }
}
# 4. The app -----------------------------------------------------------------
Write-Host ''
Write-Host "Installing $App (pre-release)..." -ForegroundColor Cyan
scoop install "$BucketName/$App"
if ($LASTEXITCODE -ne 0) { throw "Failed to install $App." }
Write-Host ''
Write-Host "Done. $App is installed." -ForegroundColor Green
Write-Host 'This is a pre-release build and may contain issues. Export your settings before updating.' -ForegroundColor Yellow