feat: init bucket
This commit is contained in:
parent
69d2c43084
commit
ece10a8c2d
2
LICENSE
2
LICENSE
@ -21,4 +21,4 @@ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|||||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||||
OTHER DEALINGS IN THE SOFTWARE.
|
OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
For more information, please refer to <https://unlicense.org>
|
For more information, please refer to <https://unlicense.org/>
|
||||||
|
49
README.md
49
README.md
@ -1,42 +1,25 @@
|
|||||||
# Scoop Bucket Template
|
# Scoop-Dumtruck
|
||||||
|
|
||||||
<!-- Uncomment the following line after replacing placeholders -->
|
A collection of quirky software, like the dumtruck, taking you to another world.
|
||||||
<!-- [](https://github.com/<username>/<bucketname>/actions/workflows/ci.yml) [](https://github.com/<username>/<bucketname>/actions/workflows/excavator.yml) -->
|
|
||||||
|
|
||||||
Template bucket for [Scoop](https://scoop.sh), the Windows command-line installer.
|
## How to add this bucket
|
||||||
|
|
||||||
## How do I use this template?
|
---
|
||||||
|
|
||||||
1. Generate your own copy of this repository with the "Use this template"
|
To make it easy to install apps from this bucket, run
|
||||||
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?
|
scoop bucket add dumtruck https://github.com/dumtruck/scoop-bucket.git
|
||||||
|
|
||||||
After manifests have been committed and pushed, run the following:
|
Check that it works:
|
||||||
|
|
||||||
```pwsh
|
scoop bucket list
|
||||||
scoop bucket add <bucketname> https://github.com/<username>/<bucketname>
|
|
||||||
scoop install <bucketname>/<manifestname>
|
|
||||||
```
|
|
||||||
|
|
||||||
## How do I contribute new manifests?
|
For update run:
|
||||||
|
|
||||||
To make a new manifest contribution, please read the [Contributing
|
scoop update
|
||||||
Guide](https://github.com/ScoopInstaller/.github/blob/main/.github/CONTRIBUTING.md)
|
|
||||||
and [App Manifests](https://github.com/ScoopInstaller/Scoop/wiki/App-Manifests)
|
For example, search all avialable memtest packages:
|
||||||
wiki page.
|
|
||||||
|
scoop search xxx
|
||||||
|
|
||||||
|
You've completed all the necessary steps, just enjoy it!
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
param(
|
param(
|
||||||
# overwrite upstream param
|
# overwrite upstream param
|
||||||
[String]$upstream = "<username>/<bucketname>:main"
|
[String]$upstream = "dumtruck/scoop-bucket:main"
|
||||||
)
|
)
|
||||||
|
|
||||||
if (!$env:SCOOP_HOME) { $env:SCOOP_HOME = Convert-Path (scoop prefix scoop) }
|
if (!$env:SCOOP_HOME) { $env:SCOOP_HOME = Convert-Path (scoop prefix scoop) }
|
||||||
|
26
bucket/JHenTai.json
Normal file
26
bucket/JHenTai.json
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"version": "8.0.6+274",
|
||||||
|
"description": "A cross-platform manga app made for e-hentai & exhentai by Flutter.",
|
||||||
|
"homepage": "https://github.com/jiangtian616/JHenTai",
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"url": "https://github.com/jiangtian616/JHenTai/releases/download/v8.0.6+274/JHenTai_8.0.6+274_Windows.zip",
|
||||||
|
"hash": "c55ba6e2b7506dc10d19c57c8aa457ec5f4ff9fa8613fac2e5382de0dd1ea1ab",
|
||||||
|
"bin": "jhentai.exe",
|
||||||
|
"pre_install": [
|
||||||
|
"Move-Item -Path \"$dir\\JHenTai_*\\*\" -Destination \"$dir\"",
|
||||||
|
"Remove-Item \"$dir\\JHenTai_*\" -Force -Recurse"
|
||||||
|
],
|
||||||
|
"shortcuts": [
|
||||||
|
[
|
||||||
|
"jhentai.exe",
|
||||||
|
"JHenTai"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"checkver": {
|
||||||
|
"url": "https://github.com/jiangtian616/JHenTai/releases/latest",
|
||||||
|
"regex": "v(\\d+\\.\\d+\\.\\d+\\+\\d+)"
|
||||||
|
},
|
||||||
|
"autoupdate": {
|
||||||
|
"url": "https://github.com/jiangtian616/JHenTai/releases/download/v$version/JHenTai_$version_Windows.zip"
|
||||||
|
}
|
||||||
|
}
|
27
bucket/Watt-Toolkit.json
Normal file
27
bucket/Watt-Toolkit.json
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"version": "3.0.0-rc.13",
|
||||||
|
"description": "Watt Toolkit is an open-source, cross-platform multifunctional toolbox for Steam.",
|
||||||
|
"homepage": "https://github.com/BeyondDimension/SteamTools/",
|
||||||
|
"license": "GPL-3.0-only",
|
||||||
|
"url": "https://github.com/BeyondDimension/SteamTools/releases/download/3.0.0-rc.13/Steam++_v3.0.0-rc.13_win_x64.7z",
|
||||||
|
"hash": "7430e1e7fea1403ff23d5e0dc55bff75b5da8387dae2481f5e5c18bf7469f002",
|
||||||
|
"bin": "Steam++.exe",
|
||||||
|
"shortcuts": [
|
||||||
|
[
|
||||||
|
"Steam++.exe",
|
||||||
|
"Steam++"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"persist": [
|
||||||
|
"AppData",
|
||||||
|
"Cache",
|
||||||
|
"Logs"
|
||||||
|
],
|
||||||
|
"checkver": {
|
||||||
|
"url": "https://api.github.com/repos/BeyondDimension/SteamTools/releases",
|
||||||
|
"regex": "/releases/tag/([\\d.]+(-alpha|-beta|-rc)?(\\.\\d+)?)"
|
||||||
|
},
|
||||||
|
"autoupdate": {
|
||||||
|
"url": "https://github.com/BeyondDimension/SteamTools/releases/download/$version/Steam++_v$version_win_x64.7z"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user