From 4291cfc673b2f987057d57db30f09a896815a793 Mon Sep 17 00:00:00 2001 From: Luis Thiam-Nye Date: Wed, 1 May 2024 13:27:01 +0100 Subject: [PATCH] Add Buttery Taskbar. --- README.md | 41 +++-------------------- bin/auto-pr.ps1 | 2 +- bucket/app-name.json.template | 63 ----------------------------------- bucket/buttery-taskbar.json | 16 +++++++++ 4 files changed, 22 insertions(+), 100 deletions(-) delete mode 100644 bucket/app-name.json.template create mode 100644 bucket/buttery-taskbar.json diff --git a/README.md b/README.md index a53d3d7..7ec3b41 100644 --- a/README.md +++ b/README.md @@ -1,42 +1,11 @@ -# Scoop Bucket Template +# Cryptic Butter Scoop Bucket - + -Template bucket for [Scoop](https://scoop.sh), the Windows command-line installer. - -## How do I use this template? - -1. Generate your own copy of this repository with the "Use this template" - button. -2. Allow all GitHub Actions: - - Navigate to `Settings` - `Actions` - `General` - `Actions permissions`. - - Select `Allow all actions and reusable workflows`. - - Then `Save`. -3. Allow writing to the repository from within GitHub Actions: - - Navigate to `Settings` - `Actions` - `General` - `Workflow permissions`. - - Select `Read and write permissions`. - - Then `Save`. -4. Document the bucket in `README.md`. -5. Replace the placeholder repository string in `bin/auto-pr.ps1`. -6. Create new manifests by copying `bucket/app-name.json.template` to - `bucket/.json`. -7. Commit and push changes. -8. If you'd like your bucket to be indexed on `https://scoop.sh`, add the - topic `scoop-bucket` to your repository. - -## How do I install these manifests? - -After manifests have been committed and pushed, run the following: +Bucket for [Scoop](https://scoop.sh), the Windows command-line installer. ```pwsh -scoop bucket add https://github.com// -scoop install / +scoop bucket add CrypticButter https://github.com/CrypticButter/ScoopBucket +scoop install CrypticButter/ ``` - -## How do I contribute new manifests? - -To make a new manifest contribution, please read the [Contributing -Guide](https://github.com/ScoopInstaller/.github/blob/main/.github/CONTRIBUTING.md) -and [App Manifests](https://github.com/ScoopInstaller/Scoop/wiki/App-Manifests) -wiki page. diff --git a/bin/auto-pr.ps1 b/bin/auto-pr.ps1 index 3a91818..7718c05 100644 --- a/bin/auto-pr.ps1 +++ b/bin/auto-pr.ps1 @@ -1,6 +1,6 @@ param( # overwrite upstream param - [String]$upstream = "/:main" + [String]$upstream = "CrypticButter/ScoopBucket:main" ) if (!$env:SCOOP_HOME) { $env:SCOOP_HOME = Convert-Path (scoop prefix scoop) } diff --git a/bucket/app-name.json.template b/bucket/app-name.json.template deleted file mode 100644 index e3bbbd2..0000000 --- a/bucket/app-name.json.template +++ /dev/null @@ -1,63 +0,0 @@ -{ - "##": "This file is a template. Fill the blanks and add or remove fields as necessary.", - "version": "", - "description": "", - "homepage": "", - "license": "", - "notes": "", - "architecture": { - "64bit": { - "url": "", - "hash": "" - }, - "32bit": { - "url": "", - "hash": "" - }, - "arm64": { - "url": "", - "hash": "" - } - }, - "pre_install": "", - "installer": { - "script": "" - }, - "post_install": [ - "", - "" - ], - "uninstaller": { - "script": "" - }, - "bin": "", - "env_add_path": [ - "", - "" - ], - "persist": [ - "", - "" - ], - "checkver": { - "url": "", - "regex": "" - }, - "autoupdate": { - "architecture": { - "64bit": { - "url": "" - }, - "32bit": { - "url": "" - }, - "arm64": { - "url": "" - } - }, - "hash": { - "url": "", - "regex": "" - } - } -} diff --git a/bucket/buttery-taskbar.json b/bucket/buttery-taskbar.json new file mode 100644 index 0000000..13e9f1b --- /dev/null +++ b/bucket/buttery-taskbar.json @@ -0,0 +1,16 @@ +{ + "version": "2.3.1", + "description": "Fully hides the taskbar until pressing the Windows key.", + "homepage": "https://github.com/LuisThiamNye/ButteryTaskbar2", + "license": "EPL-2.0", + "url": "https://github.com/LuisThiamNye/ButteryTaskbar2/releases/download/2.3.1/buttery-taskbar.exe", + "hash": "8261d7707c75f94b016d202e61861e6897920a095d1e396c803ada7b323d5dd2", + "bin": "buttery-taskbar.exe", + "checkver": { + "url": "https://raw.githubusercontent.com/CrypticButter/ScoopBucket/master/bucket/buttery-taskbar.json", + "regex": "^\\s*{\\s*\"version\":\\s*\"([\\d.]+)\"", + }, + "autoupdate": { + "url": "https://github.com/LuisThiamNye/ButteryTaskbar2/releases/download/$version/buttery-taskbar.exe" + } +} \ No newline at end of file