OSDN Git Service

na-get-lib,アーカイブ展開時について使用するDLLをUNZIP32よりも7-ZIP32の方を優先度を上げることにした
authorttp <ttp@users.sourceforge.jp>
Sat, 10 May 2008 02:47:12 +0000 (02:47 +0000)
committerttp <ttp@users.sourceforge.jp>
Sat, 10 May 2008 02:47:12 +0000 (02:47 +0000)
 * unzip32は営利利用不可など制限が比較的多く使えるシーンが家庭用などに限られる
 * 7-zip32は制限が少ない上に、AppliStationへプリインストール配布を前提としている
 * unzip32と7-zip32を両方入れてある環境下でも、動作を合わせるために7-zip32の方を優先することにした

git-svn-id: http://localhost/svn/AppliStation/trunk@897 34ed2c89-c49f-4a4b-abdb-c318350108cf

na-get-lib/NaGet.InteropServices/CommonArchiverExtracter.cs

index 1126d15..1d3d3c3 100644 (file)
@@ -97,8 +97,8 @@ namespace NaGet.InteropServices
                /// アーカイバDLLの設定\r
                /// </summary>\r
                public static readonly CommonArchiverDllConfig[] Configs = {\r
-                       new CommonArchiverDllConfig("UNZIP32", "UnZip", "-x -o \"{0}\" \"{1}\" *", 541),\r
                        new CommonArchiverDllConfig("7-ZIP32", "SevenZip", "x -y \"{0}\" \"-o{1}\"", 423),\r
+                       new CommonArchiverDllConfig("UNZIP32", "UnZip", "-x -o \"{0}\" \"{1}\" *", 541),\r
                        new CommonArchiverDllConfig("UNLHA32", "Unlha", "x \"{0}\" \"{1}\" *", 240),\r
                        new CommonArchiverDllConfig("CAB32", "Cab", "-x \"{0}\" \"{1}\" *", 98),\r
                        new CommonArchiverDllConfig("TAR32", "Tar", "-x \"{0}\" -o \"{1}\"", 218),\r