]> khamidou — GitHub mirrors - electron.git/commitdiff
Don't warn arch on Windows
authorCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 10:03:52 +0000 (18:03 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 10:03:52 +0000 (18:03 +0800)
script/update.py

index 8c6283d196751872dcfc52bda3070f88b37bf702..abb3756ca365e2e0c6ab7cd698e2e2095a36f23f 100755 (executable)
@@ -15,7 +15,7 @@ SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
 def main():
   os.chdir(SOURCE_ROOT)
 
-  if platform.architecture()[0] != '64bit':
+  if PLATFORM != 'win32' and platform.architecture()[0] != '64bit':
     print 'Electron is required to be built on a 64bit machine'
     return 1