git-svn-id: file:///home/svn/framework3/trunk@13082 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2011-07-01 23:20:31 +00:00
parent dbd04d754a
commit 56de119a0f
1 changed files with 6 additions and 1 deletions

View File

@ -73,6 +73,7 @@ function getVersion(){
case "344": // opera-9.0-20060616.1-static-qt.i386-en-344 case "344": // opera-9.0-20060616.1-static-qt.i386-en-344
case "2091": // opera-9.52-2091.gcc3-shared-qt3.i386.rpm case "2091": // opera-9.52-2091.gcc3-shared-qt3.i386.rpm
case "2444": // opera-9.60.gcc4-shared-qt3.i386.rpm case "2444": // opera-9.60.gcc4-shared-qt3.i386.rpm
case "6386": // 10.61
os_name = "#{oses::LINUX}"; os_name = "#{oses::LINUX}";
break; break;
case "8502": // "Opera 9 Eng Setup.exe" case "8502": // "Opera 9 Eng Setup.exe"
@ -82,8 +83,12 @@ function getVersion(){
case "8801": // "Opera_9.22_Eng_Setup.exe" case "8801": // "Opera_9.22_Eng_Setup.exe"
case "10108": // "Opera_952_10108_en.exe" case "10108": // "Opera_952_10108_en.exe"
case "10467": // "Opera_962_en_Setup.exe" case "10467": // "Opera_962_en_Setup.exe"
case "3445": // 10.61
os_name = "#{oses::WINDOWS}"; os_name = "#{oses::WINDOWS}";
break; break;
case "6386": // 10.61
os_name = "#{oses::MAC_OSX}";
break;
//default: //default:
// document.write(opera.buildNumber('inconspicuous')); // document.write(opera.buildNumber('inconspicuous'));
// break; // break;
@ -133,7 +138,7 @@ function getVersion(){
if (platform.match(/x86_64/)) { if (platform.match(/x86_64/)) {
arch = "#{ARCH_X86_64}"; arch = "#{ARCH_X86_64}";
} else if (platform.match(/arm/)) { } else if (platform.match(/arm/)) {
// Android // Android and maemo
arch = "#{ARCH_ARMLE}"; arch = "#{ARCH_ARMLE}";
} }
} else if (platform.match(/windows/)) { } else if (platform.match(/windows/)) {