mirror of
https://codefloe.com/Jonas8272/scoop-bucket.git
synced 2026-12-01 04:59:35 +00:00
Compare commits
49
Commits
921b8ec617
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f0ce39268 | ||
|
|
df2da3491c | ||
|
|
9a7a5daa36 | ||
|
|
64dee48786 | ||
|
|
e6c1561e73 | ||
|
|
bebe36ee03 | ||
|
|
a8aa25fc1c | ||
|
|
3b9e941cfb | ||
|
|
c8d430b854 | ||
|
|
04a166ffa6 | ||
|
|
3fa73ae78e | ||
|
|
627fdbafd0 | ||
|
|
3e86e085f1 | ||
|
|
bbca21a978 | ||
|
|
ec3ba92137 | ||
|
|
dd36ec804f | ||
|
|
0e14f5c42e | ||
|
|
44ba2e5c73 | ||
|
|
53b4e13857 | ||
|
|
a1dbe5e10a | ||
|
|
24e1ee48dd | ||
|
|
3691258149 | ||
|
|
7e207a6e05 | ||
|
|
d6a1cf3a12 | ||
|
|
a59b3eff46 | ||
|
|
85b00df9e8 | ||
|
|
40072e4817 | ||
|
|
40c3ca1737 | ||
|
|
2ea8349ce6 | ||
|
|
0a24cf9e2a | ||
|
|
36efd656c9 | ||
|
|
245dff9fa7 | ||
|
|
c3eb410f48 | ||
|
|
528cebe226 | ||
|
|
460c1aef74 | ||
|
|
1bff9d28d5 | ||
|
|
a924ab8d73 | ||
|
|
b36ae2b806 | ||
|
|
46c20f94f1 | ||
|
|
91dd40fda3 | ||
|
|
6089c0b66d | ||
|
|
29257749bd | ||
|
|
487f7fb94c | ||
|
|
8515acf12e | ||
|
|
a37459a52e | ||
|
|
7471d2c1fc | ||
|
|
3242d41d57 | ||
|
|
ed16504cf5 | ||
|
|
ece0ef78ef |
No files matched your search
@@ -0,0 +1,30 @@
|
|||||||
|
name: autoupdate-MicaForEveryone
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '53 */6 * * *'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: data.forgejo.org/oci/node:20-bookworm
|
||||||
|
steps:
|
||||||
|
- name: Install tools
|
||||||
|
run: apt-get update -qq && apt-get install -y -qq jq
|
||||||
|
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Update manifest
|
||||||
|
env:
|
||||||
|
GH_API_TOKEN: ${{ secrets.GH_API_TOKEN }}
|
||||||
|
run: tr -d '\r' < scripts/update-MicaForEveryone.sh | bash
|
||||||
|
|
||||||
|
- name: Commit and push
|
||||||
|
run: |
|
||||||
|
git config user.name "autoupdate"
|
||||||
|
git config user.email "[email protected]"
|
||||||
|
if ! git diff --quiet; then
|
||||||
|
git commit -am "MicaForEveryone: update to $(jq -r .version bucket/MicaForEveryone.json)"
|
||||||
|
git push
|
||||||
|
fi
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
name: autoupdate-jdownloader
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '53 5 * * *'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: data.forgejo.org/oci/node:20-bookworm
|
||||||
|
steps:
|
||||||
|
- name: Install tools
|
||||||
|
run: apt-get update -qq && apt-get install -y -qq jq
|
||||||
|
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Update manifest
|
||||||
|
run: tr -d '\r' < scripts/update-jdownloader.sh | bash
|
||||||
|
|
||||||
|
- name: Commit and push
|
||||||
|
run: |
|
||||||
|
git config user.name "autoupdate"
|
||||||
|
git config user.email "[email protected]"
|
||||||
|
if ! git diff --quiet; then
|
||||||
|
git commit -am "jdownloader: update to $(jq -r .version bucket/jdownloader.json)"
|
||||||
|
git push
|
||||||
|
fi
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
name: autoupdate-socialstreamninja-beta
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '44 */6 * * *'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: data.forgejo.org/oci/node:20-bookworm
|
||||||
|
steps:
|
||||||
|
- name: Install tools
|
||||||
|
run: apt-get update -qq && apt-get install -y -qq jq
|
||||||
|
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Update manifest
|
||||||
|
env:
|
||||||
|
GH_API_TOKEN: ${{ secrets.GH_API_TOKEN }}
|
||||||
|
run: tr -d '\r' < scripts/update-socialstreamninja-beta.sh | bash
|
||||||
|
|
||||||
|
- name: Commit and push
|
||||||
|
run: |
|
||||||
|
git config user.name "autoupdate"
|
||||||
|
git config user.email "[email protected]"
|
||||||
|
if ! git diff --quiet; then
|
||||||
|
git commit -am "socialstreamninja-beta: update to $(jq -r .version bucket/socialstreamninja-beta.json)"
|
||||||
|
git push
|
||||||
|
fi
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
name: autoupdate-vmware-workstation-pro
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '17 */6 * * *'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: data.forgejo.org/oci/node:20-bookworm
|
||||||
|
steps:
|
||||||
|
- name: Install tools
|
||||||
|
run: apt-get update -qq && apt-get install -y -qq jq curl ca-certificates osslsigncode
|
||||||
|
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Update manifest
|
||||||
|
run: tr -d '\r' < scripts/update-vmware-workstation-pro.sh | bash
|
||||||
|
|
||||||
|
- name: Commit and push
|
||||||
|
run: |
|
||||||
|
git config user.name "autoupdate"
|
||||||
|
git config user.email "[email protected]"
|
||||||
|
if ! git diff --quiet; then
|
||||||
|
git commit -am "vmware-workstation-pro: update to $(jq -r .version bucket/vmware-workstation-pro.json)"
|
||||||
|
git push
|
||||||
|
fi
|
||||||
@@ -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
|
irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/install-all.ps1 | iex
|
||||||
```
|
```
|
||||||
|
|
||||||
Apps that need administrator rights (FxSound) 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
|
```powershell
|
||||||
irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/install-all.ps1 -OutFile install-all.ps1
|
irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/install-all.ps1 -OutFile install-all.ps1
|
||||||
.\install-all.ps1 -Exclude fxsound
|
.\install-all.ps1 -Exclude fxsound,vmware-workstation-pro
|
||||||
.\install-all.ps1 -Only mornye,socialstreamninja
|
.\install-all.ps1 -Only mornye,socialstreamninja
|
||||||
|
.\install-all.ps1 -Only socialstreamninja-beta
|
||||||
```
|
```
|
||||||
|
|
||||||
### Install a single app with a script
|
### 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, which needs 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.
|
> **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
|
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
|
## Installing bewidgets
|
||||||
|
|
||||||
Desktop widgets for Windows: clock, weather, photos and app shortcuts.
|
Desktop widgets for Windows: clock, weather, photos and app shortcuts.
|
||||||
@@ -133,6 +152,94 @@ irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/
|
|||||||
|
|
||||||
> **Note:** This one is installed from the Microsoft Store through winget. The Store updates it, not `scoop update`.
|
> **Note:** This one is installed from the Microsoft Store through winget. The Store updates it, not `scoop update`.
|
||||||
|
|
||||||
|
## Installing Netflix
|
||||||
|
|
||||||
|
The Netflix app for Windows, for watching movies and TV shows.
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
scoop install Jonas8272/netflix
|
||||||
|
```
|
||||||
|
|
||||||
|
Or set up everything and install it with one script:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/install-netflix.ps1 | iex
|
||||||
|
```
|
||||||
|
|
||||||
|
> **Note:** This one is installed from the Microsoft Store through winget. The Store updates it, not `scoop update`.
|
||||||
|
|
||||||
|
## Installing Edge
|
||||||
|
|
||||||
|
The Microsoft Edge browser.
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
scoop install Jonas8272/edge
|
||||||
|
```
|
||||||
|
|
||||||
|
Or set up everything and install it with one script:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/install-edge.ps1 | iex
|
||||||
|
```
|
||||||
|
|
||||||
|
> **Note:** This one is installed through winget. Edge is already built into Windows, so this usually just reports that it is installed. Edge updates itself, not `scoop update`.
|
||||||
|
|
||||||
|
## Installing MicaForEveryone
|
||||||
|
|
||||||
|
[MicaForEveryone](https://github.com/MicaForEveryone/MicaForEveryone): applies Mica and other backdrop effects to the title bars and backgrounds of Win32 apps on Windows 11.
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
scoop install Jonas8272/MicaForEveryone
|
||||||
|
```
|
||||||
|
|
||||||
|
Or set up everything and install it with one script:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/install-MicaForEveryone.ps1 | iex
|
||||||
|
```
|
||||||
|
|
||||||
|
> **Note:** This one does not need winget or the Microsoft Store. It downloads the project's signed MSIX package from its [GitHub](https://github.com/MicaForEveryone/MicaForEveryone/releases) (checked against a pinned SHA-256 hash) together with the Windows App Runtime package it depends on, and installs both with Windows' built-in `Add-AppxPackage`.
|
||||||
|
|
||||||
|
> **Note:** It is made for Windows 11. If you installed it from the Microsoft Store before, remove that copy first. The uninstall step keeps the app's settings, so they should survive updates.
|
||||||
|
|
||||||
|
## Installing vmware-workstation-pro
|
||||||
|
|
||||||
|
VMware Workstation Pro: run virtual machines on Windows.
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
scoop install Jonas8272/vmware-workstation-pro
|
||||||
|
```
|
||||||
|
|
||||||
|
Or set up everything and install it with one script (from an elevated PowerShell):
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/install-vmware-workstation-pro.ps1 | iex
|
||||||
|
```
|
||||||
|
|
||||||
|
> **Note:** VMware installs drivers and virtual network adapters, so run PowerShell as administrator for this one. The script stops with a message if it is not elevated, and you may need to restart Windows afterwards.
|
||||||
|
|
||||||
|
> **Note:** The installer (about 267 MB) is downloaded from the [`vmwareworkstationarchive`](https://archive.org/details/vmwareworkstationarchive) item on archive.org, a third-party upload of Broadcom's installer. The download is checked against a pinned SHA-256 hash, and the file's digital signature is verified as Broadcom Inc. VMware is proprietary software, so Broadcom's licence terms apply.
|
||||||
|
|
||||||
|
> **Note:** For other versions check out [gandli's](https://github.com/gandli/scoop-vmware) bucket
|
||||||
|
|
||||||
|
## Installing jdownloader
|
||||||
|
|
||||||
|
JDownloader 2: a download manager that grabs files and links from many sites.
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
scoop install Jonas8272/jdownloader
|
||||||
|
```
|
||||||
|
|
||||||
|
Or set up everything and install it with one script:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/install-jdownloader.ps1 | iex
|
||||||
|
```
|
||||||
|
|
||||||
|
> **Note:** This uses JDownloader's official JAR file, so it needs Java. Scoop installs `java/temurin-jre` for you from the official `java` bucket (the scripts add that bucket if it is missing). The first time you start JDownloader, it downloads the rest of the app from its own servers.
|
||||||
|
|
||||||
|
> **Note:** JDownloader updates itself. The bucket re-checks the official JAR every day and updates the manifest when the file changes, so `scoop update` only fetches the small bootstrap file again.
|
||||||
|
|
||||||
## Updating
|
## Updating
|
||||||
|
|
||||||
Update Scoop and its bucket manifests:
|
Update Scoop and its bucket manifests:
|
||||||
@@ -166,8 +273,10 @@ scoop bucket rm Jonas8272
|
|||||||
- [Jonas8272 Scoop Bucket mirror repository (gitea)](https://git.jonas8272.com/Jonas8272/scoop-bucket)
|
- [Jonas8272 Scoop Bucket mirror repository (gitea)](https://git.jonas8272.com/Jonas8272/scoop-bucket)
|
||||||
- [Status](https://status.jonas8272.com)
|
- [Status](https://status.jonas8272.com)
|
||||||
|
|
||||||
> **Note:** You may want to save the links to the mirrors as they have generally better uptime than codefloe
|
> **Note:** You may want to save the links to the mirrors as they have generally better uptime than codefloe (codefloes uptime is absolute trash)
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
See the repository for licensing information.
|
UNLICENCE
|
||||||
|
|
||||||
|
[](https://unlicense.org/)
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.6.0",
|
||||||
|
"description": "MicaForEveryone: applies Mica and other backdrop effects to the title bars and backgrounds of Win32 apps on Windows 11 (signed MSIX package from the project's GitHub releases)",
|
||||||
|
"homepage": "https://github.com/MicaForEveryone/MicaForEveryone",
|
||||||
|
"license": "MIT",
|
||||||
|
"notes": [
|
||||||
|
"Made for Windows 11.",
|
||||||
|
"Installed as a normal Windows app package with Windows' built-in Add-AppxPackage, together with the Windows App Runtime it needs. No winget or Microsoft Store is used.",
|
||||||
|
"If you installed Mica For Everyone from the Microsoft Store before, remove that copy first."
|
||||||
|
],
|
||||||
|
"architecture": {
|
||||||
|
"64bit": {
|
||||||
|
"url": [
|
||||||
|
"https://github.com/MicaForEveryone/MicaForEveryone/releases/download/2.0.6.0/bundle.msixbundle",
|
||||||
|
"https://github.com/MicaForEveryone/MicaForEveryone/releases/download/2.0.6.0/Microsoft.WindowsAppRuntime.2.x64.msix"
|
||||||
|
],
|
||||||
|
"hash": [
|
||||||
|
"d8b7985bf64eaaf1c095b6da95228f2015285b5a6a5bf79bd43ab9707e13f4e8",
|
||||||
|
"137fcd11faeddc8ec8585b92efb5b193d7d14496965ba0f152d3ffc04dc15c8e"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"32bit": {
|
||||||
|
"url": [
|
||||||
|
"https://github.com/MicaForEveryone/MicaForEveryone/releases/download/2.0.6.0/bundle.msixbundle",
|
||||||
|
"https://github.com/MicaForEveryone/MicaForEveryone/releases/download/2.0.6.0/Microsoft.WindowsAppRuntime.2.x86.msix"
|
||||||
|
],
|
||||||
|
"hash": [
|
||||||
|
"d8b7985bf64eaaf1c095b6da95228f2015285b5a6a5bf79bd43ab9707e13f4e8",
|
||||||
|
"d271b8c607cdff7de2a04ac3894304a8553dcfc66686b0247b1f3b110c4e0d6f"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"arm64": {
|
||||||
|
"url": [
|
||||||
|
"https://github.com/MicaForEveryone/MicaForEveryone/releases/download/2.0.6.0/bundle.msixbundle",
|
||||||
|
"https://github.com/MicaForEveryone/MicaForEveryone/releases/download/2.0.6.0/Microsoft.WindowsAppRuntime.2.arm64.msix"
|
||||||
|
],
|
||||||
|
"hash": [
|
||||||
|
"d8b7985bf64eaaf1c095b6da95228f2015285b5a6a5bf79bd43ab9707e13f4e8",
|
||||||
|
"97b6b2e0f596963c9156799f3af451e47d70131548ab6d522eb1bbe7cff5af1c"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"installer": {
|
||||||
|
"script": [
|
||||||
|
"$micaBundle = Get-ChildItem -Path $dir -File | Where-Object { $_.Extension -eq '.msixbundle' } | Select-Object -First 1",
|
||||||
|
"$micaDeps = @(Get-ChildItem -Path $dir -File | Where-Object { $_.Extension -eq '.msix' } | ForEach-Object { $_.FullName })",
|
||||||
|
"Add-AppxPackage -Path $micaBundle.FullName -DependencyPath $micaDeps -ErrorAction Stop"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"uninstaller": {
|
||||||
|
"script": "Get-AppxPackage -Name 'MicaForEveryone.MicaForEveryone2' | Remove-AppxPackage -PreserveApplicationData"
|
||||||
|
},
|
||||||
|
"checkver": "github",
|
||||||
|
"autoupdate": {
|
||||||
|
"architecture": {
|
||||||
|
"64bit": {
|
||||||
|
"url": [
|
||||||
|
"https://github.com/MicaForEveryone/MicaForEveryone/releases/download/$version/bundle.msixbundle",
|
||||||
|
"https://github.com/MicaForEveryone/MicaForEveryone/releases/download/$version/Microsoft.WindowsAppRuntime.2.x64.msix"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"32bit": {
|
||||||
|
"url": [
|
||||||
|
"https://github.com/MicaForEveryone/MicaForEveryone/releases/download/$version/bundle.msixbundle",
|
||||||
|
"https://github.com/MicaForEveryone/MicaForEveryone/releases/download/$version/Microsoft.WindowsAppRuntime.2.x86.msix"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"arm64": {
|
||||||
|
"url": [
|
||||||
|
"https://github.com/MicaForEveryone/MicaForEveryone/releases/download/$version/bundle.msixbundle",
|
||||||
|
"https://github.com/MicaForEveryone/MicaForEveryone/releases/download/$version/Microsoft.WindowsAppRuntime.2.arm64.msix"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"version": "1.0",
|
||||||
|
"description": "Microsoft Edge browser (installed via winget; Edge updates itself)",
|
||||||
|
"homepage": "https://www.microsoft.com/edge",
|
||||||
|
"license": "Proprietary",
|
||||||
|
"url": "https://jonas8272.codeberg.page/blank/#/blank.html",
|
||||||
|
"installer": {
|
||||||
|
"script": "winget install --id Microsoft.Edge --source winget --accept-package-agreements --accept-source-agreements"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"version": "2026.11.23.0629",
|
||||||
|
"description": "JDownloader 2 download manager (official bootstrap JAR; it downloads the app on first run)",
|
||||||
|
"homepage": "https://jdownloader.org/",
|
||||||
|
"license": "Freeware",
|
||||||
|
"depends": "java/temurin-jre",
|
||||||
|
"url": "https://installer.jdownloader.org/JDownloader.jar",
|
||||||
|
"hash": "388a1d028e65cbc63933a778ddbc9267c14e7e7858389ce31a10be7308adeb40",
|
||||||
|
"pre_install": "Set-Content -Path \"$dir\\JDownloader.cmd\" -Value '@echo off', 'start \"\" javaw -jar \"%~dp0JDownloader.jar\"' -Encoding Ascii",
|
||||||
|
"bin": "JDownloader.cmd",
|
||||||
|
"shortcuts": [
|
||||||
|
[
|
||||||
|
"JDownloader.cmd",
|
||||||
|
"JDownloader 2"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"persist": "cfg"
|
||||||
|
}
|
||||||
+5
-5
@@ -1,16 +1,16 @@
|
|||||||
{
|
{
|
||||||
"version": "5.4.0",
|
"version": "5.4.5",
|
||||||
"description": "Open-source desktop music player for your personal library",
|
"description": "Open-source desktop music player for your personal library",
|
||||||
"homepage": "https://desktop.mornye.com/",
|
"homepage": "https://desktop.mornye.com/",
|
||||||
"license": "LGPL-3.0-only",
|
"license": "LGPL-3.0-only",
|
||||||
"architecture": {
|
"architecture": {
|
||||||
"64bit": {
|
"64bit": {
|
||||||
"url": "https://github.com/mornyeapp/Mornye-Desktop/releases/download/v5.4.0/Mornye-v5.4.0-windows-x64-portable.zip",
|
"url": "https://github.com/mornyeapp/Mornye-Desktop/releases/download/v5.4.5/Mornye-v5.4.5-windows-x64-portable.zip",
|
||||||
"hash": "ef43280811c7e2d65d5fb6c30be87cd0295f6572746c27cefc15e754a3be9dcd"
|
"hash": "75ae2f66a3eab303e452e3a91a999421027b88eab7d4bd3bdc742f48481511e0"
|
||||||
},
|
},
|
||||||
"arm64": {
|
"arm64": {
|
||||||
"url": "https://github.com/mornyeapp/Mornye-Desktop/releases/download/v5.4.0/Mornye-v5.4.0-windows-arm64-portable.zip",
|
"url": "https://github.com/mornyeapp/Mornye-Desktop/releases/download/v5.4.5/Mornye-v5.4.5-windows-arm64-portable.zip",
|
||||||
"hash": "494c573a1fef7a512950d1f431c26fea7ad6d79f985227ac7d9160282763e704"
|
"hash": "cd52239d5058908c2755af8d61f66b5e29e5b4f990e53dffe4d8dbff11d5273a"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bin": "mornye.exe",
|
"bin": "mornye.exe",
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"version": "1.0",
|
||||||
|
"description": "Netflix: watch movies and TV shows (installed from the Microsoft Store via winget)",
|
||||||
|
"homepage": "https://apps.microsoft.com/detail/9WZDNCRFJ3TJ",
|
||||||
|
"license": "Proprietary",
|
||||||
|
"url": "https://jonas8272.codeberg.page/blank/#/blank.html",
|
||||||
|
"installer": {
|
||||||
|
"script": "winget install --id 9WZDNCRFJ3TJ --source msstore --accept-package-agreements --accept-source-agreements"
|
||||||
|
},
|
||||||
|
"uninstaller": {
|
||||||
|
"script": "winget uninstall --id 9WZDNCRFJ3TJ --source msstore"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"version": "0.4.55",
|
||||||
|
"description": "Pre-release (beta) channel of Social Stream Ninja: combines live chat from YouTube, Twitch, TikTok and many other platforms into one stream for OBS overlays (desktop app)",
|
||||||
|
"homepage": "https://socialstream.ninja/",
|
||||||
|
"license": "GPL-3.0-only",
|
||||||
|
"url": "https://github.com/steveseguin/social_stream/releases/download/v0.4.55/socialstreamninja-portable.exe",
|
||||||
|
"hash": "1c379b1c4913e4724bfb9c185058007424449d15ac2037a8fa432483d6405afb",
|
||||||
|
"bin": [
|
||||||
|
[
|
||||||
|
"socialstreamninja-portable.exe",
|
||||||
|
"socialstreamninja-beta"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"shortcuts": [
|
||||||
|
[
|
||||||
|
"socialstreamninja-portable.exe",
|
||||||
|
"Social Stream Ninja (Beta)"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"persist": "SocialStreamNinja-beta-data",
|
||||||
|
"notes": [
|
||||||
|
"This is the PRE-RELEASE (test build) channel of Social Stream Ninja and may contain issues.",
|
||||||
|
"Export your settings from the app before installing or updating.",
|
||||||
|
"Use the stable 'socialstreamninja' manifest if you want tested releases only."
|
||||||
|
],
|
||||||
|
"checkver": {
|
||||||
|
"url": "https://api.github.com/repos/steveseguin/social_stream/releases",
|
||||||
|
"jsonpath": "$[0].tag_name",
|
||||||
|
"regex": "v([\\d.]+)"
|
||||||
|
},
|
||||||
|
"autoupdate": {
|
||||||
|
"url": "https://github.com/steveseguin/social_stream/releases/download/v$version/socialstreamninja-portable.exe"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"version": "26H1u1",
|
||||||
|
"description": "VMware Workstation Pro, build 25688693 (downloaded from the vmwareworkstationarchive item on archive.org)",
|
||||||
|
"homepage": "https://www.vmware.com/products/desktop-hypervisor/workstation-and-fusion",
|
||||||
|
"license": "Proprietary",
|
||||||
|
"notes": [
|
||||||
|
"Needs administrator rights and probably a reboot. Run in an elevated PowerShell.",
|
||||||
|
"Uninstall it from Windows Settings > Apps if 'scoop uninstall' leaves it behind."
|
||||||
|
],
|
||||||
|
"url": "https://archive.org/download/vmwareworkstationarchive/26H1/VMware-Workstation-Full-26H1u1-25688693.exe#/setup.exe",
|
||||||
|
"hash": "3d775c3c2153600eef4642f95d519a514ba7e861400bda2598352bff792db473",
|
||||||
|
"pre_install": [
|
||||||
|
"if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }",
|
||||||
|
"Start-Process \"$dir\\setup.exe\" -Wait -Verb 'RunAs' -Args @('/s', '/v\"/qn EULAS_AGREED=1 AUTOSOFTWAREUPDATE=0 DATACOLLECTION=0 REBOOT=ReallySuppress\"')",
|
||||||
|
"Remove-Item \"$dir\\setup.exe\" -Force"
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,89 @@
|
|||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Installs MicaForEveryone from the Jonas8272 bucket. Sets up Scoop, git and
|
||||||
|
the bucket first if they are missing.
|
||||||
|
|
||||||
|
.DESCRIPTION
|
||||||
|
MicaForEveryone is installed from the project's signed MSIX package on
|
||||||
|
GitHub with Windows' built-in Add-AppxPackage (together with the Windows App
|
||||||
|
Runtime package it needs). No winget or Microsoft Store is used. The app is
|
||||||
|
made for Windows 11.
|
||||||
|
|
||||||
|
.EXAMPLE
|
||||||
|
irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/install-MicaForEveryone.ps1 | iex
|
||||||
|
|
||||||
|
.NOTES
|
||||||
|
Run in a normal (non-admin) PowerShell window if Scoop is not installed yet.
|
||||||
|
#>
|
||||||
|
|
||||||
|
$ErrorActionPreference = 'Stop'
|
||||||
|
|
||||||
|
$App = 'MicaForEveryone'
|
||||||
|
$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..." -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
|
||||||
@@ -5,7 +5,8 @@
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
1. Installs Scoop if it is missing.
|
1. Installs Scoop if it is missing.
|
||||||
2. Installs git through Scoop if it is missing.
|
2. Installs git through Scoop if it is missing.
|
||||||
3. Adds the Jonas8272 bucket if it is not added yet.
|
3. Adds the Jonas8272 bucket if it is not added yet, or updates it if it is,
|
||||||
|
so newly added apps are picked up.
|
||||||
4. Installs every app found in the bucket, one by one. A failing app does
|
4. Installs every app found in the bucket, one by one. A failing app does
|
||||||
not stop the others, and a summary is printed at the end.
|
not stop the others, and a summary is printed at the end.
|
||||||
|
|
||||||
@@ -20,7 +21,7 @@
|
|||||||
Skip these apps.
|
Skip these apps.
|
||||||
|
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
.\install-all.ps1
|
irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/install-all.ps1 | iex
|
||||||
|
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
.\install-all.ps1 -Exclude fxsound
|
.\install-all.ps1 -Exclude fxsound
|
||||||
@@ -29,8 +30,7 @@
|
|||||||
.\install-all.ps1 -Only mornye,socialstreamninja
|
.\install-all.ps1 -Only mornye,socialstreamninja
|
||||||
|
|
||||||
.NOTES
|
.NOTES
|
||||||
Run in a normal (non-admin) PowerShell window if Scoop is not installed yet,
|
Run in a normal (non-admin) PowerShell window if Scoop is not installed yet.
|
||||||
because Scoop's installer refuses to run elevated.
|
|
||||||
#>
|
#>
|
||||||
|
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
@@ -54,13 +54,20 @@ function Test-Admin {
|
|||||||
return $principal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
|
return $principal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$scoopRoot = if ($env:SCOOP) { $env:SCOOP } else { Join-Path $env:USERPROFILE 'scoop' }
|
||||||
|
|
||||||
# 1. Scoop -------------------------------------------------------------------
|
# 1. Scoop -------------------------------------------------------------------
|
||||||
if (-not (Test-Command 'scoop')) {
|
if (-not (Test-Command 'scoop')) {
|
||||||
Write-Host 'Scoop not found. Installing Scoop...' -ForegroundColor Cyan
|
Write-Host 'Scoop not found. Installing Scoop...' -ForegroundColor Cyan
|
||||||
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
|
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
|
Invoke-RestMethod -Uri 'https://get.scoop.sh' | Invoke-Expression
|
||||||
|
}
|
||||||
|
|
||||||
$env:PATH = "$env:USERPROFILE\scoop\shims;$env:PATH"
|
# Make scoop available in this session without reopening PowerShell
|
||||||
|
$env:PATH = "$scoopRoot\shims;$env:PATH"
|
||||||
|
|
||||||
if (-not (Test-Command 'scoop')) {
|
if (-not (Test-Command 'scoop')) {
|
||||||
throw 'Scoop was installed but is not on PATH. Open a new PowerShell window and run this script again.'
|
throw 'Scoop was installed but is not on PATH. Open a new PowerShell window and run this script again.'
|
||||||
@@ -69,12 +76,12 @@ if (-not (Test-Command 'scoop')) {
|
|||||||
Write-Host 'Scoop is already installed.' -ForegroundColor Green
|
Write-Host 'Scoop is already installed.' -ForegroundColor Green
|
||||||
}
|
}
|
||||||
|
|
||||||
# 2. git (needed to add buckets) ---------------------------------------------
|
# 2. git (needed to add buckets) ----------------------------------------------
|
||||||
if (-not (Test-Command 'git')) {
|
if (-not (Test-Command 'git')) {
|
||||||
Write-Host 'git not found. Installing git through Scoop...' -ForegroundColor Cyan
|
Write-Host 'git not found. Installing git through Scoop...' -ForegroundColor Cyan
|
||||||
scoop install git
|
scoop install git
|
||||||
if ($LASTEXITCODE -ne 0) { throw 'Failed to install git through Scoop.' }
|
if ($LASTEXITCODE -ne 0) { throw 'Failed to install git through Scoop.' }
|
||||||
$env:PATH = "$env:USERPROFILE\scoop\shims;$env:PATH"
|
$env:PATH = "$scoopRoot\shims;$env:PATH"
|
||||||
} else {
|
} else {
|
||||||
Write-Host 'git is already installed.' -ForegroundColor Green
|
Write-Host 'git is already installed.' -ForegroundColor Green
|
||||||
}
|
}
|
||||||
@@ -86,7 +93,8 @@ $existing = scoop bucket list | Where-Object {
|
|||||||
|
|
||||||
if ($existing) {
|
if ($existing) {
|
||||||
$BucketName = $existing.Name
|
$BucketName = $existing.Name
|
||||||
Write-Host "Bucket '$BucketName' is already added." -ForegroundColor Green
|
Write-Host "Bucket '$BucketName' is already added. Updating it..." -ForegroundColor Green
|
||||||
|
scoop update
|
||||||
} else {
|
} else {
|
||||||
Write-Host "Adding bucket '$BucketName'..." -ForegroundColor Cyan
|
Write-Host "Adding bucket '$BucketName'..." -ForegroundColor Cyan
|
||||||
scoop bucket add $BucketName $BucketUrl
|
scoop bucket add $BucketName $BucketUrl
|
||||||
@@ -94,13 +102,12 @@ if ($existing) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# 4. Find the apps in the bucket ----------------------------------------------
|
# 4. Find the apps in the bucket ----------------------------------------------
|
||||||
$root = if ($env:SCOOP) { $env:SCOOP } else { Join-Path $env:USERPROFILE 'scoop' }
|
$bucketDir = Join-Path $scoopRoot "buckets\$BucketName\bucket"
|
||||||
$bucketDir = Join-Path $root "buckets\$BucketName\bucket"
|
|
||||||
if (-not (Test-Path $bucketDir)) {
|
if (-not (Test-Path $bucketDir)) {
|
||||||
$bucketDir = Join-Path $root "buckets\$BucketName"
|
$bucketDir = Join-Path $scoopRoot "buckets\$BucketName"
|
||||||
}
|
}
|
||||||
if (-not (Test-Path $bucketDir)) {
|
if (-not (Test-Path $bucketDir)) {
|
||||||
throw "Could not find the bucket folder for '$BucketName' under $root."
|
throw "Could not find the bucket folder for '$BucketName' under $scoopRoot."
|
||||||
}
|
}
|
||||||
|
|
||||||
$manifests = Get-ChildItem -Path $bucketDir -Filter '*.json' -File | Sort-Object Name
|
$manifests = Get-ChildItem -Path $bucketDir -Filter '*.json' -File | Sort-Object Name
|
||||||
@@ -108,6 +115,14 @@ if (-not $manifests) {
|
|||||||
throw "No app manifests found in $bucketDir."
|
throw "No app manifests found in $bucketDir."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Some apps (for example jdownloader) depend on packages from the official 'java' bucket
|
||||||
|
$needsJava = $manifests | Where-Object { (Get-Content -Path $_.FullName -Raw) -match '"depends"\s*:\s*"java/' }
|
||||||
|
if ($needsJava -and -not (scoop bucket list | Where-Object { $_.Name -eq 'java' })) {
|
||||||
|
Write-Host "Adding the 'java' bucket..." -ForegroundColor Cyan
|
||||||
|
scoop bucket add java
|
||||||
|
if ($LASTEXITCODE -ne 0) { throw "Failed to add the 'java' bucket." }
|
||||||
|
}
|
||||||
|
|
||||||
# 5. Install them ------------------------------------------------------------
|
# 5. Install them ------------------------------------------------------------
|
||||||
$isAdmin = Test-Admin
|
$isAdmin = Test-Admin
|
||||||
$results = @()
|
$results = @()
|
||||||
|
|||||||
@@ -75,7 +75,8 @@ $existing = scoop bucket list | Where-Object {
|
|||||||
|
|
||||||
if ($existing) {
|
if ($existing) {
|
||||||
$BucketName = $existing.Name
|
$BucketName = $existing.Name
|
||||||
Write-Host "Bucket '$BucketName' is already added." -ForegroundColor Green
|
Write-Host "Bucket '$BucketName' is already added. Updating it..." -ForegroundColor Green
|
||||||
|
scoop update
|
||||||
} else {
|
} else {
|
||||||
Write-Host "Adding bucket '$BucketName'..." -ForegroundColor Cyan
|
Write-Host "Adding bucket '$BucketName'..." -ForegroundColor Cyan
|
||||||
scoop bucket add $BucketName $BucketUrl
|
scoop bucket add $BucketName $BucketUrl
|
||||||
|
|||||||
@@ -0,0 +1,94 @@
|
|||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Installs Microsoft Edge from the Jonas8272 bucket. Sets up Scoop, git and the
|
||||||
|
bucket first if they are missing.
|
||||||
|
|
||||||
|
.DESCRIPTION
|
||||||
|
Edge is installed through winget, so winget must be available (it ships with
|
||||||
|
current Windows 10 and 11 as App Installer). Edge is already built into
|
||||||
|
Windows, so this usually just reports that it is installed. Edge updates
|
||||||
|
itself, not "scoop update".
|
||||||
|
|
||||||
|
.EXAMPLE
|
||||||
|
irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/install-edge.ps1 | iex
|
||||||
|
|
||||||
|
.NOTES
|
||||||
|
Run in a normal (non-admin) PowerShell window if Scoop is not installed yet.
|
||||||
|
#>
|
||||||
|
|
||||||
|
$ErrorActionPreference = 'Stop'
|
||||||
|
|
||||||
|
$App = 'edge'
|
||||||
|
$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' }
|
||||||
|
|
||||||
|
# 0. winget (the app is installed through it) ----------------------------------
|
||||||
|
if (-not (Test-Command 'winget')) {
|
||||||
|
throw 'winget was not found. Install "App Installer" from the Microsoft Store, then run this script again.'
|
||||||
|
}
|
||||||
|
|
||||||
|
# 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..." -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
|
||||||
@@ -69,7 +69,8 @@ $existing = scoop bucket list | Where-Object {
|
|||||||
|
|
||||||
if ($existing) {
|
if ($existing) {
|
||||||
$BucketName = $existing.Name
|
$BucketName = $existing.Name
|
||||||
Write-Host "Bucket '$BucketName' is already added." -ForegroundColor Green
|
Write-Host "Bucket '$BucketName' is already added. Updating it..." -ForegroundColor Green
|
||||||
|
scoop update
|
||||||
} else {
|
} else {
|
||||||
Write-Host "Adding bucket '$BucketName'..." -ForegroundColor Cyan
|
Write-Host "Adding bucket '$BucketName'..." -ForegroundColor Cyan
|
||||||
scoop bucket add $BucketName $BucketUrl
|
scoop bucket add $BucketName $BucketUrl
|
||||||
|
|||||||
@@ -0,0 +1,97 @@
|
|||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Installs JDownloader from the Jonas8272 bucket. Sets up Scoop, git and the
|
||||||
|
bucket first if they are missing.
|
||||||
|
|
||||||
|
.DESCRIPTION
|
||||||
|
JDownloader is installed from its official JAR file, so it needs Java. Scoop
|
||||||
|
installs java/temurin-jre for you from the official 'java' bucket, which this
|
||||||
|
script adds if it is missing. The first time you start JDownloader it
|
||||||
|
downloads the rest of the app from its own servers.
|
||||||
|
|
||||||
|
.EXAMPLE
|
||||||
|
irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/install-jdownloader.ps1 | iex
|
||||||
|
|
||||||
|
.NOTES
|
||||||
|
Run in a normal (non-admin) PowerShell window if Scoop is not installed yet.
|
||||||
|
#>
|
||||||
|
|
||||||
|
$ErrorActionPreference = 'Stop'
|
||||||
|
|
||||||
|
$App = 'jdownloader'
|
||||||
|
$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 official 'java' bucket (jdownloader depends on java/temurin-jre) ------
|
||||||
|
$javaBucket = scoop bucket list | Where-Object { $_.Name -eq 'java' } | Select-Object -First 1
|
||||||
|
if (-not $javaBucket) {
|
||||||
|
Write-Host "Adding the 'java' bucket..." -ForegroundColor Cyan
|
||||||
|
scoop bucket add java
|
||||||
|
if ($LASTEXITCODE -ne 0) { throw "Failed to add the 'java' bucket." }
|
||||||
|
}
|
||||||
|
|
||||||
|
# 5. The app -----------------------------------------------------------------
|
||||||
|
Write-Host ''
|
||||||
|
Write-Host "Installing $App..." -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
|
||||||
@@ -65,7 +65,8 @@ $existing = scoop bucket list | Where-Object {
|
|||||||
|
|
||||||
if ($existing) {
|
if ($existing) {
|
||||||
$BucketName = $existing.Name
|
$BucketName = $existing.Name
|
||||||
Write-Host "Bucket '$BucketName' is already added." -ForegroundColor Green
|
Write-Host "Bucket '$BucketName' is already added. Updating it..." -ForegroundColor Green
|
||||||
|
scoop update
|
||||||
} else {
|
} else {
|
||||||
Write-Host "Adding bucket '$BucketName'..." -ForegroundColor Cyan
|
Write-Host "Adding bucket '$BucketName'..." -ForegroundColor Cyan
|
||||||
scoop bucket add $BucketName $BucketUrl
|
scoop bucket add $BucketName $BucketUrl
|
||||||
|
|||||||
@@ -0,0 +1,93 @@
|
|||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Installs Netflix from the Jonas8272 bucket. Sets up Scoop, git and the
|
||||||
|
bucket first if they are missing.
|
||||||
|
|
||||||
|
.DESCRIPTION
|
||||||
|
Netflix is installed from the Microsoft Store through winget, so winget
|
||||||
|
must be available (it ships with current Windows 10 and 11 as App Installer).
|
||||||
|
The Store updates it, not "scoop update".
|
||||||
|
|
||||||
|
.EXAMPLE
|
||||||
|
irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/install-netflix.ps1 | iex
|
||||||
|
|
||||||
|
.NOTES
|
||||||
|
Run in a normal (non-admin) PowerShell window if Scoop is not installed yet.
|
||||||
|
#>
|
||||||
|
|
||||||
|
$ErrorActionPreference = 'Stop'
|
||||||
|
|
||||||
|
$App = 'netflix'
|
||||||
|
$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' }
|
||||||
|
|
||||||
|
# 0. winget (the app comes from the Microsoft Store) --------------------------
|
||||||
|
if (-not (Test-Command 'winget')) {
|
||||||
|
throw 'winget was not found. Install "App Installer" from the Microsoft Store, then run this script again.'
|
||||||
|
}
|
||||||
|
|
||||||
|
# 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..." -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
|
||||||
@@ -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
|
||||||
@@ -65,7 +65,8 @@ $existing = scoop bucket list | Where-Object {
|
|||||||
|
|
||||||
if ($existing) {
|
if ($existing) {
|
||||||
$BucketName = $existing.Name
|
$BucketName = $existing.Name
|
||||||
Write-Host "Bucket '$BucketName' is already added." -ForegroundColor Green
|
Write-Host "Bucket '$BucketName' is already added. Updating it..." -ForegroundColor Green
|
||||||
|
scoop update
|
||||||
} else {
|
} else {
|
||||||
Write-Host "Adding bucket '$BucketName'..." -ForegroundColor Cyan
|
Write-Host "Adding bucket '$BucketName'..." -ForegroundColor Cyan
|
||||||
scoop bucket add $BucketName $BucketUrl
|
scoop bucket add $BucketName $BucketUrl
|
||||||
|
|||||||
@@ -0,0 +1,91 @@
|
|||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Installs VMware Workstation Pro from the Jonas8272 bucket. Sets up Scoop,
|
||||||
|
git and the bucket first if they are missing.
|
||||||
|
|
||||||
|
.DESCRIPTION
|
||||||
|
VMware Workstation installs drivers and virtual network adapters, so this
|
||||||
|
script must be run from an elevated PowerShell (right-click PowerShell,
|
||||||
|
then "Run as administrator"). A reboot is probably needed afterwards.
|
||||||
|
If Scoop is not installed yet, it is installed in admin mode.
|
||||||
|
|
||||||
|
The installer (about 267 MB) is downloaded from the vmwareworkstationarchive
|
||||||
|
item on archive.org and checked against a pinned SHA-256 hash.
|
||||||
|
|
||||||
|
.EXAMPLE
|
||||||
|
irm https://codefloe.com/Jonas8272/scoop-bucket/raw/branch/master/installations/install-vmware-workstation-pro.ps1 | iex
|
||||||
|
#>
|
||||||
|
|
||||||
|
$ErrorActionPreference = 'Stop'
|
||||||
|
|
||||||
|
$App = 'vmware-workstation-pro'
|
||||||
|
$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' }
|
||||||
|
|
||||||
|
# 0. Administrator rights (VMware installs drivers) ---------------------------
|
||||||
|
if (-not (Test-Admin)) {
|
||||||
|
Write-Warning 'VMware Workstation installs drivers and network adapters, so this needs an elevated PowerShell. Right-click PowerShell, choose "Run as administrator", then run this script again.'
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
# 1. Scoop -------------------------------------------------------------------
|
||||||
|
if (-not (Test-Command 'scoop')) {
|
||||||
|
Write-Host 'Scoop not found. Installing Scoop...' -ForegroundColor Cyan
|
||||||
|
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
|
||||||
|
Invoke-Expression "& {$(Invoke-RestMethod -Uri 'https://get.scoop.sh')} -RunAsAdmin"
|
||||||
|
|
||||||
|
# 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 (about 267 MB download)..." -ForegroundColor Cyan
|
||||||
|
scoop install "$BucketName/$App"
|
||||||
|
if ($LASTEXITCODE -ne 0) { throw "Failed to install $App." }
|
||||||
|
|
||||||
|
Write-Host ''
|
||||||
|
Write-Host "Done. $App is installed. Restart Windows if VMware asks for it." -ForegroundColor Green
|
||||||
@@ -75,14 +75,15 @@ $existing = scoop bucket list | Where-Object {
|
|||||||
|
|
||||||
if ($existing) {
|
if ($existing) {
|
||||||
$BucketName = $existing.Name
|
$BucketName = $existing.Name
|
||||||
Write-Host "Bucket '$BucketName' is already added." -ForegroundColor Green
|
Write-Host "Bucket '$BucketName' is already added. Updating it..." -ForegroundColor Green
|
||||||
|
scoop update
|
||||||
} else {
|
} else {
|
||||||
Write-Host "Adding bucket '$BucketName'..." -ForegroundColor Cyan
|
Write-Host "Adding bucket '$BucketName'..." -ForegroundColor Cyan
|
||||||
scoop bucket add $BucketName $BucketUrl
|
scoop bucket add $BucketName $BucketUrl
|
||||||
if ($LASTEXITCODE -ne 0) { throw "Failed to add bucket '$BucketName'." }
|
if ($LASTEXITCODE -ne 0) { throw "Failed to add bucket '$BucketName'." }
|
||||||
}
|
}
|
||||||
|
|
||||||
# 4. The app -----------------------------------------------------------------
|
# 4. The app ------------------------------------------------------------------
|
||||||
Write-Host ''
|
Write-Host ''
|
||||||
Write-Host "Installing $App..." -ForegroundColor Cyan
|
Write-Host "Installing $App..." -ForegroundColor Cyan
|
||||||
scoop install "$BucketName/$App"
|
scoop install "$BucketName/$App"
|
||||||
|
|||||||
@@ -0,0 +1,63 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
M=bucket/MicaForEveryone.json
|
||||||
|
REPO=MicaForEveryone/MicaForEveryone
|
||||||
|
|
||||||
|
auth=()
|
||||||
|
if [ -n "${GH_API_TOKEN:-}" ]; then
|
||||||
|
auth=(-H "Authorization: Bearer $GH_API_TOKEN")
|
||||||
|
fi
|
||||||
|
|
||||||
|
# "latest" is the newest stable release (pre-releases and drafts are skipped).
|
||||||
|
rel=$(curl -fsSL ${auth[@]+"${auth[@]}"} "https://api.github.com/repos/$REPO/releases/latest")
|
||||||
|
tag=$(jq -r .tag_name <<<"$rel")
|
||||||
|
ver=${tag#v}
|
||||||
|
cur=$(jq -r .version "$M")
|
||||||
|
|
||||||
|
# Up to date, or the manifest is already ahead: leave it alone.
|
||||||
|
if [ "$(printf '%s\n%s\n' "$cur" "$ver" | sort -V | tail -n1)" = "$cur" ]; then
|
||||||
|
echo "up to date ($cur)"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Print "<url> <sha256>" for the ONE asset whose name matches the regex. Uses
|
||||||
|
# GitHub's recorded digest; otherwise downloads the file and hashes it.
|
||||||
|
asset_info() {
|
||||||
|
local re=$1 line url hash tmp
|
||||||
|
line=$(jq -r --arg re "$re" '
|
||||||
|
[ .assets[] | select(.name | test($re; "i")) ]
|
||||||
|
| if length == 1 then .[0] | "\(.browser_download_url) \(.digest // "none")" else empty end' <<<"$rel")
|
||||||
|
[ -n "$line" ] || { echo "expected exactly one asset matching /$re/ in $tag" >&2; exit 1; }
|
||||||
|
url=${line%% *}
|
||||||
|
hash=${line##* }
|
||||||
|
hash=${hash#sha256:}
|
||||||
|
if ! [[ $hash =~ ^[0-9a-f]{64}$ ]]; then
|
||||||
|
echo "no API digest for $url, downloading to hash it" >&2
|
||||||
|
tmp=$(mktemp)
|
||||||
|
curl -fsSL -o "$tmp" "$url"
|
||||||
|
[ "$(head -c2 "$tmp")" = "PK" ] || { echo "$url is not an msix/zip package" >&2; rm -f "$tmp"; exit 1; }
|
||||||
|
hash=$(sha256sum "$tmp" | cut -d' ' -f1)
|
||||||
|
rm -f "$tmp"
|
||||||
|
fi
|
||||||
|
echo "$url $hash"
|
||||||
|
}
|
||||||
|
|
||||||
|
# The app bundle plus the Windows App Runtime framework package for each CPU.
|
||||||
|
bundle=$(asset_info '^bundle\.msixbundle$')
|
||||||
|
x64=$(asset_info '^(microsoft\.windowsappruntime|wasdk)[^/]*x64\.msix$')
|
||||||
|
x86=$(asset_info '^(microsoft\.windowsappruntime|wasdk)[^/]*x86\.msix$')
|
||||||
|
arm=$(asset_info '^(microsoft\.windowsappruntime|wasdk)[^/]*arm64\.msix$')
|
||||||
|
|
||||||
|
jq --indent 4 --arg v "$ver" \
|
||||||
|
--arg bu "${bundle%% *}" --arg bh "${bundle##* }" \
|
||||||
|
--arg xu "${x64%% *}" --arg xh "${x64##* }" \
|
||||||
|
--arg iu "${x86%% *}" --arg ih "${x86##* }" \
|
||||||
|
--arg au "${arm%% *}" --arg ah "${arm##* }" \
|
||||||
|
'.version=$v
|
||||||
|
| .architecture["64bit"].url=[$bu,$xu] | .architecture["64bit"].hash=[$bh,$xh]
|
||||||
|
| .architecture["32bit"].url=[$bu,$iu] | .architecture["32bit"].hash=[$bh,$ih]
|
||||||
|
| .architecture.arm64.url=[$bu,$au] | .architecture.arm64.hash=[$bh,$ah]' \
|
||||||
|
"$M" > "$M.tmp" && mv "$M.tmp" "$M"
|
||||||
|
|
||||||
|
echo "updated $cur -> $ver"
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
M=bucket/jdownloader.json
|
||||||
|
URL=https://installer.jdownloader.org/JDownloader.jar
|
||||||
|
|
||||||
|
# Download the official bootstrap JAR and hash it.
|
||||||
|
curl -fsSL -o /tmp/JDownloader.jar "$URL"
|
||||||
|
[ "$(head -c2 /tmp/JDownloader.jar)" = "PK" ] || { echo "download is not a jar" >&2; exit 1; }
|
||||||
|
hash=$(sha256sum /tmp/JDownloader.jar | cut -d' ' -f1)
|
||||||
|
cur_hash=$(jq -r .hash "$M")
|
||||||
|
|
||||||
|
if [ "$hash" = "$cur_hash" ]; then
|
||||||
|
echo "up to date ($hash)"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Version = date and time the file was last modified (falls back to now).
|
||||||
|
lm=$(curl -fsSI "$URL" | tr -d '\r' | grep -i '^last-modified:' | head -1 | cut -d' ' -f2- || true)
|
||||||
|
ver=$(date -u -d "${lm:-now}" +%Y.%m.%d.%H%M 2>/dev/null || date -u +%Y.%m.%d.%H%M)
|
||||||
|
cur=$(jq -r .version "$M")
|
||||||
|
|
||||||
|
jq --indent 4 --arg v "$ver" --arg h "$hash" '.version=$v | .hash=$h' \
|
||||||
|
"$M" > "$M.tmp" && mv "$M.tmp" "$M"
|
||||||
|
|
||||||
|
echo "updated $cur -> $ver"
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
M=bucket/socialstreamninja-beta.json
|
||||||
|
REPO=steveseguin/social_stream
|
||||||
|
ASSET='^socialstreamninja-portable\.exe$'
|
||||||
|
|
||||||
|
auth=()
|
||||||
|
if [ -n "${GH_API_TOKEN:-}" ]; then
|
||||||
|
auth=(-H "Authorization: Bearer $GH_API_TOKEN")
|
||||||
|
fi
|
||||||
|
|
||||||
|
# /releases/latest never returns pre-releases, so list releases and take the
|
||||||
|
# newest one that is flagged as a pre-release (the API returns newest first).
|
||||||
|
rel=$(curl -fsSL ${auth[@]+"${auth[@]}"} "https://api.github.com/repos/$REPO/releases?per_page=30" \
|
||||||
|
| jq 'map(select(.prerelease == true and .draft == false)) | first')
|
||||||
|
|
||||||
|
if [ "$rel" = "null" ] || [ -z "$rel" ]; then
|
||||||
|
echo "no pre-release found for $REPO" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
tag=$(jq -r .tag_name <<<"$rel")
|
||||||
|
ver=${tag#v}
|
||||||
|
cur=$(jq -r .version "$M")
|
||||||
|
|
||||||
|
if [ "$ver" = "$cur" ]; then
|
||||||
|
echo "up to date ($cur)"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
name=$(jq -r '.assets[].name' <<<"$rel" | grep -E "$ASSET" || true)
|
||||||
|
if [ "$(printf '%s\n' "$name" | grep -c .)" -ne 1 ]; then
|
||||||
|
echo "expected exactly one asset matching /$ASSET/ in $tag, got:" >&2
|
||||||
|
echo "$name" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
url="https://github.com/$REPO/releases/download/$tag/$name"
|
||||||
|
|
||||||
|
# Prefer GitHub's recorded digest; otherwise download and hash the file.
|
||||||
|
hash=$(jq -r --arg n "$name" '.assets[] | select(.name==$n) | .digest // empty' <<<"$rel" | sed 's/^sha256://')
|
||||||
|
if ! [[ $hash =~ ^[0-9a-f]{64}$ ]]; then
|
||||||
|
echo "no API digest for $name, downloading to hash it" >&2
|
||||||
|
curl -fsSL -o /tmp/asset "$url"
|
||||||
|
hash=$(sha256sum /tmp/asset | cut -d' ' -f1)
|
||||||
|
fi
|
||||||
|
|
||||||
|
jq --indent 4 --arg v "$ver" --arg u "$url" --arg h "$hash" \
|
||||||
|
'.version=$v | .url=$u | .hash=$h' "$M" > "$M.tmp" && mv "$M.tmp" "$M"
|
||||||
|
|
||||||
|
echo "updated $cur -> $ver"
|
||||||
@@ -0,0 +1,73 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
M=bucket/vmware-workstation-pro.json
|
||||||
|
ITEM=vmwareworkstationarchive
|
||||||
|
META="https://archive.org/metadata/$ITEM/files"
|
||||||
|
|
||||||
|
files=$(curl -fsSL --retry 3 --connect-timeout 30 "$META")
|
||||||
|
|
||||||
|
# Newest Windows installer = highest build number among files like
|
||||||
|
# 26H1/VMware-Workstation-Full-26H1u1-25688693.exe (the old 17.x and older
|
||||||
|
# builds use a different name and are ignored).
|
||||||
|
latest=$(jq -c '
|
||||||
|
[ (if type == "array" then . else (.result // .files) end)[]
|
||||||
|
| select(.name | test("^[0-9]{2}H[0-9]/VMware-Workstation-Full-[0-9]{2}H[0-9](u[0-9]+)?-[0-9]+\\.exe$"))
|
||||||
|
| . + { build: (.name | capture("-(?<b>[0-9]+)\\.exe$").b | tonumber),
|
||||||
|
ver: (.name | capture("Full-(?<v>[0-9]{2}H[0-9](u[0-9]+)?)-").v) } ]
|
||||||
|
| sort_by(.build) | last // empty' <<<"$files")
|
||||||
|
|
||||||
|
[ -n "$latest" ] || { echo "no VMware Workstation installer found in $ITEM" >&2; exit 1; }
|
||||||
|
|
||||||
|
name=$(jq -r .name <<<"$latest")
|
||||||
|
ver=$(jq -r .ver <<<"$latest")
|
||||||
|
build=$(jq -r .build <<<"$latest")
|
||||||
|
size=$(jq -r .size <<<"$latest")
|
||||||
|
md5=$(jq -r .md5 <<<"$latest")
|
||||||
|
|
||||||
|
url="https://archive.org/download/$ITEM/$name#/setup.exe"
|
||||||
|
cur_url=$(jq -r .url "$M")
|
||||||
|
|
||||||
|
if [ "$url" = "$cur_url" ]; then
|
||||||
|
echo "up to date ($(jq -r .version "$M"))"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
cur_build=$(sed -E 's/.*-([0-9]+)\.exe.*/\1/' <<<"$cur_url")
|
||||||
|
if [[ $cur_build =~ ^[0-9]+$ ]] && [ "$build" -le "$cur_build" ]; then
|
||||||
|
echo "archive newest build ($build) is not newer than the manifest ($cur_build), leaving it alone"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "new build $build ($ver), downloading to verify it"
|
||||||
|
tmp=$(mktemp -d)
|
||||||
|
trap 'rm -rf "$tmp"' EXIT
|
||||||
|
exe="$tmp/setup.exe"
|
||||||
|
curl -fSL --retry 3 --retry-delay 15 --connect-timeout 30 -o "$exe" "https://archive.org/download/$ITEM/$name"
|
||||||
|
|
||||||
|
# 1. It is a Windows executable of the size and md5 archive.org lists (transfer check).
|
||||||
|
[ "$(head -c2 "$exe")" = "MZ" ] || { echo "download is not an exe" >&2; exit 1; }
|
||||||
|
[ "$(stat -c%s "$exe")" = "$size" ] || { echo "size mismatch" >&2; exit 1; }
|
||||||
|
[ "$(md5sum "$exe" | cut -d' ' -f1)" = "$md5" ] || { echo "md5 mismatch" >&2; exit 1; }
|
||||||
|
|
||||||
|
# 2. It carries a valid digital signature from Broadcom (authenticity check).
|
||||||
|
# archive.org is a third-party upload, so this is what protects the bucket.
|
||||||
|
if ! osslsigncode verify -in "$exe" \
|
||||||
|
-CAfile /etc/ssl/certs/ca-certificates.crt \
|
||||||
|
-TSA-CAfile /etc/ssl/certs/ca-certificates.crt >"$tmp/sig.txt" 2>&1; then
|
||||||
|
cat "$tmp/sig.txt" >&2
|
||||||
|
echo "signature verification failed, not updating" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
grep -q 'Broadcom Inc' "$tmp/sig.txt" || { cat "$tmp/sig.txt" >&2; echo "installer is not signed by Broadcom Inc, not updating" >&2; exit 1; }
|
||||||
|
|
||||||
|
hash=$(sha256sum "$exe" | cut -d' ' -f1)
|
||||||
|
|
||||||
|
cur=$(jq -r .version "$M")
|
||||||
|
jq --indent 4 --arg v "$ver" --arg u "$url" --arg h "$hash" --arg b "$build" \
|
||||||
|
'.version=$v
|
||||||
|
| .description = "VMware Workstation Pro, build \($b) (downloaded from the vmwareworkstationarchive item on archive.org)"
|
||||||
|
| .url=$u | .hash=$h' \
|
||||||
|
"$M" > "$M.tmp" && mv "$M.tmp" "$M"
|
||||||
|
|
||||||
|
echo "updated $cur -> $ver (build $build)"
|
||||||
Reference in new issue
Block a user