OSDN Git Service

Ver0.19
[gefu/Gefu.git] / main.cpp
index 2ea99a0..e77fe7e 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -108,14 +108,12 @@ int main(int argc, char *argv[])
         else if (QFileInfo::exists("C:/Program Files/Lhaca/Lhaca.exe")) {\r
             settings.setValue(IniKey_PathArchiver, QQ("C:/Program Files/Lhaca/Lhaca.exe"));\r
         }\r
-        else if (QFileInfo::exists("C:/Program Files/7-zip/7zG.exe")) {\r
-            settings.setValue(IniKey_PathArchiver, QQ("C:/Program Files/7-zip/7zG.exe"));\r
+        else if (QFileInfo::exists("C:/Program Files/7-zip/7zFM.exe")) {\r
+            settings.setValue(IniKey_PathArchiver, QQ("C:/Program Files/7-zip/7zFM.exe"));\r
         }\r
 \r
 #elif defined(Q_OS_MAC)\r
-        if (QFileInfo::exists("/Applications/The Unarchiver.app")) {\r
-            settings.setValue(IniKey_PathArchiver, QQ("/Applications/The Unarchiver.app"));\r
-        }\r
+        settings.setValue(IniKey_PathArchiver, QQ("/System/Library/CoreServices/Archive Utility.app"));\r
 #else\r
 #endif\r
     }\r