Skip to content

Commit

Permalink
[add bucket && READEME] enigma-virtual-box && 163music
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenway committed Oct 17, 2023
1 parent c512666 commit fcc8d37
Show file tree
Hide file tree
Showing 7 changed files with 142 additions and 69 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
._*
page.html
checkver-*.html
.vscode
6 changes: 0 additions & 6 deletions .vscode/extensions.json

This file was deleted.

26 changes: 0 additions & 26 deletions .vscode/settings.json

This file was deleted.

72 changes: 35 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,40 @@
# Scoop Bucket Template
# Scoop Bucket By Jenway

🦆Yet another scoop community bucket , mainly for personal use.

<!-- 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) -->

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:

```pwsh
scoop bucket add <bucketname> https://github.com/<username>/<bucketname>
scoop install <bucketname>/<manifestname>
[![Tests](https://github.com/Jenway/scoop/actions/workflows/ci.yml/badge.svg)](https://github.com/Jenway/scoop/actions/workflows/ci.yml) [![Excavator](https://github.com/Jenway/scoop/actions/workflows/excavator.yml/badge.svg)](https://github.com/Jenway/scoop/actions/workflows/excavator.yml)

Template from [Scoop](https://scoop.sh), the Windows command-line installer.

## Usage

To add this bucket to scoop, run the following command:

``` PowerShell
scoop bucket add jenway_scoop https://github.com/Jenway/scoop.git
```

## How do I contribute new manifests?
To install apps from this bucket, run `scoop install <app>`. To update all apps from this bucket, run `scoop update jenway_scoop`.

## Apps

### Dev Tools

| App Name | Description | Install Command |
| -------- | ----------- | --------------- |
|Clash For Windows |You Know What It Is.| `scoop install jenway_scoop/clash-for-windows` |
|Clash for Windows_Chinese |You Know What It Is.| `scoop install jenway_scoop/clash-for-windows-chinese` |
|enigma-virtual-box|Application virtualization system for Windows.| `scoop install jenway_scoop/enigma-virtual-box` |

### Daily Use

| App Name | Description | Install Command |
| -------- | ----------- | --------------- |
|阿里云盘 |See its [homepage](https://www.aliyundrive.com/).| `scoop install jenway_scoop/aDrive` |
|百度网盘 |See its [homepage](https://pan.baidu.com/).| `scoop install jenway_scoop/baidunetdisk` |
|网易云音乐|See its [homepage](https://music.163.com/).| `scoop install jenway_scoop/neteasemusic` |

## License

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.
This project is licensed under [The Unlicense](LICENSE).
42 changes: 42 additions & 0 deletions README.old.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Scoop Bucket Template

<!-- 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) -->

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:

```pwsh
scoop bucket add <bucketname> https://github.com/<username>/<bucketname>
scoop install <bucketname>/<manifestname>
```

## 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.
23 changes: 23 additions & 0 deletions bucket/enigma-virtual-box.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"version": "10.40",
"description": "Application virtualization system for Windows.",
"homepage": "https://enigmaprotector.com/en/aboutvb.html",
"license": "Freeware",
"url": "https://enigmaprotector.com/assets/files/enigmavb.exe#/install.exe",
"hash": "0109a179c96c3864ef5977602a31a79770843cda274259ba9bcf870033744a89",
"innosetup": true,
"bin": "enigmavbconsole.exe",
"shortcuts": [
[
"enigmavb.exe",
"Enigma Virtual Box"
]
],
"checkver": {
"url": "https://enigmaprotector.com/en/downloads/changelogenigmavb.html",
"regex": "([\\d.]+)\\s*Build\\s*\\d+"
},
"autoupdate": {
"url": "https://enigmaprotector.com/assets/files/enigmavb.exe#/install.exe"
}
}
41 changes: 41 additions & 0 deletions bucket/neteasemusic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"homepage": "https://music.163.com/",
"description": "The official NetEase Cloud Music client.",
"version": "2.10.12.201849_32",
"license": {
"identifier": "EULA",
"url": "https://music.163.com/html/web2/service.html"
},
"url": "https://d1.music.126.net/dmusic/NeteaseCloudMusic_Music_official_2.10.12.201849_32.exe#/dl.7z",
"hash": "7e808f47b501a6822d0cbfac1f378719c2a70682a579af9637e4a72010d4a5dd",
"installer": {
"script": [
"Get-ChildItem \"$dir\\redist_packages\" | Move-Item -Destination \"$dir\" -Force",
"Import-Module $(Join-Path $(Find-BucketDirectory -Root -Name dorado) scripts/DoradoUtils.psm1)",
"Mount-ExternalRuntimeData -Source \"$persist_dir\\appdata\" -Target \"$env:LOCALAPPDATA\\Netease\\CloudMusic\"",
"Remove-Module -Name DoradoUtils"
]
},
"post_install": "Remove-Item \"$dir\\`$PLUGINSDIR\",\"$dir\\redist_packages\" -Force -Recurse",
"uninstaller": {
"script": [
"Import-Module $(Join-Path $(Find-BucketDirectory -Root -Name dorado) scripts/DoradoUtils.psm1)",
"Dismount-ExternalRuntimeData -Target \"$env:LOCALAPPDATA\\Netease\\CloudMusic\"",
"Remove-Module -Name DoradoUtils"
]
},
"bin": "cloudmusic.exe",
"shortcuts": [
[
"cloudmusic.exe",
"网易云音乐"
]
],
"checkver": {
"script": "return (iwr -useb 'https://music.163.com/api/pc/package/download/latest' -Method Head).Headers['x-nos-object-name']",
"regex": "(?<version>[\\d.]+(?:_[\\d.]+)?).exe"
},
"autoupdate": {
"url": "https://d1.music.126.net/dmusic/NeteaseCloudMusic_Music_official_$version.exe#/dl.7z"
}
}

0 comments on commit fcc8d37

Please sign in to comment.