Skip to content

Commit

Permalink
From Chocolatey-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
tunisiano187 committed Sep 16, 2024
1 parent 2038cfa commit 5071ec3
Show file tree
Hide file tree
Showing 6 changed files with 180 additions and 0 deletions.
43 changes: 43 additions & 0 deletions automatic/pcmark8/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[![](https://img.shields.io/chocolatey/v/pcmark8?color=green&label=pcmark8)](https://chocolatey.org/packages/pcmark8) [![](https://img.shields.io/chocolatey/dt/pcmark8)](https://chocolatey.org/packages/pcmark8)

## PCMark 8 Basic Edition (Install)

![Screenshot of PCMark8] (https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@c258ef8add8c6c0da56f8839cbb2c59190de38d5/automatic/pcmark8/pcmark.png)
#### THE COMPLETE BENCHMARK FOR WINDOWS

PCMark 8 is the latest version in our series of industry standard PC benchmarking tools. With PCMark 8 you can test the performance of all types of PC, from tablets to desktops. With five separate benchmark tests plus battery life testing, PCMark 8 helps you find the devices that offer the perfect combination of efficiency and performance. PCMark 8 is the complete PC benchmark for home and business.

* The industry standard PC benchmark test for Windows 8 and Windows 7.
* Combines performance testing with new battery life measurement tools.
* Includes new tests using popular applications from Microsoft and Adobe.
* Ideal for testing the performance of SSDs and hybrid storage devices.

#### Real-world relevance
What makes PCMark 8 different from other benchmarks? Real-world relevance.

With PCMark 8 you measure and compare PC performance using real-world tasks and applications. We've grouped these applications into scenarios that reflect typical PC use in the home and at the office.

This approach ensures that PCMark measures the things that matter, highlighting performance differences that will be apparent to end users and consumers.

* Home test
* Creative test
* Work test
* Storage test
* Applications test
* Battery life testing

###Minimum system requirements
OS: Microsoft Windows 7
Processor: Dual core processor
Memory: 2 GB
Graphics: DirectX 9.0c compatible
Display: 1366 × 768 resolution
Storage: 30 GB free hard disk space

#### [choco://pcmark8](choco://pcmark8)
To use choco:// protocol URLs, install [(unofficial) choco:// Protocol support ](https://chocolatey.org/packages/choco-protocol-support)

### 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/bePatron?u=39585820)
Binary file added automatic/pcmark8/pcmark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
72 changes: 72 additions & 0 deletions automatic/pcmark8/pcmark8.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>pcmark8</id>
<version>2.10.901.2024091301</version>
<title>PCMark 8 Basic Edition (Install)</title>
<authors>Futuremark Corporation</authors>
<owners>tunisiano</owners>
<packageSourceUrl>https://github.com/tunisiano187/Chocolatey-packages/tree/master/automatic/pcmark8</packageSourceUrl>
<licenseUrl>http://www.futuremark.com/support/downloads</licenseUrl>
<projectUrl>http://www.futuremark.com/benchmarks/pcmark8</projectUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@e0e579c3382b711562a9cff77c4a104106cf0d14/icons/pcmark8.jpg</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description><![CDATA[## PCMark 8 Basic Edition (Install)
![Screenshot of PCMark8] (https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@c258ef8add8c6c0da56f8839cbb2c59190de38d5/automatic/pcmark8/pcmark.png)
#### THE COMPLETE BENCHMARK FOR WINDOWS
PCMark 8 is the latest version in our series of industry standard PC benchmarking tools. With PCMark 8 you can test the performance of all types of PC, from tablets to desktops. With five separate benchmark tests plus battery life testing, PCMark 8 helps you find the devices that offer the perfect combination of efficiency and performance. PCMark 8 is the complete PC benchmark for home and business.
* The industry standard PC benchmark test for Windows 8 and Windows 7.
* Combines performance testing with new battery life measurement tools.
* Includes new tests using popular applications from Microsoft and Adobe.
* Ideal for testing the performance of SSDs and hybrid storage devices.
#### Real-world relevance
What makes PCMark 8 different from other benchmarks? Real-world relevance.
With PCMark 8 you measure and compare PC performance using real-world tasks and applications. We've grouped these applications into scenarios that reflect typical PC use in the home and at the office.
This approach ensures that PCMark measures the things that matter, highlighting performance differences that will be apparent to end users and consumers.
* Home test
* Creative test
* Work test
* Storage test
* Applications test
* Battery life testing
###Minimum system requirements
OS: Microsoft Windows 7
Processor: Dual core processor
Memory: 2 GB
Graphics: DirectX 9.0c compatible
Display: 1366 × 768 resolution
Storage: 30 GB free hard disk space
#### [choco://pcmark8](choco://pcmark8)
To use choco:// protocol URLs, install [(unofficial) choco:// Protocol support ](https://chocolatey.org/packages/choco-protocol-support)
### 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/bePatron?u=39585820)
]]></description>
<summary>THE COMPLETE BENCHMARK FOR WINDOWS</summary>
<releaseNotes>http://akamai-dl.futuremark.com.akamaized.net/pcmark8-technical-guide.pdf</releaseNotes>
<copyright>© 2016 Futuremark Corporation</copyright>
<tags>futuremark pcmark pcmark8 gaming benchmark admin</tags>
<docsUrl>http://www.futuremark.com/support/guides</docsUrl>
<mailingListUrl>https://community.futuremark.com/forum/</mailingListUrl>
<bugTrackerUrl>https://www.techpowerup.com/downloads/2676/futuremark-pcmark-8-v2-7-613</bugTrackerUrl>
<dependencies>
<dependency id="dotnet4.5" />
<dependency id="futuremark-systeminfo" />
<dependency id="chocolatey-misc-helpers.extension" version="0.0.1" />
</dependencies>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
33 changes: 33 additions & 0 deletions automatic/pcmark8/tools/ChocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
$ErrorActionPreference = 'Stop'
$packageName = 'pcmark8'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://d1ejs5fxm96rib.cloudfront.net/PCMark8-v2-10-901.zip'
$checksum = '5ca0578bcf55671c2f8a1bcef767a88a687091099354e01901d418d4570547ba'
$checksumType = 'sha256'
$silentArgs = '/S'
$validExitCodes = @(0)
$fileLocation = "$env:ChocolateyInstall\lib\pcmark8\tools\PCMark8-setup.exe"

$packageArgs = @{
packageName = $packageName
unzipLocation = $toolsDir
fileType = 'ZIP'
url = $url
checksum = $checksum
checksumType = $checksumType
}

Install-ChocolateyZipPackage @packageArgs

$packageArgs = @{
packageName = $packageName
fileType = 'EXE'
file = $fileLocation
silentArgs = $silentArgs
validExitCodes= $validExitCodes
softwareName = 'PCMark*'
}

Install-ChocolateyInstallPackage @packageArgs

Start-CheckandStop "FMSISvc"
32 changes: 32 additions & 0 deletions automatic/pcmark8/update.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
$ErrorActionPreference = 'Stop'
import-module au

$releases = "https://benchmarks.ul.com/downloads/pcmark8.zip"

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

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_GetLatest {
$url=Get-RedirectedUrl $releases
$version = (Get-Version $url.Replace('-','.')).Version
if($version -eq '2.10.901') {
$version = '2.10.901.2024091301'
}

$Latest = @{ URL32 = $url; Version = $version}

return $Latest
}

update -ChecksumFor 32 -NoCheckChocoVersion
Binary file added icons/pcmark8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5071ec3

Please sign in to comment.