From a991902a624df180916a96c6792253b5fa5e4289 Mon Sep 17 00:00:00 2001 From: Kris Schneider <101912712+Zliced13@users.noreply.github.com> Date: Thu, 13 Apr 2023 14:37:00 -0600 Subject: [PATCH 1/3] onlyoffice-desktopeditors-np: Add version 7.3.3 --- bucket/onlyoffice-desktopeditors-np.json | 43 ++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 bucket/onlyoffice-desktopeditors-np.json diff --git a/bucket/onlyoffice-desktopeditors-np.json b/bucket/onlyoffice-desktopeditors-np.json new file mode 100644 index 000000000..0009e9a6b --- /dev/null +++ b/bucket/onlyoffice-desktopeditors-np.json @@ -0,0 +1,43 @@ +{ + "version": "7.3.3", + "description": "Office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit documents.", + "homepage": "https://www.onlyoffice.com/apps.aspx", + "license": "AGPL-3.0-only", + "suggest": { + "Microsoft Visual C++ Redistibutable 2015": "extras/vcredist2022" + }, + "architecture": { + "64bit": { + "url": "https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v7.3.3/DesktopEditors_x64.exe#/setup.exe", + "hash": "141bcfd86fd7802813aec3ba7a76296a5b40ff5aa8c4af99005a956a4f725d03" + }, + "32bit": { + "url": "https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v7.3.3/DesktopEditors_x86.exe#/setup.exe", + "hash": "20c71cf8099e89f0f013b9c062fbb7bcd94a9a95ee9761acbd7dafb729896d5c" + } + }, + "post_install": [ + "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }", + "Start-Process \"$dir\\setup.exe\" -Wait -Verb 'RunAs' -Args @('/VERYSILENT', \"/DIR=$dir\\ONLYOFFICE\", '/ALLUSERS', '/SUPPRESSMSGBOXES')", + "Remove-Item \"$dir\\setup.exe\"" + ], + "pre_uninstall": [ + "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }", + "Start-Process \"$dir\\ONLYOFFICE\\unins000.exe\" -Wait -Verb 'RunAs' -Args @('/VERYSILENT', '/FORCECLOSEAPPLICATIONS', '/SUPPRESSMSGBOXES')" + ], + "checkver": { + "github": "https://api.github.com/repos/ONLYOFFICE/DesktopEditors", + "jsonpath": "$.assets..browser_download_url", + "regex": "v([\\d.]+)/DesktopEditors_(?:x64|x86)\\.exe" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v$version/DesktopEditors_x64.exe" + }, + "32bit": { + "url": "https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v$version/DesktopEditors_x86.exe" + } + } + } +} From c61f7d9891ff46fa154d0ab70708becdf54aba06 Mon Sep 17 00:00:00 2001 From: Kris Schneider <101912712+Zliced13@users.noreply.github.com> Date: Thu, 13 Apr 2023 14:37:27 -0600 Subject: [PATCH 2/3] Delete onlyoffice-desktopeditors-np.json --- bucket/onlyoffice-desktopeditors-np.json | 43 ------------------------ 1 file changed, 43 deletions(-) delete mode 100644 bucket/onlyoffice-desktopeditors-np.json diff --git a/bucket/onlyoffice-desktopeditors-np.json b/bucket/onlyoffice-desktopeditors-np.json deleted file mode 100644 index 0009e9a6b..000000000 --- a/bucket/onlyoffice-desktopeditors-np.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "version": "7.3.3", - "description": "Office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit documents.", - "homepage": "https://www.onlyoffice.com/apps.aspx", - "license": "AGPL-3.0-only", - "suggest": { - "Microsoft Visual C++ Redistibutable 2015": "extras/vcredist2022" - }, - "architecture": { - "64bit": { - "url": "https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v7.3.3/DesktopEditors_x64.exe#/setup.exe", - "hash": "141bcfd86fd7802813aec3ba7a76296a5b40ff5aa8c4af99005a956a4f725d03" - }, - "32bit": { - "url": "https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v7.3.3/DesktopEditors_x86.exe#/setup.exe", - "hash": "20c71cf8099e89f0f013b9c062fbb7bcd94a9a95ee9761acbd7dafb729896d5c" - } - }, - "post_install": [ - "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }", - "Start-Process \"$dir\\setup.exe\" -Wait -Verb 'RunAs' -Args @('/VERYSILENT', \"/DIR=$dir\\ONLYOFFICE\", '/ALLUSERS', '/SUPPRESSMSGBOXES')", - "Remove-Item \"$dir\\setup.exe\"" - ], - "pre_uninstall": [ - "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }", - "Start-Process \"$dir\\ONLYOFFICE\\unins000.exe\" -Wait -Verb 'RunAs' -Args @('/VERYSILENT', '/FORCECLOSEAPPLICATIONS', '/SUPPRESSMSGBOXES')" - ], - "checkver": { - "github": "https://api.github.com/repos/ONLYOFFICE/DesktopEditors", - "jsonpath": "$.assets..browser_download_url", - "regex": "v([\\d.]+)/DesktopEditors_(?:x64|x86)\\.exe" - }, - "autoupdate": { - "architecture": { - "64bit": { - "url": "https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v$version/DesktopEditors_x64.exe" - }, - "32bit": { - "url": "https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v$version/DesktopEditors_x86.exe" - } - } - } -} From c5782a8b0aaf857d9c83171a7cf5b097883e8e23 Mon Sep 17 00:00:00 2001 From: Kris <101912712+FlawlessCasual17@users.noreply.github.com> Date: Wed, 27 Mar 2024 20:35:04 -0600 Subject: [PATCH 3/3] special-k-np: Add version 23.9.10.5 --- bucket/special-k-np.json | 58 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 bucket/special-k-np.json diff --git a/bucket/special-k-np.json b/bucket/special-k-np.json new file mode 100644 index 000000000..d860eb297 --- /dev/null +++ b/bucket/special-k-np.json @@ -0,0 +1,58 @@ +{ + "version": "23.9.10.5", + "homepage": "https://www.special-k.info/", + "description": "Lovingly referred to as the Swiss Army Knife of PC gaming, Special K does a bit of everything.", + "license": "GPL-3.0", + "url": "https://sk-data.special-k.info/repository/SpecialK_23.9.10.5.exe", + "hash": "ef1ec047af4623ada6682e4fc289c960bc9422a826ef7a034294238ddfdee5f4", + "pre_install": [ + "$special_k_dir = \"$env:LOCALAPPDATA\\Programs\\Special K\"", + "if (Test-Path \"$persist_dir\\Profiles\") {", + " Copy-Item \"$persist_dir\\Profiles\" \"$special_k_dir\\Profiles\" -Recurse", + "}", + "if (Test-Path \"$persist_dir\\Global\") {", + " Copy-Item \"$persist_dir\\Global\" \"$special_k_dir\\Global\" -Recurse", + "}" + ], + "installer": { + "args": [ + "/VERYSILENT", + "/SP-", + "/NORESTART", + "/CURRENTUSER" + ] + }, + "env_add_path": ".", + "uninstaller": { + "script": [ + "$special_k_dir = \"$env:LOCALAPPDATA\\Programs\\Special K\"", + "if ($cmd -eq 'uninstall') {", + " if (!$purge) {", + " ensure \"$persist_dir\" | Out-Null", + " Write-Host 'Backing up Special K profiles and global config...' -F 'Yellow'", + " Copy-Item \"$special_k_dir\\Profiles\" \"$persist_dir\\Profiles\" -Recurse -Force", + " Copy-Item \"$special_k_dir\\Global\" \"$persist_dir\\Profiles\" -Recurse -Force", + " Write-Host 'Done! Special K profiles and global config were successfully backed up' -F 'Green'", + " Write-Output \"You can find a backup of your Special K profiles in '$persist_dir\\Profiles'\"", + " }", + " Start-Process \"$special_k_dir\\Servlet\\unins000.exe\" -Wait `", + " -Args @('/VERYSILENT', '/SP-', '/NORESTART', '/CURRENTUSER')", + "}" + ] + }, + "checkver": { + "script": [ + "$jsonContent = Invoke-RestMethod 'https://sk-data.special-k.info/repository.json'", + "$version = $jsonContent.Main.Versions.Where({$_.Branches -eq 'Website'}).Name[0]", + "Write-Output $version" + ], + "regex": "([\\d.]+)" + }, + "autoupdate": { + "url": "https://sk-data.special-k.info/repository/SpecialK_$version.exe", + "hash": { + "url": "https://sk-data.special-k.info/repository.json", + "jsonpath": "$.Main.Versions[?(@.Name == '$version')].SHA256" + } + } +}