generated from ScoopInstaller/BucketTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
021b74b
commit cccceab
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/norihiro/obs-shutdown-plugin", | ||
"description": "Plugin for shutting down OBS Studio through websocket API", | ||
"license": "GPL-2.0", | ||
"notes": "If you don't have any obs-studio version installed in your computer, please install one of the following below. Then uninstall this app and install it again.", | ||
"suggest": { | ||
"OBS": [ | ||
"extras/obs-studio", | ||
"extras/obs-studio-small", | ||
"versions/obs-studio-pre" | ||
] | ||
}, | ||
"architecture": { | ||
"64bit": { | ||
"url": "https://github.com/norihiro/obs-shutdown-plugin/releases/download/0.1.2/obs-shutdown-plugin-0.1.2-obs28-Windows.zip", | ||
"hash": "f00981660a64e59086efb75815ad774734a3c496dff4a28a2512334d6565ec77" | ||
} | ||
}, | ||
"pre_install": [ | ||
"'obs-studio', 'obs-studio-small', 'obs-studio-pre' | ForEach-Object {", | ||
" $obs = \"$(appdir $_ $global)\"", | ||
" if (Test-Path $obs) {", | ||
" info \"Install for $_\"", | ||
" Copy-Item \"$dir\\data\" \"$obs\\current\" -Recurse -ErrorAction SilentlyContinue", | ||
" Copy-Item \"$dir\\obs-plugins\" \"$obs\\current\" -Recurse -ErrorAction SilentlyContinue", | ||
" }", | ||
"}" | ||
], | ||
"pre_uninstall": [ | ||
"'obs-studio', 'obs-studio-small', 'obs-studio-pre' | ForEach-Object {", | ||
" $obs = \"$(appdir $_ $global)\"", | ||
" if (Test-Path $obs) {", | ||
" info \"Uninstall for $_\"", | ||
" Remove-Item \"$obs\\current\\data\\obs-plugins\\obs-shutdown-plugin\" -Force -Recurse -ErrorAction SilentlyContinue", | ||
" Remove-Item \"$obs\\current\\obs-plugins\\64bit\\obs-shutdown-plugin.*\" -Force -ErrorAction SilentlyContinue", | ||
" }", | ||
"}" | ||
], | ||
"checkver": "github", | ||
"autoupdate": { | ||
"architecture": { | ||
"64bit": { | ||
"url": "https://github.com/norihiro/obs-shutdown-plugin/releases/download/$version/obs-shutdown-plugin-$version-obs28-Windows.zip" | ||
} | ||
} | ||
} | ||
} |