diff --git a/bucket/apollo-np.json b/bucket/apollo-np.json new file mode 100644 index 000000000..2bd31baed --- /dev/null +++ b/bucket/apollo-np.json @@ -0,0 +1,55 @@ +{ + "version": "v0.3.1-hotfox.1", + "description": "A Gamestream host for Artemis / Moonlight with automatic setup for virtual desktops.", + "homepage": "https://github.com/ClassicOldSong/Apollo", + "license": "GPL-3.0-only", + "notes": [ + "It is highly recommend to remove any other virtual display solutions from your system and Apollo / Sunshine config,", + "to reduce confusions and compatibility issues." + ], + "architecture": { + "64bit": { + "url": "https://github.com/ClassicOldSong/Apollo/releases/download/v0.3.1-hotfox.1/Apollo.exe#/dl.7z", + "hash": "8FD3E74AFD6FBC5EAC079EE0D84A46ECFC1E9334F2EBAD0CEC5BEDE6E77732FB" + } + }, + "pre_install": [ + "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }", + "Remove-Item -Path \"$dir\\`$PLUGINSDIR\" -Force -Recurse" + ], + "post_install": [ + "Start-Process \"$dir\\drivers\\sudovda\\install.bat\" -WindowStyle Hidden -Wait", + "Start-Process \"$dir\\scripts\\migrate-config.bat\" -WindowStyle Hidden -Wait", + "Start-Process \"$dir\\scripts\\add-firewall-rule.bat\" -WindowStyle Hidden -Wait", + "Start-Process \"$dir\\scripts\\install-gamepad.bat\" -WindowStyle Hidden -Wait", + "Start-Process \"$dir\\scripts\\install-service.bat\" -WindowStyle Hidden -Wait", + "Start-Process \"$dir\\scripts\\autostart-service.bat\" -WindowStyle Hidden -Wait" + ], + "bin": [ + "tools\\dxgi-info.exe", + "tools\\audio-info.exe" + ], + "shortcuts": [ + [ + "sunshine.exe", + "Apollo" + ] + ], + "persist": "config", + "pre_uninstall":[ + "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }", + "Start-Process \"$dir\\scripts\\delete-firewall-rule.bat\" -WindowStyle Hidden -Wait", + "Start-Process \"$dir\\scripts\\uninstall-service.bat\" -WindowStyle Hidden -Wait", + "Start-Process \"$dir\\sunshine.exe\" -ArgumentList \"--restore-nvprefs-undo\" -WindowStyle Hidden -Wait", + "Start-Process \"$dir\\scripts\\uninstall-gamepad.bat\" -WindowStyle Hidden -Wait", + "Start-Process \"$dir\\drivers\\sudovda\\uninstall.bat\" -WindowStyle Hidden" + ], + "checkver": "github", + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/ClassicOldSong/Apollo/releases/download/$version/Apollo.exe#/dl.7z" + } + } + } +} \ No newline at end of file