Skip to content

Commit

Permalink
From chocolatey-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
tunisiano187 committed Jul 10, 2024
1 parent cb1eaaa commit d66f2f1
Show file tree
Hide file tree
Showing 27 changed files with 715 additions and 0 deletions.
14 changes: 14 additions & 0 deletions automatic/lastactivityview/ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[![](https://img.shields.io/chocolatey/v/lastactivityview?color=green&label=lastactivityview)](https://chocolatey.org/packages/lastactivityview) [![](https://img.shields.io/chocolatey/dt/lastactivityview)](https://chocolatey.org/packages/lastactivityview)

## Last Activity View
LastActivityView is a tool for Windows operating system that collects information from various sources
on a running system, and displays a log of actions made by the user and events occurred on this computer.

The activity displayed by LastActivityView includes: Running .exe file, Opening open/save dialog-box,
Opening file/folder from Explorer or other software, software installation, system shutdown/start,
application or system crash, network connection/disconnection and more...

### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)

Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
37 changes: 37 additions & 0 deletions automatic/lastactivityview/lastactivityview.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>lastactivityview</id>
<version>1.37</version>
<title>LastActivityView</title>
<authors>Nir Sofer</authors>
<owners>tunisiano</owners>
<licenseUrl>http://www.nirsoft.net/utils/computer_activity_view.html</licenseUrl>
<projectUrl>http://www.nirsoft.net/utils/computer_activity_view.html</projectUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@b663be900e88573c6561dfdb1ed884d7739ddbc4/icons/lastactivityview.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description><![CDATA[## Last Activity View
LastActivityView is a tool for Windows operating system that collects information from various sources
on a running system, and displays a log of actions made by the user and events occurred on this computer.
The activity displayed by LastActivityView includes: Running .exe file, Opening open/save dialog-box,
Opening file/folder from Explorer or other software, software installation, system shutdown/start,
application or system crash, network connection/disconnection and more...
### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)
Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
]]></description>
<summary>View the latest computer activity in Windows operating system</summary>
<releaseNotes>#### Package
* Automatically built and uploaded by [tunisiano](https://chocolatey.org/profiles/tunisiano)
* Package not up-to-date after a few days ? [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)</releaseNotes>
<copyright>© NirSoft</copyright>
<tags>activity viewer log</tags>
<packageSourceUrl>https://github.com/tunisiano187/Chocolatey-packages/tree/master/automatic/lastactivityview</packageSourceUrl>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
15 changes: 15 additions & 0 deletions automatic/lastactivityview/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
$packageName = $env:ChocolateyPackageName
$url = 'https://www.nirsoft.net/utils/lastactivityview.zip'
$checksum = '09976fd76ae40a608f424655cda82b2be77c426c88ea95af78378b47630397bf'
$checksumType = 'sha256'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$installFile = Join-Path $toolsDir "$($packageName).exe"

Install-ChocolateyZipPackage -PackageName "$packageName" `
-Url "$url" `
-UnzipLocation "$toolsDir" `
-Checksum "$checksum" `
-ChecksumType "$checksumType"

Set-Content -Path ("$installFile.gui") `
-Value $null
32 changes: 32 additions & 0 deletions automatic/lastactivityview/update.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
$ErrorActionPreference = 'Stop'
import-module au

$releases = 'https://www.nirsoft.net/utils/lastactivityview.zip'

function global:au_SearchReplace {
@{
'tools/chocolateyInstall.ps1' = @{
"(^[$]url\s*=\s*)('.*')" = "`$1'$($Latest.URL32)'"
"(^[$]checksum\s*=\s*)('.*')" = "`$1'$($Latest.Checksum32)'"
"(^[$]checksumType\s*=\s*)('.*')" = "`$1'$($Latest.ChecksumType32)'"
}
}
}

function global:au_AfterUpdate($Package) {
Invoke-VirusTotalScan $Package
}

function global:au_GetLatest {
$url32 = $releases
$ZipFile = "$($env:TEMP)/lastactivityview.zip"
Invoke-WebRequest -Uri $url32 -OutFile $ZipFile -UseBasicParsing
Expand-Archive $ZipFile -DestinationPath .\lastactivityview -Force
$File = $(Get-ChildItem lastactivityview.exe -Recurse).FullName
$version=[System.Diagnostics.FileVersionInfo]::GetVersionInfo($File).FileVersion

$Latest = @{ URL32 = $url32; Version = $version }
return $Latest
}

update -ChecksumFor 32 -NoCheckChocoVersion
15 changes: 15 additions & 0 deletions automatic/lbry/ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[![](https://img.shields.io/chocolatey/v/lbry?color=green&label=lbry)](https://chocolatey.org/packages/lbry) [![](https://img.shields.io/chocolatey/dt/lbry)](https://chocolatey.org/packages/lbry)

## Lbry
It's time to take back control from YouTube and Amazon.

Top creators, self-respecting users, the privacy conscious, computer geeks, freedom
lovers, loveable kooks, and readers of small gray text everywhere choose LBRY, because
it's open, fair, and free.
The LBRY app is a graphical browser for the decentralized content marketplace provided
by the LBRY protocol. It is essentially the lbry daemon bundled with a UI using Electron.

### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)

Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
44 changes: 44 additions & 0 deletions automatic/lbry/lbry.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>lbry</id>
<version>0.53.9</version>
<owners>tunisiano</owners>
<title>lbry (Install)</title>
<authors>lbry.com</authors>
<projectUrl>https://lbry.com</projectUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@c3d472f75cf9e4ba131bbc581e7c307000afca50/icons/lbry.png</iconUrl>
<copyright>lbry.com</copyright>
<licenseUrl>https://github.com/lbryio/lbry-desktop/blob/master/LICENSE</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<projectSourceUrl>https://github.com/lbryio/lbry-desktop</projectSourceUrl>
<packageSourceUrl>https://github.com/tunisiano187/Chocolatey-packages/tree/master/automatic/lbry</packageSourceUrl>
<docsUrl>https://lbry.com/faq</docsUrl>
<bugTrackerUrl>https://github.com/lbryio/lbry-desktop/issues</bugTrackerUrl>
<tags>foss browser client lbry</tags>
<summary>LBRY is a secure, open, and community-run digital marketplace.Enjoy the latest content from your favorite creators—as a user, not a product.</summary>
<description><![CDATA[## Lbry
It's time to take back control from YouTube and Amazon.
Top creators, self-respecting users, the privacy conscious, computer geeks, freedom
lovers, loveable kooks, and readers of small gray text everywhere choose LBRY, because
it's open, fair, and free.
The LBRY app is a graphical browser for the decentralized content marketplace provided
by the LBRY protocol. It is essentially the lbry daemon bundled with a UI using Electron.
### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)
Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
]]></description>
<releaseNotes>#### Program
* [Release log](https://github.com/lbryio/lbry-desktop/releases)

#### Package
* Automatically built and uploaded by [tunisiano](https://chocolatey.org/profiles/tunisiano)
* Package not up-to-date after a few days ? [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)</releaseNotes>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
23 changes: 23 additions & 0 deletions automatic/lbry/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
$ErrorActionPreference = 'Stop';

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://github.com/lbryio/lbry-desktop/releases/download/v0.53.9/LBRY_0.53.9.exe'
$checksum = '6555cefdb7c5f93d6a8729b08b43c97a93b2cb50f47679e31ff5509c253c2add'
$checksumType = 'sha256'

$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $toolsDir
fileType = 'EXE'
url = $url

softwareName = 'lbry*'

checksum = $checksum
checksumType = $checksumType

silentArgs = '/S'
validExitCodes= @(0)
}

Install-ChocolateyPackage @packageArgs
36 changes: 36 additions & 0 deletions automatic/lbry/update.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import-module au

$releases = 'https://github.com/lbryio/lbry-desktop/releases/latest'
$Owner = $releases.Split('/') | Select-Object -Last 1 -Skip 3
$repo = $releases.Split('/') | Select-Object -Last 1 -Skip 2


function global:au_SearchReplace {
@{
'tools/chocolateyInstall.ps1' = @{
"(^[$]url\s*=\s*)('.*')" = "`$1'$($Latest.URL32)'"
"(^[$]checksum\s*=\s*)('.*')" = "`$1'$($Latest.Checksum32)'"
"(^[$]checksumType\s*=\s*)('.*')" = "`$1'$($Latest.ChecksumType32)'"
}
}
}

function global:au_AfterUpdate($Package) {
Invoke-VirusTotalScan $Package
}

function global:au_GetLatest {
$tags = Get-GitHubRelease -OwnerName $Owner -RepositoryName $repo -Latest
$url32 = $tags.assets.browser_download_url | Where-Object {$_ -match ".exe$"}
Update-Metadata -key "releaseNotes" -value $tags.html_url
$version = $tags.tag_name.Replace('v','')
if($tags.prerelease -match "true") {
$date = $tags.published_at.ToString("yyyyMMdd")
$version = "$version-pre$($date)"
}

$Latest = @{ URL32 = $url32; Version = $version }
return $Latest
}

update -ChecksumFor 32 -NoCheckChocoVersion
50 changes: 50 additions & 0 deletions automatic/leanify/ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[![](https://img.shields.io/chocolatey/v/leanify?color=green&label=leanify)](https://chocolatey.org/packages/leanify) [![](https://img.shields.io/chocolatey/dt/leanify)](https://chocolatey.org/packages/leanify)

## leanify
Leanify is a lightweight lossless file minifier/optimizer. It removes unnecessary data (debug information, comments, metadata, etc.) and recompress the file to reduce file size. It will not reduce image quality at all.

#### Features
* Support recursive minifying. (e.g. a PNG inside an APK inside a ZIP)
* Support a wide variety of file formats.
* Lightweight, one file, under 1MB, no external dependency.
* Everything is done in memory, no temporary files.
* Cross-Platform, support Windows, Mac, Linux.
* Support traverse directory recursively.
* Identify file format by its data instead of name.

#### [Supported file formats](https://github.com/JayXon/Leanify#file-formats)
* APK file (.apk)
* Comic book archive (.cbt, .cbz)
* Microsoft Office document 2007-2013 (.docx, .xlsx, .pptx)
* Design Web Format (.dwf, dwfx)
* EPUB file (.epub)
* FictionBook (.fb2, .fb2.zip)
* GFT file (.gft)
* gzip file (.gz, .tgz)
* Icon file (.ico)
* Java archive (.jar)
* JPEG image (.jpeg, .jpg, .jpe, .jif, .jfif, .jfi, .thm)
* Lua object file (.lua, .luac)
* OpenDocument (.odt, .ods, .odp, .odb, .odg, .odf)
* PE file (.exe, .dll, .sys, .ocx, .scr, .cpl)
* PNG image (.png, .apng)
* RDB archive (.rdb)
* Flash file (.swf)
* SVG image (.svg, .svgz)
* tar archive (.tar)
* XML document (.xml, .xsl, .xslt)
* XPInstall (.xpi)
* XPS document (.xps, .oxps)
* ZIP archive (.zip)

#### [To do list](https://github.com/JayXon/Leanify#to-do-list)
* BMP image (.bmp, .dib)
* Microsoft Compound File Binary
* PDF document (.pdf)

#### [Command-line options](https://github.com/JayXon/Leanify#usage)

### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)

Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
77 changes: 77 additions & 0 deletions automatic/leanify/leanify.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>leanify</id>
<version>0.4.3</version>
<title>Leanify</title>
<authors>JayXon</authors>
<owners>tunisiano</owners>
<licenseUrl>https://github.com/JayXon/Leanify/blob/master/LICENSE</licenseUrl>
<projectUrl>https://github.com/JayXon/Leanify</projectUrl>
<packageSourceUrl>https://github.com/tunisiano187/Chocolatey-packages/tree/master/automatic/leanify</packageSourceUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description><![CDATA[## leanify
Leanify is a lightweight lossless file minifier/optimizer. It removes unnecessary data (debug information, comments, metadata, etc.) and recompress the file to reduce file size. It will not reduce image quality at all.
#### Features
* Support recursive minifying. (e.g. a PNG inside an APK inside a ZIP)
* Support a wide variety of file formats.
* Lightweight, one file, under 1MB, no external dependency.
* Everything is done in memory, no temporary files.
* Cross-Platform, support Windows, Mac, Linux.
* Support traverse directory recursively.
* Identify file format by its data instead of name.
#### [Supported file formats](https://github.com/JayXon/Leanify#file-formats)
* APK file (.apk)
* Comic book archive (.cbt, .cbz)
* Microsoft Office document 2007-2013 (.docx, .xlsx, .pptx)
* Design Web Format (.dwf, dwfx)
* EPUB file (.epub)
* FictionBook (.fb2, .fb2.zip)
* GFT file (.gft)
* gzip file (.gz, .tgz)
* Icon file (.ico)
* Java archive (.jar)
* JPEG image (.jpeg, .jpg, .jpe, .jif, .jfif, .jfi, .thm)
* Lua object file (.lua, .luac)
* OpenDocument (.odt, .ods, .odp, .odb, .odg, .odf)
* PE file (.exe, .dll, .sys, .ocx, .scr, .cpl)
* PNG image (.png, .apng)
* RDB archive (.rdb)
* Flash file (.swf)
* SVG image (.svg, .svgz)
* tar archive (.tar)
* XML document (.xml, .xsl, .xslt)
* XPInstall (.xpi)
* XPS document (.xps, .oxps)
* ZIP archive (.zip)
#### [To do list](https://github.com/JayXon/Leanify#to-do-list)
* BMP image (.bmp, .dib)
* Microsoft Compound File Binary
* PDF document (.pdf)
#### [Command-line options](https://github.com/JayXon/Leanify#usage)
### Package-specific issue
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose)
Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/tunisiano)
]]></description>
<summary>Command line lossless file minifier/optimizer</summary>
<releaseNotes>#### Program
* [Changelog](https://github.com/JayXon/Leanify/releases)
* [Known issues](https://github.com/JayXon/Leanify/issues)
* [Source code](https://github.com/JayXon/Leanify)

#### Package
* Automatically built and uploaded by [tunisiano](https://chocolatey.org/profiles/tunisiano)</releaseNotes>
<copyright>© JayXon</copyright>
<language>en-us</language>
<tags>lossless file optimizer cli</tags>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
23 changes: 23 additions & 0 deletions automatic/leanify/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
$url = 'https://github.com/JayXon/Leanify/releases/download/v0.4.3/Leanify_win32.7z'
$checksum = 'cf6d3af3c123ae1e3e7385d025e2b4d90e79a7bdac6cdea95876b2e476d313f7'
$checksumType = 'sha256'
$url64 = 'https://github.com/JayXon/Leanify/releases/download/v0.4.3/Leanify_win64.7z'
$checksum64 = 'e6d0552e5d3fceb7d603cc2b2fae65c7e4f5cfb9915882842363699f3245d744'
$checksumType64 = 'sha256'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $toolsDir

url = $url
checksum = $checksum
checksumType = $checksumType

Url64bit = $url64
Checksum64 = $checksum64
ChecksumType64 = $checksumType64

}

Install-ChocolateyZipPackage @packageArgs
Loading

0 comments on commit d66f2f1

Please sign in to comment.