Skip to content

Commit

Permalink
AU: 1 updated - pencil
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Oct 23, 2019
1 parent 98c7c00 commit 58d41b2
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
2 changes: 1 addition & 1 deletion automatic/pencil/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img src="https://cdn.rawgit.com/abejenaru/chocolatey-packages/16e4ddf69bd7dfc07597b7b3aaa7d8372eeec7fb/icons/pencil.png" width="48" height="48"/> [pencil](https://chocolatey.org/packages/pencil)
# <img src="https://cdn.jsdelivr.net/gh/chocolatey-community/chocolatey-coreteampackages@84de0b5c5cabccb49ac162656ad38a42e5007428/icons/pencil.png" width="48" height="48"/> [pencil](https://chocolatey.org/packages/pencil)

Pencil is an open-source GUI prototyping tool that's available for ALL platforms.
Pencil is built for the purpose of providing a free and open-source GUI prototyping tool that people can easily install and use to create mockups in popular desktop platforms.
Expand Down
17 changes: 13 additions & 4 deletions automatic/pencil/pencil.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>pencil</id>
<version>3.0.4</version>
<packageSourceUrl>https://github.com/chocolatey/chocolatey-coreteampackages/tree/master/automatic/pencil</packageSourceUrl>
<version>3.1.0</version>
<packageSourceUrl>https://github.com/chocolatey-community/chocolatey-coreteampackages/tree/master/automatic/pencil</packageSourceUrl>
<owners>chocolatey,Andrei Bejenaru</owners>
<title>Pencil</title>
<authors>Evolus</authors>
<projectUrl>http://pencil.evolus.vn</projectUrl>
<iconUrl>https://cdn.rawgit.com/abejenaru/chocolatey-packages/16e4ddf69bd7dfc07597b7b3aaa7d8372eeec7fb/icons/pencil.png</iconUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/chocolatey-community/chocolatey-coreteampackages@84de0b5c5cabccb49ac162656ad38a42e5007428/icons/pencil.png</iconUrl>
<copyright>Copyright (c) Evolus Co., Ltd. All rights reserved.</copyright>
<licenseUrl>https://github.com/evolus/pencil/blob/master/LICENSE.md</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -19,8 +19,17 @@
<summary>An open-source GUI prototyping tool that's available for ALL platforms.</summary>
<description><![CDATA[Pencil is an open-source GUI prototyping tool that's available for ALL platforms.
Pencil is built for the purpose of providing a free and open-source GUI prototyping tool that people can easily install and use to create mockups in popular desktop platforms.
## Features
* Easy GUI Prototyping: Various built-in shapes collection are available for drawing different types of user interface ranging from desktop to mobile platforms. Pencil is shipped with Android and iOS UI stencils pre-installed.
* Built-in Shape Collections: Built-in collections include general-purpose shapes, flowchart elements, desktop/web UI shapes, Android and iOS GUI shapes, and many other collections created by the community.
* Diagram Drawing Support: Pencil supports connectors which can be used to "wire" shapes together in a diagram. A collection of flowchart shapes are also available for drawing diagrams.
* Exporting to Different Output Formats: Pencil supports outputing the drawing document into different types of formats such as image files, HTML pages and document formats including OpenOffice/LibreOffice text documents, SVG and PDF.
* Easily Find Cliparts from the Internet: Pencil has a clipart browser tool that integrates with OpenClipart.org.
* Inter-page linking: Elements in a drawing can be linked to a specific page in the same document. This helps user define the UI flow when creating application or website mockups.
]]></description>
<releaseNotes>https://github.com/evolus/pencil/releases/tag/v3.0.4</releaseNotes>
<releaseNotes>https://github.com/evolus/pencil/blob/master/RELEASE/RELEASE-NOTE-310.md</releaseNotes>
</metadata>
<files>
<file src="tools\**" target="tools" />
Expand Down
4 changes: 2 additions & 2 deletions automatic/pencil/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$ErrorActionPreference = 'Stop'
$ErrorActionPreference = 'Stop'

$toolsPath = Split-Path $MyInvocation.MyCommand.Definition

Expand All @@ -12,4 +12,4 @@ $packageArgs = @{
softwareName = 'Pencil*'
}
Install-ChocolateyInstallPackage @packageArgs
ls $toolsPath\*.exe | % { rm $_ -ea 0; if (Test-Path $_) { sc "$_.ignore" "" }}
Get-ChildItem $toolsPath\*.exe | ForEach-Object { Remove-Item $_ -ea 0; if (Test-Path $_) { Set-Content "$_.ignore" "" }}
6 changes: 3 additions & 3 deletions automatic/pencil/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$ErrorActionPreference = 'Stop'
$ErrorActionPreference = 'Stop'

$packageName = 'pencil'
$softwareName = 'Pencil*'
Expand All @@ -11,7 +11,7 @@ $uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $softwareName

if ($key.Count -eq 1) {
$key | % {
$key | ForEach-Object {
$file = "$($_.UninstallString)"
$file = $file -replace '" /allusers$', ''
$file = $file -replace '^"', ''
Expand All @@ -28,5 +28,5 @@ if ($key.Count -eq 1) {
Write-Warning "$key.Count matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "Please alert package maintainer the following keys were matched:"
$key | % {Write-Warning "- $_.DisplayName"}
$key | ForEach-Object {Write-Warning "- $_.DisplayName"}
}

0 comments on commit 58d41b2

Please sign in to comment.