Skip to content

Commit

Permalink
Add Buttery Taskbar.
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisThiamNye committed May 1, 2024
1 parent 95493b1 commit 4291cfc
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 100 deletions.
41 changes: 5 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,11 @@
# Scoop Bucket Template
# Cryptic Butter Scoop Bucket

<!-- Uncomment the following line after replacing placeholders -->
<!-- [![Tests](https://github.com/<username>/<bucketname>/actions/workflows/ci.yml/badge.svg)](https://github.com/<username>/<bucketname>/actions/workflows/ci.yml) [![Excavator](https://github.com/<username>/<bucketname>/actions/workflows/excavator.yml/badge.svg)](https://github.com/<username>/<bucketname>/actions/workflows/excavator.yml) -->
<!-- [![Tests](https://github.com/CrypticButter/ScoopBucket/actions/workflows/ci.yml/badge.svg)](https://github.com/CrypticButter/ScoopBucket/actions/workflows/ci.yml) [![Excavator](https://github.com/CrypticButter/ScoopBucket/actions/workflows/excavator.yml/badge.svg)](https://github.com/CrypticButter/ScoopBucket/actions/workflows/excavator.yml) -->

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/<app-name>.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 <bucketname> https://github.com/<username>/<bucketname>
scoop install <bucketname>/<manifestname>
scoop bucket add CrypticButter https://github.com/CrypticButter/ScoopBucket
scoop install CrypticButter/<name_of_app_you_want_to_install>
```

## 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.
2 changes: 1 addition & 1 deletion bin/auto-pr.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
param(
# overwrite upstream param
[String]$upstream = "<username>/<bucketname>:main"
[String]$upstream = "CrypticButter/ScoopBucket:main"
)

if (!$env:SCOOP_HOME) { $env:SCOOP_HOME = Convert-Path (scoop prefix scoop) }
Expand Down
63 changes: 0 additions & 63 deletions bucket/app-name.json.template

This file was deleted.

16 changes: 16 additions & 0 deletions bucket/buttery-taskbar.json
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit 4291cfc

Please sign in to comment.