diff --git a/torbrowser-launcher b/torbrowser-launcher index 99312aa..d113e3e 100755 --- a/torbrowser-launcher +++ b/torbrowser-launcher @@ -71,7 +71,8 @@ class TorBrowserLauncher: # discover the architecture and language def discover_arch_lang(self): # figure out the architecture - self.architecture = subprocess.Popen(['uname', '-m'], stdout=subprocess.PIPE, stderr=None).stdout.read().strip('\n') + (sysname, nodename, release, version, machine) = os.uname() + self.architecture = machine # figure out the language available_languages = ['en-US', 'ar', 'de', 'es-ES', 'fa', 'fr', 'it', 'ko', 'nl', 'pl', 'pt-PT', 'ru', 'vi', 'zh-CN']