okibcn / nano-for-windows

Windows version of the GNU Nano editor
https://github.com/okibcn/nano-for-windows
GNU General Public License v3.0
119 stars 2 forks source link

Install fails #39

Open JussiRoos opened 2 months ago

JussiRoos commented 2 months ago

Installing with scoop the zip extraction fails.

scoop install nano
Installing 'nano' (7.2-22.1) [64bit] from main bucket
Loading nano-for-windows_win64_v7.2-22.1.zip from cache                                                                                                        Checking hash of nano-for-windows_win64_v7.2-22.1.zip ... ok.                                                                                                  Extracting nano-for-windows_win64_v7.2-22.1.zip ... Exception calling "ExtractToFile" with "3" argument(s): "The archive entry was compressed using an unsupported compression method."
At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1:1056 char:25
+ ...             [System.IO.Compression.ZipFileExtensions]::ExtractToFile( ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : InvalidDataException

done.
Running pre_install script...
Linking ~\scoop\apps\nano\current => ~\scoop\apps\nano\7.2-22.1
Creating shim for 'nano'.
Can't shim 'nano.exe': File doesn't exist.

Tried manually extracting the files to ~\scoop\apps\nano\7.2-22.1 and running the install again. The install seems to clear the folder so that was no help.

Heratiki commented 1 month ago

I'm currently seeing the same issue. Something to do with the way the zip file was created that is keeping scoop from installing it.