From fcc8d371260f7c5b3bec6bc111d31cf6792a91a7 Mon Sep 17 00:00:00 2001 From: Jenway Date: Tue, 17 Oct 2023 17:12:07 +0800 Subject: [PATCH] [add bucket && READEME] enigma-virtual-box && 163music --- .gitignore | 1 + .vscode/extensions.json | 6 --- .vscode/settings.json | 26 ------------ README.md | 72 +++++++++++++++++----------------- README.old.md | 42 ++++++++++++++++++++ bucket/enigma-virtual-box.json | 23 +++++++++++ bucket/neteasemusic.json | 41 +++++++++++++++++++ 7 files changed, 142 insertions(+), 69 deletions(-) delete mode 100644 .vscode/extensions.json delete mode 100644 .vscode/settings.json create mode 100644 README.old.md create mode 100644 bucket/enigma-virtual-box.json create mode 100644 bucket/neteasemusic.json diff --git a/.gitignore b/.gitignore index c221b4a..b60e65b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ ._* page.html checkver-*.html +.vscode diff --git a/.vscode/extensions.json b/.vscode/extensions.json deleted file mode 100644 index a9056e4..0000000 --- a/.vscode/extensions.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "recommendations": [ - "EditorConfig.EditorConfig", - "ms-vscode.PowerShell" - ] -} diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 93f6279..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,26 +0,0 @@ -// Configure PSScriptAnalyzer settings -{ - "[powershell]": { - "editor.formatOnSave": true - }, - "powershell.scriptAnalysis.settingsPath": "PSScriptAnalyzerSettings.psd1", - "powershell.codeFormatting.preset": "OTBS", - "powershell.codeFormatting.alignPropertyValuePairs": true, - "powershell.codeFormatting.ignoreOneLineBlock": true, - "json.schemas": [ - { - "url": "https://raw.githubusercontent.com/ScoopInstaller/Scoop/master/schema.json", - "fileMatch": [ - "bucket/**/*.json" - ] - } - ], - "files.exclude": { - "**/.git": true, - "**/.svn": true, - "**/.hg": true, - "**/CVS": true, - "**/.DS_Store": true, - "**/tmp": true - } -} diff --git a/README.md b/README.md index a53d3d7..625c455 100644 --- a/README.md +++ b/README.md @@ -1,42 +1,40 @@ -# Scoop Bucket Template +# Scoop Bucket By Jenway + +🦆Yet another scoop community bucket , mainly for personal use. - - -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: - -```pwsh -scoop bucket add https://github.com// -scoop install / +[![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 `. 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). diff --git a/README.old.md b/README.old.md new file mode 100644 index 0000000..a53d3d7 --- /dev/null +++ b/README.old.md @@ -0,0 +1,42 @@ +# Scoop Bucket Template + + + + +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: + +```pwsh +scoop bucket add https://github.com// +scoop 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. diff --git a/bucket/enigma-virtual-box.json b/bucket/enigma-virtual-box.json new file mode 100644 index 0000000..06fd817 --- /dev/null +++ b/bucket/enigma-virtual-box.json @@ -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" + } +} diff --git a/bucket/neteasemusic.json b/bucket/neteasemusic.json new file mode 100644 index 0000000..a4249bb --- /dev/null +++ b/bucket/neteasemusic.json @@ -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": "(?[\\d.]+(?:_[\\d.]+)?).exe" + }, + "autoupdate": { + "url": "https://d1.music.126.net/dmusic/NeteaseCloudMusic_Music_official_$version.exe#/dl.7z" + } +}