OSDN Git Service

q,bat: QueryCSV and QueryTSV plugins are only supported on x64 systems
authorTakashi Sawanaka <sdottaka@users.sourceforge.net>
Tue, 22 Jun 2021 11:27:30 +0000 (20:27 +0900)
committerTakashi Sawanaka <sdottaka@users.sourceforge.net>
Tue, 22 Jun 2021 11:27:30 +0000 (20:27 +0900)
Plugins/Commands/q/q.bat

index 590d6f8..653ddba 100644 (file)
@@ -1,4 +1,9 @@
 @echo off
+if not "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
+  echo QueryCSV and QueryTSV plugins are only supported on x64 systems
+  goto :eof
+)
+
 set DOWNLOAD_URL=https://github.com/harelba/q/releases/download/2.0.19/q-AMD64-Windows.exe
 set Q_PATH=WinMerge\Commands\q\q-AMD64-Windows.exe
 set MESSAGE='q command is not installed. Do you want to download it from %DOWNLOAD_URL%?'