diff --git a/ghostwriter-portable.2.1.6.nupkg b/ghostwriter-portable.2.1.6.nupkg new file mode 100644 index 0000000..c1ec786 Binary files /dev/null and b/ghostwriter-portable.2.1.6.nupkg differ diff --git a/ghostwriter-portable.nuspec b/ghostwriter-portable.nuspec new file mode 100644 index 0000000..492d676 --- /dev/null +++ b/ghostwriter-portable.nuspec @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + ghostwriter-portable + + + + 2.1.6 + + + + + + + + ghostwriter-portable (Install) + wereturtle,KDE + + https://github.com/KDE/ghostwriter + + + + + + + + + + + ghostwriter-portable + Text editor for Markdown. Provides a relaxing, distraction-free writing environment. + ghostwriter is a Windows and Linux text editor for Markdown, which is a plain text markup format created by John Gruber. For more information about Markdown, please visit John Gruber’s website at http://www.daringfireball.net. ghostwriter provides a relaxing, distraction-free writing environment, whether your masterpiece be that next blog post, your school paper, or your NaNoWriMo novel. For a tour of its features, please visit the ghostwriter project site. + + + + + + + + + + + + + + + + diff --git a/tools/chocolateyinstall.ps1 b/tools/chocolateyinstall.ps1 new file mode 100644 index 0000000..6c9868c --- /dev/null +++ b/tools/chocolateyinstall.ps1 @@ -0,0 +1,15 @@ + +$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" +$url64 = 'https://github.com/wereturtle/ghostwriter/releases/download/2.1.6/ghostwriter_2.1.6_win64_portable.zip' + +$packageName = $env:ChocolateyPackageName + +$checksum64 = 'F3B3408F12A01D05C5AD360147949E3A15C7DF8ED7EEFA8D2A408B90B27D14F5' +$checksumType64 = 'sha256' + +$targetPath = "$toolsDir\ghostwriter.exe" +$iconLocation = $targetPath + +Install-ChocolateyZipPackage -PackageName $packageName -UnzipLocation $toolsDir -Url64bit $url64 -checksum64 $checksum64 -checksumType64 $checksumType64 +Install-ChocolateyShortcut -ShortcutFilePath "$env:ALLUSERSPROFILE\Desktop\ghostwriter.lnk" -TargetPath $targetPath -IconLocation $iconLocation +Install-ChocolateyShortcut -ShortcutFilePath "$env:ProgramData\Microsoft\Windows\Start Menu\Programs\ghostwriter.lnk" -TargetPath $targetPath -IconLocation $iconLocation diff --git a/tools/chocolateyuninstall.ps1 b/tools/chocolateyuninstall.ps1 new file mode 100644 index 0000000..32af77c --- /dev/null +++ b/tools/chocolateyuninstall.ps1 @@ -0,0 +1,2 @@ +Remove-Item -Path "$env:ALLUSERSPROFILE\Desktop\ghostwriter.lnk" -ErrorAction SilentlyContinue +Remove-Item -Path "$env:ProgramData\Microsoft\Windows\Start Menu\Programs\ghostwriter.lnk" -ErrorAction SilentlyContinue