-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New apps #631
Merged
Merged
New apps #631
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
36ab2b9
New apps: eduVPN and Clarivate Endnote
jms-du-se a128a1a
Merge pull request #606 from jms-du-se/main
aaronparker 9360f81
New App - Npcap
jms-du-se e4a091f
Silent install is not supported in the free version. Removed the /S a…
jms-du-se 78396ca
New App: Jabra Direct
jms-du-se 4664458
Updated Source URL to the international (en-US) site.
jms-du-se 9f9c565
Add Microsoft WSL
g3rhard e90b76a
Merge pull request #611 from g3rhard/WSL
aaronparker 95a0de1
Merge pull request #610 from jms-du-se/New-App-Jabra-Direct
aaronparker e60fb48
Merge pull request #609 from jms-du-se/New-App-Npcap
aaronparker 29d5675
Add Podman Desktop
g3rhard 2dd61db
Add Podman
g3rhard 7c3e85f
New Application: DB Browser for SQLite
jms-du-se a4f884e
Added the portable installer.
jms-du-se 1d72315
Update MicrosoftPowerShell.json
aaronparker 28f5349
Merge pull request #617 from jms-du-se/DB-Browser-for-SQLite
aaronparker 39997c1
Merge pull request #616 from g3rhard/podman
aaronparker 26beec9
Merge pull request #615 from g3rhard/podman_desktop
aaronparker 4cf5a4e
[New App]: Adobe Digital Editons
jms-du-se 0066d88
Removed Content type, since it isn't used.
jms-du-se 6b06c01
Merge pull request #627 from jms-du-se/Adobe-Digital-Editions
aaronparker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,44 @@ | ||
Function Get-AdobeDigitalEditions { | ||
<# | ||
.SYNOPSIS | ||
Gets the version and download URLs for Adobe Digital Editions. | ||
|
||
.NOTES | ||
Author: Jasper Metselaar | ||
E-mail: [email protected] | ||
#> | ||
[OutputType([System.Management.Automation.PSObject])] | ||
[CmdletBinding(SupportsShouldProcess = $False)] | ||
param ( | ||
[Parameter(Mandatory = $False, Position = 0)] | ||
[ValidateNotNull()] | ||
[System.Management.Automation.PSObject] | ||
$res = (Get-FunctionResource -AppName ("$($MyInvocation.MyCommand)".Split("-"))[1]) | ||
) | ||
|
||
$params = @{ | ||
Uri = $res.Get.Update.Uri | ||
} | ||
$updateFeed = Invoke-EvergreenRestMethod @params | ||
|
||
# Removing first 3 bytes from array by selecting the full length and stripping first 3 | ||
Write-Verbose "Remove-ByteOrderMark (UTF8 BOM)" | ||
$OutputBytes = $updateFeed[3..$updateFeed.Length] | ||
$updateFeed = [System.Text.Encoding]::UTF8.GetString($OutputBytes) | ConvertFrom-Json | ||
|
||
if ($Null -ne $updateFeed) { | ||
|
||
# Output the object to the pipeline | ||
foreach ($item in $updateFeed) { | ||
$PSObject = [PSCustomObject] @{ | ||
Version = $item.version | ||
URI = $item.SecuredDownloadPath | ||
} | ||
Write-Output -InputObject $PSObject | ||
} | ||
|
||
} | ||
else { | ||
Write-Error -Message "$($MyInvocation.MyCommand): unable to retrieve content from $($res.Get.Update.Uri)." | ||
} | ||
} |
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,61 @@ | ||
function Get-ClarivateEndNote { | ||
<# | ||
.SYNOPSIS | ||
Get the current version and download URIs for the supported releases of Endnote. | ||
|
||
.NOTES | ||
Author: Jasper Metselaar | ||
E-mail: [email protected] | ||
#> | ||
[OutputType([System.Management.Automation.PSObject])] | ||
[CmdletBinding(SupportsShouldProcess = $false)] | ||
param ( | ||
[Parameter(Mandatory = $false, Position = 0)] | ||
[ValidateNotNull()] | ||
[System.Management.Automation.PSObject] | ||
$res = (Get-FunctionResource -AppName ("$($MyInvocation.MyCommand)".Split("-"))[1]) | ||
) | ||
|
||
foreach ($Release in $res.Get.Update.Releases) { | ||
Write-Verbose -Message "$($MyInvocation.MyCommand): Release: $Release" | ||
Write-Verbose -Message "$($MyInvocation.MyCommand): Endnote Update URL: $($res.Get.Update.Uri.$Release)" | ||
Write-Verbose -Message "$($MyInvocation.MyCommand): Download URL: $($res.Get.Download.Uri.$Release)" | ||
|
||
# Query the EndNote update API | ||
$UpdateFeed = Invoke-EvergreenRestMethod -Uri $res.Get.Update.Uri.($Release) | ||
Check notice Code scanning / PSScriptAnalyzer Line has trailing whitespace Note
Line has trailing whitespace
|
||
if ($null -ne $UpdateFeed) { | ||
|
||
# Sort the updates to find the latest | ||
$Update = $UpdateFeed.updates.build | ` | ||
Sort-Object -Property @{ Expression = { [System.Version]$_.version }; Descending = $true } -ErrorAction "SilentlyContinue" | ` | ||
Select-Object -First 1 | ||
|
||
# Construct the output for the .exe installer; Return the custom object to the pipeline | ||
$PSObject = [PSCustomObject] @{ | ||
Version = $Update.UpdateTo | ||
Release = $Release | ||
Type = Get-FileType -File $res.Get.Download.Uri.Exe.($Release) | ||
URI = $res.Get.Download.Uri.Exe.($Release) | ||
} | ||
Write-Output -InputObject $PSObject | ||
|
||
# Construct the output for the .msi installer; Return the custom object to the pipeline | ||
$PSObject = [PSCustomObject] @{ | ||
Version = $Update.UpdateTo | ||
Release = $Release | ||
Type = Get-FileType -File $res.Get.Download.Uri.Msi.($Release) | ||
URI = $res.Get.Download.Uri.Msi.($Release) | ||
} | ||
Write-Output -InputObject $PSObject | ||
|
||
# Construct the output for the MSP patch; Return the custom object to the pipeline | ||
$PSObject = [PSCustomObject] @{ | ||
Version = $Update.updateTo | ||
Release = $Release | ||
Type = Get-FileType -File $Update.url | ||
URI = $Update.url | ||
} | ||
Write-Output -InputObject $PSObject | ||
} | ||
} | ||
} |
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,28 @@ | ||
Function Get-DBBrowserforSQLite { | ||
<# | ||
.SYNOPSIS | ||
Returns the available DB Browser for SQLite versions. | ||
|
||
.NOTES | ||
Author: Jasper Metselaar | ||
E-mail: [email protected] | ||
#> | ||
[OutputType([System.Management.Automation.PSObject])] | ||
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseSingularNouns", "", Justification="Product name is a plural")] | ||
[CmdletBinding(SupportsShouldProcess = $False)] | ||
param ( | ||
[Parameter(Mandatory = $False, Position = 0)] | ||
[ValidateNotNull()] | ||
[System.Management.Automation.PSObject] | ||
$res = (Get-FunctionResource -AppName ("$($MyInvocation.MyCommand)".Split("-"))[1]) | ||
) | ||
|
||
# Pass the repo releases API URL and return a formatted object | ||
$params = @{ | ||
Uri = $res.Get.Uri | ||
MatchVersion = $res.Get.MatchVersion | ||
Filter = $res.Get.MatchFileTypes | ||
} | ||
$object = Get-GitHubRepoRelease @params | ||
Write-Output -InputObject $object | ||
} |
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,28 @@ | ||
Function Get-eduVPN { | ||
<# | ||
.SYNOPSIS | ||
Returns the latest EduVPN version number and download. | ||
|
||
.NOTES | ||
Author: Jasper Metselaar | ||
E-mail: [email protected] | ||
#> | ||
[OutputType([System.Management.Automation.PSObject])] | ||
[CmdletBinding(SupportsShouldProcess = $False)] | ||
param ( | ||
[Parameter(Mandatory = $False, Position = 0)] | ||
[ValidateNotNull()] | ||
[System.Management.Automation.PSObject] | ||
$res = (Get-FunctionResource -AppName ("$($MyInvocation.MyCommand)".Split("-"))[1]) | ||
) | ||
|
||
# Pass the repo releases API URL and return a formatted object | ||
$params = @{ | ||
Uri = $res.Get.Uri | ||
MatchVersion = $res.Get.MatchVersion | ||
Filter = $res.Get.MatchFileTypes | ||
} | ||
$object = Get-GitHubRepoRelease @params | ||
|
||
Write-Output -InputObject $object | ||
} |
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,33 @@ | ||
Function Get-JabraDirect { | ||
<# | ||
.SYNOPSIS | ||
Returns the latest Jabra Direct version. | ||
|
||
.NOTES | ||
Author: Jasper Metselaar | ||
E-mail: [email protected] | ||
#> | ||
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseSingularNouns", "", Justification = "Product name is a plural")] | ||
[OutputType([System.Management.Automation.PSObject])] | ||
[CmdletBinding(SupportsShouldProcess = $False)] | ||
param ( | ||
[Parameter(Mandatory = $False, Position = 0)] | ||
[ValidateNotNull()] | ||
[System.Management.Automation.PSObject] | ||
$res = (Get-FunctionResource -AppName ("$($MyInvocation.MyCommand)".Split("-"))[1]) | ||
) | ||
|
||
$Content = Invoke-EvergreenRestMethod -Uri $res.Get.Update.Uri | ||
If ($Null -ne $Content) { | ||
|
||
$PSObject = [PSCustomObject] @{ | ||
Version = $Content.WindowsVersion | ||
Architecture = "x64" | ||
ReleaseNotes = $Content.WindowsReleaseNotes | ||
Type = Get-FileType -File $Content.WindowsDownload | ||
Sha256 = $Content.WindowsSHA256 | ||
URI = $Content.WindowsDownload | ||
} | ||
Write-Output -InputObject $PSObject | ||
} | ||
} |
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,26 @@ | ||
Function Get-MicrosoftWSL { | ||
<# | ||
.SYNOPSIS | ||
Returns the available Microsoft WSL versions. | ||
|
||
.NOTES | ||
Author: Kirill Trofimov | ||
#> | ||
[OutputType([System.Management.Automation.PSObject])] | ||
[CmdletBinding(SupportsShouldProcess = $False)] | ||
param ( | ||
[Parameter(Mandatory = $False, Position = 0)] | ||
[ValidateNotNull()] | ||
[System.Management.Automation.PSObject] | ||
$res = (Get-FunctionResource -AppName ("$($MyInvocation.MyCommand)".Split("-"))[1]) | ||
) | ||
|
||
# Pass the repo releases API URL and return a formatted object | ||
$params = @{ | ||
Uri = $res.Get.Uri | ||
MatchVersion = $res.Get.MatchVersion | ||
Filter = $res.Get.MatchFileTypes | ||
} | ||
$object = Get-GitHubRepoRelease @params | ||
Write-Output -InputObject $object | ||
} |
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,41 @@ | ||
Function Get-Npcap { | ||
<# | ||
.SYNOPSIS | ||
Returns the latest Npcap version number and download. | ||
|
||
.NOTES | ||
Author: Jasper Metselaar | ||
E-mail: [email protected] | ||
#> | ||
[OutputType([System.Management.Automation.PSObject])] | ||
[CmdletBinding(SupportsShouldProcess = $False)] | ||
param ( | ||
[Parameter(Mandatory = $False, Position = 0)] | ||
[ValidateNotNull()] | ||
[System.Management.Automation.PSObject] | ||
$res = (Get-FunctionResource -AppName ("$($MyInvocation.MyCommand)".Split("-"))[1]) | ||
) | ||
|
||
|
||
# Get latest version and download latest release via GitHub API | ||
$params = @{ | ||
Uri = $res.Get.Update.Uri | ||
ContentType = $res.Get.Update.ContentType | ||
ReturnObject = "Content" | ||
} | ||
|
||
# Get only latest version tag from GitHub API | ||
$Content = ((Invoke-EvergreenWebRequest @params | ConvertFrom-Json).name -replace "v",""| ForEach-Object { New-Object -TypeName "System.Version" ($_) } | Sort-Object -Descending | Select-Object -First 1 | ForEach-Object {("{0}.{1}" -f $_.Major,$_.Minor)}) | ||
|
||
if ($null -ne $Content) { | ||
$Content | ForEach-Object { | ||
$PSObject = [PSCustomObject] @{ | ||
Version = $_ | ||
Type = "exe" | ||
URI = $res.Get.Download.Uri -replace $res.Get.Download.ReplaceText, $_ | ||
} | ||
Write-Output -InputObject $PSObject | ||
} | ||
} | ||
} | ||
|
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,27 @@ | ||
Function Get-Podman { | ||
<# | ||
.SYNOPSIS | ||
Returns the available Podman versions. | ||
|
||
.NOTES | ||
Author: Kirill Trofimov | ||
#> | ||
[OutputType([System.Management.Automation.PSObject])] | ||
[CmdletBinding(SupportsShouldProcess = $False)] | ||
param ( | ||
[Parameter(Mandatory = $False, Position = 0)] | ||
[ValidateNotNull()] | ||
[System.Management.Automation.PSObject] | ||
$res = (Get-FunctionResource -AppName ("$($MyInvocation.MyCommand)".Split("-"))[1]) | ||
) | ||
|
||
# Pass the repo releases API URL and return a formatted object | ||
$params = @{ | ||
Uri = $res.Get.Uri | ||
MatchVersion = $res.Get.MatchVersion | ||
Filter = $res.Get.MatchFileTypes | ||
} | ||
$object = Get-GitHubRepoRelease @params | ||
|
||
Write-Output -InputObject $object | ||
} |
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,34 @@ | ||
Function Get-PodmanDesktop { | ||
<# | ||
.SYNOPSIS | ||
Returns the available Podman Desktop versions. | ||
|
||
.NOTES | ||
Author: Kirill Trofimov | ||
#> | ||
[OutputType([System.Management.Automation.PSObject])] | ||
[CmdletBinding(SupportsShouldProcess = $False)] | ||
param ( | ||
[Parameter(Mandatory = $False, Position = 0)] | ||
[ValidateNotNull()] | ||
[System.Management.Automation.PSObject] | ||
$res = (Get-FunctionResource -AppName ("$($MyInvocation.MyCommand)".Split("-"))[1]) | ||
) | ||
|
||
# Pass the repo releases API URL and return a formatted object | ||
$params = @{ | ||
Uri = $res.Get.Uri | ||
MatchVersion = $res.Get.MatchVersion | ||
Filter = $res.Get.MatchFileTypes | ||
} | ||
$object = Get-GitHubRepoRelease @params | ||
|
||
# For windows there are two different .exe versions. | ||
foreach ($o in $object) { | ||
if (-not($o.URI.contains("setup")) -and $o.URI.EndsWith(".exe")) { | ||
$o.InstallerType = "Portable" | ||
} | ||
} | ||
|
||
Write-Output -InputObject $object | ||
} |
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,21 @@ | ||
{ | ||
"Name": "Adobe Digital Editions", | ||
"Source": "https://www.adobe.com/solutions/ebook/digital-editions.html", | ||
"Get": { | ||
"Update": { | ||
"Uri": "https://adedownload.adobe.com/pub/adobe/digitaleditions/sha2/adeupdaterconfig.cfg" | ||
} | ||
}, | ||
"Install": { | ||
"Preinstall": "", | ||
"Setup": "ADE_*_Installer.exe", | ||
"Physical": { | ||
"Arguments": "/S", | ||
"PostInstall": [] | ||
}, | ||
"Virtual": { | ||
"Arguments": "", | ||
"PostInstall": [] | ||
} | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / PSScriptAnalyzer
The cmdlet 'Get-AdobeDigitalEditions' uses a plural noun. A singular noun should be used instead. Warning