Giter Club home page Giter Club logo

screentogif-chocolatey's Introduction

Hi there πŸ‘‹

I'm Nicke and I like to fix problems, one program at a time. By the way, I do love feedback!

  • πŸ”­ I’m currently working on ScreenToGif.
  • 🌱 I’m currently learning Angular and WinUI 3.
  • πŸ€” I’m looking for help with WinUI 3.
  • πŸ“« How to reach me: Here!
  • πŸ˜„ Pronouns: He/Him
  • ⚑ Fun fact: I'm from Brazil?! Sometimes, people get surprised with that.
  • πŸ’› Would you like to support my work? Make a donation :)

Twitter Linkedin Discord


GitHub Statistics

screentogif-chocolatey's People

Contributors

anthonymastrean avatar hija avatar majkinetor avatar mattaw avatar nickemanarin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

screentogif-chocolatey's Issues

New version available

Thanks for providing this package!

I'm not sure if you're already aware of this or not, but there's a new version of ScreenToGif available. Would it be possible to update the installer to the latest version?

UPDATE: I just realised that you're also the developer of ScreenToGif, so I presume that you're already aware of the new version! I was hoping to be able to use the new feature from this issue: NickeManarin/ScreenToGif#96.

Tools vs. tools and other repository structure concerns

The way this nuspec is written, without an explicit <files /> section, it takes every file/directory it finds in the path. That means, when I pack this nuspec, it includes the logo and the .git folder!

$ choco pack screentogif.nuspec

We can work around this in two ways...

  1. Put the package files in a subdirectory.
  2. Write an explicit <files /> section within the nuspec.

I prefer #1. A structure like this allows you to write a README and provide a logo without including them in the package (making it larger, etc.).

.
β”‚   README.md
β”‚   screentogif.png
β”‚
└───screentogif
    β”‚   screentogif.nuspec
    β”‚
    └───tools
            chocolateyInstall.ps1
            chocolateyUnistall.ps1
            shortcut.ps1

Tools vs. tools

I've not tried it, but the nuspec reference documentation indicates that the folder should be "tools".

http://docs.nuget.org/Create/Nuspec-Reference#specifying-files-to-include-in-the-package

and

http://docs.nuget.org/Create/Creating-and-Publishing-a-Package#from-a-convention-based-working-directory

ScreenToGif dependency on ffmpeg

Hi,

During installing ScreenToGif 2.38.1 I got the following msg:

[NuGet] One or more unresolved package dependency constraints detected in the Chocolatey lib folder. All dependency constraints must be resolved to add or update packages. If these packages are being updated this message may be ignored, if not the following error(s) may be blocking the current package operation: 'screentogif 2.38.1 constraint: ffmpeg (>= 4.4.1 && < 6.0.0)', 'screentogif 2.38.1 constraint: screentogif.portable (>= 2.38.1)'

Maybe you can improve this package, so that the actual version of ffmpeg is included (https://community.chocolatey.org/packages/ffmpeg). Right now, installing ScreenToGif, installs an OLD version of ffmpeg

thx for your work on chocolatey
Br, Christian

Icon URL

The Icon URL (the <iconURL /> element in the nuspec) is mostly for making your package look good on the gallery.

image

Once you sort out the structure and naming issues in #1, you should click the file, get the canonical URL, and click the Raw button.

image

Put that URL through the rawgit CDN and use the production link.

http://rawgit.com/

Use that production link in the <iconUrl />.

You would do this whenever you update the image.

Chocolatey downloading 2.38.1 instead of 2.39.0

I am very sorry to report that for some reason the community package on chocolatey is downloading 2.38.1 and ffmpeg 6.0 for some reason. The admin powershell log of an install after a complete uninstall:

PS C:\Users\matth> choco install screentogif
Chocolatey v2.2.2
Installing the following packages:
screentogif
By installing, you accept licenses for the packages.
Progress: Downloading ffmpeg 6.0... 100%

ffmpeg v6.0.0 [Approved]
ffmpeg package files install completed. Performing other installation steps.
The package ffmpeg wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): Y

Extracting 64-bit C:\ProgramData\chocolatey\lib\ffmpeg\tools\ffmpeg-release-essentials.7z to C:\ProgramData\chocolatey\lib\ffmpeg\tools...
C:\ProgramData\chocolatey\lib\ffmpeg\tools
Removing extracted archive.
Sleeping for 2 seconds to allow anti-viruses to finish scanning...
Renaming ffmpeg directory to common name (Try 1 / 3)
Successfully renamed directory.
 ShimGen has successfully created a shim for ffmpeg.exe
 ShimGen has successfully created a shim for ffplay.exe
 ShimGen has successfully created a shim for ffprobe.exe
 The install of ffmpeg was successful.
  Software installed to 'C:\ProgramData\chocolatey\lib\ffmpeg\tools'
Progress: Downloading screentogif.portable 2.39.0... 100%

screentogif.portable v2.39.0 [Approved]
screentogif.portable package files install completed. Performing other installation steps.
The package screentogif.portable wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): Y

File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded.
Hashes match.
Hashes match.
Extracting C:\Users\matth\AppData\Local\Temp\chocolatey\screentogif.portable\2.39.0\ScreenToGif.2.38.1.Portable.x64.zip to C:\ProgramData\chocolatey\lib\screentogif.portable\content...
C:\ProgramData\chocolatey\lib\screentogif.portable\content
 ShimGen has successfully created a shim for ScreenToGif.exe
 The install of screentogif.portable was successful.
  Software installed to 'C:\ProgramData\chocolatey\lib\screentogif.portable\content'
Progress: Downloading screentogif 2.39.0... 100%

screentogif v2.39.0 [Approved]
screentogif package files install completed. Performing other installation steps.
 The install of screentogif was successful.
  Software installed to 'C:\ProgramData\chocolatey\lib\screentogif'

Chocolatey installed 3/3 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Version 2.34 bad checksum

Version 2.34 fails to install with a checksum error:

ERROR: Checksum for ...
...AppData\Local\Temp\chocolatey\screentogif\2.34.0\ScreenToGif.2.34.Portable.zip' did not meet 'DE1FF9A17F157886FF82C9C47EF068FCF8F08997CD939EE7D20A604F82E8EB9C' for checksum type 'SHA256'. 

It's also not included in this repo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.