From a3463119e8927f0d1b47e15a3077c9813a73c7cf Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 3 Jul 2015 18:03:52 +0800 Subject: [PATCH] Don't warn arch on Windows --- script/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/update.py b/script/update.py index 8c6283d1..abb3756c 100755 --- a/script/update.py +++ b/script/update.py @@ -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 -- 2.43.0