• R/O
  • HTTP
  • SSH
  • HTTPS

AppliStation: 提交

AppliStation


Commit MetaInfo

修订版78c0e2753fa94245f0edc97a195fe50c04a4eb79 (tree)
时间2018-10-22 00:13:18
作者ttp <ttp@user...>
Commiterttp

Log Message

チケット #38687 tar.gz 形式が 7-ZIP32.DLL がインストールされている環境下で正しく展開されない

更改概述

差异

--- a/na-get-lib/NaGet.InteropServices/CommonArchiverExtracter.cs
+++ b/na-get-lib/NaGet.InteropServices/CommonArchiverExtracter.cs
@@ -1,4 +1,4 @@
1-using System;
1+using System;
22 using System.Runtime.InteropServices;
33 using System.IO;
44
@@ -140,11 +140,11 @@ namespace NaGet.InteropServices
140140 /// アーカイバDLLの設定
141141 /// </summary>
142142 public static readonly CommonArchiverDllConfig[] Configs = {
143+ new CommonArchiverDllConfig("TAR32", "Tar", "-x \"{0}\" -o \"{1}\"", 218), // 7-ZIP32.DLL が tar.gz などをハンドルしないよう TAR32 を優先させる
143144 new CommonArchiverDllConfig("7-ZIP32", "SevenZip", "x -y \"{0}\" \"-o{1}\"", 423),
144145 new CommonArchiverDllConfig("UNZIP32", "UnZip", "-x -o \"{0}\" \"{1}\" *", 541),
145146 new CommonArchiverDllConfig("UNLHA32", "Unlha", "x \"{0}\" \"{1}\" *", 240),
146147 new CommonArchiverDllConfig("CAB32", "Cab", "-x \"{0}\" \"{1}\" *", 98),
147- new CommonArchiverDllConfig("TAR32", "Tar", "-x \"{0}\" -o \"{1}\"", 218),
148148 new CommonArchiverDllConfig("UNGCA32", "UnGCA", "e \"{0}\" \"{1}\"", 10), // いるかな?
149149
150150 //new CommonArchiverDllConfig("UNRAR32", "Unrar", "x -y \"{0}\" \"{1}\" *", -1),
Show on old repository browser