Skip to content

Commit

Permalink
AU: 1 updated - nomacs.portable
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Nov 18, 2018
1 parent c25aeda commit e101ae9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion automatic/nomacs.portable/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img src="https://cdn.rawgit.com/chocolatey/chocolatey-coreteampackages/bcd6e5bad67c9a360b1e9bc9a1ccfedfd4e57fdd/icons/nomacs.svg" width="48" height="48"/> [nomacs.portable](https://chocolatey.org/packages/nomacs.portable)
# <img src="https://cdn.jsdelivr.net/gh/chocolatey/chocolatey-coreteampackages@bcd6e5bad67c9a360b1e9bc9a1ccfedfd4e57fdd/icons/nomacs.svg" width="48" height="48"/> [nomacs.portable](https://chocolatey.org/packages/nomacs.portable)


nomacs is a free image viewer for windows, linux, and mac systems, which is licensed under the GNU General Public License v3. nomacs is small, fast and able to handle the most common image formats including RAW images. Additionally it is possible to synchronize multiple viewers. A synchronization of viewers running on the same computer or via LAN is possible. It allows to compare images and spot the differences (e.g. schemes of architects to show the progress).
Expand Down
4 changes: 2 additions & 2 deletions automatic/nomacs.portable/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ Package can be verified like this:

1. Go to

x64: http://download.nomacs.org/portable/nomacs-3.8.0.zip
x64: http://download.nomacs.org/portable/nomacs-3.12.1.zip

to download the zip.

2. You can use one of the following methods to obtain the checksum:
- Use powershell function 'Get-FileHash'
- Use Chocolatey utility 'checksum.exe'

checksum64: B93075FF97D860F6A4B77E462D0E574B2BA69B0C0CF2D0F3ED4376A097FDEB89
checksum64: D98B83F405CE58F05F451351044EF2E1E727DC3C61724E42274519DB4AA15CCC
6 changes: 3 additions & 3 deletions automatic/nomacs.portable/nomacs.portable.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>nomacs.portable</id>
<version>3.8.0</version>
<version>3.12.1</version>
<title>nomacs Image Lounge</title>
<owners>chocolatey</owners>
<authors>Markus Diem, Stefan Fiel, Florian Kleber</authors>
<licenseUrl>https://www.gnu.org/licenses/gpl.html</licenseUrl>
<projectUrl>https://nomacs.org/</projectUrl>
<iconUrl>https://cdn.rawgit.com/chocolatey/chocolatey-coreteampackages/bcd6e5bad67c9a360b1e9bc9a1ccfedfd4e57fdd/icons/nomacs.svg</iconUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/chocolatey/chocolatey-coreteampackages@bcd6e5bad67c9a360b1e9bc9a1ccfedfd4e57fdd/icons/nomacs.svg</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description><![CDATA[
nomacs is a free image viewer for windows, linux, and mac systems, which is licensed under the GNU General Public License v3. nomacs is small, fast and able to handle the most common image formats including RAW images. Additionally it is possible to synchronize multiple viewers. A synchronization of viewers running on the same computer or via LAN is possible. It allows to compare images and spot the differences (e.g. schemes of architects to show the progress).
Expand Down Expand Up @@ -55,7 +55,7 @@ See detailed nomacs [features page](http://nomacs.org/features/).
]]></description>
<summary>Open source image viewer</summary>
<releaseNotes>https://github.com/nomacs/nomacs/releases/tag/3.8.0</releaseNotes>
<releaseNotes>https://github.com/nomacs/nomacs/releases/tag/3.12.1</releaseNotes>
<copyright>Markus Diem, Stefan Fiel, Florian Kleber</copyright>
<tags>admin image editor viewer jpg png svg foss cross-platform</tags>
<packageSourceUrl>https://github.com/chocolatey/chocolatey-coreteampackages/tree/master/automatic/nomacs</packageSourceUrl>
Expand Down
8 changes: 4 additions & 4 deletions automatic/nomacs.portable/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
$ErrorActionPreference = 'Stop'

if ((Get-ProcessorBits 32) -or ($env:chocolateyForceX86 -eq 'true')) {
if ((Get-OSArchitectureWidth 32) -or ($env:chocolateyForceX86 -eq 'true')) {
throw "This package doesn't support 32bit architecture"
}

$fileName = 'nomacs-3.8.0.zip'
$fileName = 'nomacs-3.12.1.zip'
$toolsPath = Split-Path $MyInvocation.MyCommand.Definition
$zip_path = "$toolsPath\$fileName"
ls $toolsPath\* | ? { $_.PSIsContainer } | rm -Force -Recurse
Get-ChildItem $toolsPath\* | Where-Object { $_.PSIsContainer } | Remove-Item -Force -Recurse

$packageArgs = @{
PackageName = 'nomacs.portable'
FileFullPath = $zip_path
Destination = $toolsPath
}
Get-ChocolateyUnzip @packageArgs
rm $zip_path -ea 0
Remove-Item $zip_path -ea 0

0 comments on commit e101ae9

Please sign in to comment.