ScoopInstaller / Extras

📦 The Extras bucket for Scoop.
https://scoop.sh
The Unlicense
1.78k stars 1.34k forks source link

[Bug]: ScreenToGif 2.40 does not install anymore the exe file #12475

Closed cderv closed 9 months ago

cderv commented 9 months ago

Prerequisites

Package Name

ScreenToGif

Expected/Current Behaviour

Newest version 2.40 should install like previous one

Steps to Reproduce

PS> scoop install screentogif
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
WARN  To disable this warning, run 'scoop config aria2-warning-enabled false'.
Installing 'screentogif' (2.40) [64bit] from extras bucket
Loading ScreenToGif.2.40.Portable.x64.zip from cache.
Checking hash of ScreenToGif.2.40.Portable.x64.zip ... ok.
Extracting ScreenToGif.2.40.Portable.x64.zip ... done.
Running pre_install script...
Linking ~\scoop\apps\screentogif\current => ~\scoop\apps\screentogif\2.40
Creating shim for 'ScreenToGif'.
WARN  Overwriting shim ('screentogif.exe' -> 'ScreenToGif.exe')
Creating shortcut for ScreenToGif (ScreenToGif.exe)
Persisting Settings.xaml
'screentogif' (2.40) was installed successfully!

PS> screentogif
Could not create process with command '"C:\Users\chris\scoop\apps\screentogif\current\ScreenToGif.exe" '.

PS> ls $(scoop prefix screentogif)

    Directory: C:\Users\chris\scoop\apps\screentogif\current

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---          15/12/2023    12:47             60 install.json
-a---          13/12/2023    09:13           2426 manifest.json
-a---          11/12/2023    22:04          25495 Settings.xaml

There is no exe file in the current folder which point to 2.40

Possible Solution

Reverting to 2.39 until is fixed works

PS> scoop install screentogif@2.39
WARN  Given version (2.39) does not match manifest (2.40)
WARN  Attempting to generate manifest for 'screentogif' (2.39)
Autoupdating screentogif
Downloading ScreenToGif.2.39.Portable.x86.zip to compute hashes!
Loading ScreenToGif.2.39.Portable.x86.zip from cache
Computed hash: b4b8467a7a708d6c7de58de641d3695e5bd63b2918aa9220bed6a20a34f069de
Downloading ScreenToGif.2.39.Portable.x64.zip to compute hashes!
Loading ScreenToGif.2.39.Portable.x64.zip from cache
Computed hash: 53cfdff0d43b10fe2e36090ddbfcb621d117fea3dd926931dedbf221a3159ed1
Downloading ScreenToGif.2.39.Portable.Arm64.zip to compute hashes!
Loading ScreenToGif.2.39.Portable.Arm64.zip from cache
Computed hash: 92fa409b50b8f8875ed11371bea36a3f05444304e20e345bdb853228f68e61e7
Writing updated screentogif manifest
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
WARN  To disable this warning, run 'scoop config aria2-warning-enabled false'.
Installing 'screentogif' (2.39) [64bit]
Loading ScreenToGif.2.39.Portable.x64.zip from cache.
Checking hash of ScreenToGif.2.39.Portable.x64.zip ... ok.
Extracting ScreenToGif.2.39.Portable.x64.zip ... done.
Running pre_install script...
Linking ~\scoop\apps\screentogif\current => ~\scoop\apps\screentogif\2.39
Creating shim for 'ScreenToGif'.
Creating shortcut for ScreenToGif (ScreenToGif.exe)
Persisting Settings.xaml
'screentogif' (2.39) was installed successfully!

PS> ls $(scoop prefix screentogif)

    Directory: C:\Users\chris\scoop\apps\screentogif\current

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---          15/12/2023    12:50            103 install.json
-a---          15/12/2023    12:50           2428 manifest.json
-----          01/10/2023    12:34      175513080 ScreenToGif.exe
-a---          11/12/2023    22:04          25495 Settings.xaml

Scoop and Buckets Version

PS> scoop --version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
ec5e9c52b (HEAD -> master, origin/master, origin/HEAD) kate: Update to version 23.08.4-2248

'main' bucket:
d207187a1 (HEAD -> master, upstream/master, upstream/HEAD) jj: Add version 0.12.0 (#5327)

Scoop Config

> scoop config | Format-List

aria2-enabled : True
last_update   : 15/12/2023 12:40:29
scoop_branch  : master
scoop_repo    : https://github.com/lukesampson/scoop

PowerShell Version

PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.0
PSEdition                      Core
GitCommitId                    7.4.0
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

None

cderv commented 9 months ago

Nevermind, this is something else... 2.39 was also removed. Probably some antivirus program that runs