Skip to content

Commit

Permalink
AU: 1 updated - spotlight-desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Oct 16, 2018
1 parent f699e74 commit 55d4ffb
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 16 deletions.
5 changes: 3 additions & 2 deletions automatic/spotlight-desktop/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# ![Spotlight Desktop Changelog](https://img.shields.io/badge/Spotlight%20Desktop-Package%20Changelog-blue.svg?style=for-the-badge)

## UPCOMING
- Initial implementation of the spotlight-desktop chocolatey package
## Version: 2.0.1 (2018-10-16)
- Initial implementation of the spotlight-desktop chocolatey package

2 changes: 1 addition & 1 deletion automatic/spotlight-desktop/Readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [<img src="https://cdn.jsdelivr.net/gh/AdmiringWorm/chocolatey-packages@40a41aeca9a20cc05e877f5ef7e9ef0b93b7f1f0/icons/spotlight-desktop.png" height="48" width="48" /> ![Spotlight Desktop](https://img.shields.io/chocolatey/v/spotlight-desktop.svg?label=Spotlight%20Desktop&style=for-the-badge)](https://chocolatey.org/packages/spotlight-desktop)
# [<img src="https://cdn.jsdelivr.net/gh/AdmiringWorm/chocolatey-packages@949858caa05dd8821de3954b7fcfc2a7321f4332/icons/spotlight-desktop.png" height="48" width="48" /> ![Spotlight Desktop](https://img.shields.io/chocolatey/v/spotlight-desktop.svg?label=Spotlight%20Desktop&style=for-the-badge)](https://chocolatey.org/packages/spotlight-desktop)

This is a simple app that will take the current Spotlight Lock Screen image and set it to your desktop wallpaper.

Expand Down
6 changes: 3 additions & 3 deletions automatic/spotlight-desktop/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ The embedded software have been downloaded from the listed download
location on <https://github.com/onlineth/Spotlight-Desktop/releases/latest>
and can be verified by doing the following:

1. Download the following <>
1. Download the following <https://github.com/onlineth/Spotlight-Desktop/releases/download/2.0.1/SpotlightDesktop.msi>
2. Get the checksum using one of the following methods:
- Using powershell function 'Get-FileHash'
- Use chocolatey utility 'checksum.exe'
3. The checksums should match the following:

checksum type:
checksum:
checksum type: sha256
checksum: F14135AAF2333309B8B39D55BBC0BCB081D2272403829AEAC9F23310C0A3E660

The file 'LICENSE.txt' has been obtained from <https://github.com/onlineth/Spotlight-Desktop/blob/4f7b553932a5ff5c0dccf42cd2df1565a6e14430/LICENSE>
18 changes: 10 additions & 8 deletions automatic/spotlight-desktop/spotlight-desktop.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>spotlight-desktop</id>
<version>0.0</version>
<version>2.0.1</version>
<packageSourceUrl>https://github.com/AdmiringWorm/chocolatey-packages/tree/master/automatic/spotlight-desktop</packageSourceUrl>
<owners>AdmiringWorm</owners>
<title>Spotlight Desktop</title>
<authors>onlineth</authors>
<projectUrl>https://wallpaper.onlineth.com/</projectUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/AdmiringWorm/chocolatey-packages@40a41aeca9a20cc05e877f5ef7e9ef0b93b7f1f0/icons/spotlight-desktop.png</iconUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/AdmiringWorm/chocolatey-packages@949858caa05dd8821de3954b7fcfc2a7321f4332/icons/spotlight-desktop.png</iconUrl>
<licenseUrl>https://github.com/onlineth/Spotlight-Desktop/blob/master/LICENSE</licenseUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<projectSourceUrl>https://github.com/onlineth/Spotlight-Desktop</projectSourceUrl>
Expand All @@ -18,7 +18,7 @@
<tags>spotlight-desktop lockscreen desktop wallpaper foss</tags>
<summary>A simple app for setting Spotlight Lock Screen image as your desktop wallpaper</summary>
<!-- Do not touch the description here in the nuspec file. Description is imported during update from the Readme.md file -->
<description>This is a simple app that will take the current Spotlight Lock Screen image and set it to your desktop wallpaper.
<description><![CDATA[This is a simple app that will take the current Spotlight Lock Screen image and set it to your desktop wallpaper.
## Features
- Very low memory footprint
Expand All @@ -31,11 +31,13 @@
- Updated for Windows Insider preview builds
## Requirements
- Windows 10 with the Windows Spotlight feature</description>
<releaseNotes>
[Software Changelog](https://github.com/onlineth/Spotlight-Desktop/releases/latest)
[Package Changelog](https://github.com/AdmiringWorm/chocolatey-packages/blob/master/spotlight-desktop/Changelog.md)
</releaseNotes>
- Windows 10 with the Windows Spotlight feature
## Notes
- This application installs itself into the current users Application Data (typically `%AppData%\onlineth\Spotlight Desktop`)
]]></description>
<releaseNotes>[Software Changelog](https://github.com/onlineth/Spotlight-Desktop/releases/tag/2.0.1)
[Package Changelog](https://github.com/AdmiringWorm/chocolatey-packages/blob/master/spotlight-desktop/Changelog.md)</releaseNotes>
</metadata>
<files>
<file src="legal\**" target="legal" />
Expand Down
4 changes: 2 additions & 2 deletions automatic/spotlight-desktop/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ $toolsPath = Split-Path -parent $MyInvocation.MyCommand.Definition
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'msi'
file = "$toolsPath\"
file = "$toolsPath\SpotlightDesktop.msi"
softwareName = 'Spotlight Desktop'
silentArgs = "/qn /norestart /l*v `"$($env:TEMP)\$($env:chocolateyPackageName).$($env:chocolateyPackageVersion).MsiInstall.log`""
validExitCodes = @(0, 2010, 1641)
}

Install-ChocolateyInstallPackage @packageArgs

ls $toolsPath\*.msi | % { rm $_ -ea 0; if (Test-Path $_) { sc "$_.ignore" } }
Get-ChildItem $toolsPath\*.msi | ForEach-Object { Remove-Item $_ -ea 0; if (Test-Path $_) { Set-Content "$_.ignore" } }

0 comments on commit 55d4ffb

Please sign in to comment.