update oml to 10.10 version
This commit is contained in:
parent
8c9b09577d
commit
6c6c3e68c6
5 changed files with 33 additions and 18 deletions
|
@ -3,7 +3,7 @@
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<key>BuildMachineOSBuild</key>
|
<key>BuildMachineOSBuild</key>
|
||||||
<string>15D21</string>
|
<string>15C50</string>
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
<string>en</string>
|
<string>en</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>0.6</string>
|
<string>0.7</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleSupportedPlatforms</key>
|
<key>CFBundleSupportedPlatforms</key>
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
<key>DTCompiler</key>
|
<key>DTCompiler</key>
|
||||||
<string>com.apple.compilers.llvm.clang.1_0</string>
|
<string>com.apple.compilers.llvm.clang.1_0</string>
|
||||||
<key>DTPlatformBuild</key>
|
<key>DTPlatformBuild</key>
|
||||||
<string>7C68</string>
|
<string>7C1002</string>
|
||||||
<key>DTPlatformVersion</key>
|
<key>DTPlatformVersion</key>
|
||||||
<string>GM</string>
|
<string>GM</string>
|
||||||
<key>DTSDKBuild</key>
|
<key>DTSDKBuild</key>
|
||||||
|
@ -39,11 +39,11 @@
|
||||||
<key>DTSDKName</key>
|
<key>DTSDKName</key>
|
||||||
<string>macosx10.11</string>
|
<string>macosx10.11</string>
|
||||||
<key>DTXcode</key>
|
<key>DTXcode</key>
|
||||||
<string>0720</string>
|
<string>0721</string>
|
||||||
<key>DTXcodeBuild</key>
|
<key>DTXcodeBuild</key>
|
||||||
<string>7C68</string>
|
<string>7C1002</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
<string>10.11</string>
|
<string>10.10</string>
|
||||||
<key>LSUIElement</key>
|
<key>LSUIElement</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>NSHumanReadableCopyright</key>
|
<key>NSHumanReadableCopyright</key>
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -20,6 +20,18 @@ def makedirs(dirname):
|
||||||
if not os.path.exists(dirname):
|
if not os.path.exists(dirname):
|
||||||
os.makedirs(dirname)
|
os.makedirs(dirname)
|
||||||
|
|
||||||
|
def get_platform():
|
||||||
|
name = sys.platform
|
||||||
|
if name.startswith('darwin'):
|
||||||
|
name = 'darwin64'
|
||||||
|
elif name.startswith('linux'):
|
||||||
|
import platform
|
||||||
|
if platform.architecture()[0] == '64bit':
|
||||||
|
name = 'linux64'
|
||||||
|
else:
|
||||||
|
name = 'linux32'
|
||||||
|
return name
|
||||||
|
|
||||||
class Handler(SimpleHTTPServer.SimpleHTTPRequestHandler):
|
class Handler(SimpleHTTPServer.SimpleHTTPRequestHandler):
|
||||||
def do_OPTIONS(self):
|
def do_OPTIONS(self):
|
||||||
self.send_response(200, 'OK')
|
self.send_response(200, 'OK')
|
||||||
|
@ -79,12 +91,15 @@ class Install(Thread):
|
||||||
release = self.get_release()
|
release = self.get_release()
|
||||||
self.status["release"] = release
|
self.status["release"] = release
|
||||||
self.status["progress"] = 0
|
self.status["progress"] = 0
|
||||||
|
platform = get_platform()
|
||||||
for module in sorted(release['modules']):
|
for module in sorted(release['modules']):
|
||||||
|
if release['modules'][module].get('platform', platform) == platform:
|
||||||
package_tar = release['modules'][module]['name']
|
package_tar = release['modules'][module]['name']
|
||||||
url = self.release_url.replace('release.json', package_tar)
|
url = self.release_url.replace('release.json', package_tar)
|
||||||
self.download(url, package_tar)
|
self.download(url, package_tar)
|
||||||
self.status["step"] = 'Installing...'
|
self.status["step"] = 'Installing...'
|
||||||
for module in sorted(release['modules']):
|
for module in sorted(release['modules']):
|
||||||
|
if release['modules'][module].get('platform', platform) == platform:
|
||||||
package_tar = release['modules'][module]['name']
|
package_tar = release['modules'][module]['name']
|
||||||
tar = tarfile.open(package_tar)
|
tar = tarfile.open(package_tar)
|
||||||
tar.extractall()
|
tar.extractall()
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
</data>
|
</data>
|
||||||
<key>Resources/Assets.car</key>
|
<key>Resources/Assets.car</key>
|
||||||
<data>
|
<data>
|
||||||
J0bcbd6bu3teEBZKNEEQTcykNSI=
|
/nndfnnD+E4e+8Ei7vZtKg7drFI=
|
||||||
</data>
|
</data>
|
||||||
<key>Resources/Base.lproj/MainMenu.nib</key>
|
<key>Resources/Base.lproj/MainMenu.nib</key>
|
||||||
<dict>
|
<dict>
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
</data>
|
</data>
|
||||||
<key>Resources/install.py</key>
|
<key>Resources/install.py</key>
|
||||||
<data>
|
<data>
|
||||||
8P8EjUEoWuHCRIRvQTi7vbDhGoM=
|
O7T+CZEr88aRYb4+kN3/DnjlfN0=
|
||||||
</data>
|
</data>
|
||||||
<key>Resources/js/install.js</key>
|
<key>Resources/js/install.js</key>
|
||||||
<data>
|
<data>
|
||||||
|
@ -135,7 +135,7 @@
|
||||||
</data>
|
</data>
|
||||||
<key>Resources/Assets.car</key>
|
<key>Resources/Assets.car</key>
|
||||||
<data>
|
<data>
|
||||||
J0bcbd6bu3teEBZKNEEQTcykNSI=
|
/nndfnnD+E4e+8Ei7vZtKg7drFI=
|
||||||
</data>
|
</data>
|
||||||
<key>Resources/Base.lproj/MainMenu.nib</key>
|
<key>Resources/Base.lproj/MainMenu.nib</key>
|
||||||
<dict>
|
<dict>
|
||||||
|
@ -156,7 +156,7 @@
|
||||||
</data>
|
</data>
|
||||||
<key>Resources/install.py</key>
|
<key>Resources/install.py</key>
|
||||||
<data>
|
<data>
|
||||||
8P8EjUEoWuHCRIRvQTi7vbDhGoM=
|
O7T+CZEr88aRYb4+kN3/DnjlfN0=
|
||||||
</data>
|
</data>
|
||||||
<key>Resources/js/install.js</key>
|
<key>Resources/js/install.js</key>
|
||||||
<data>
|
<data>
|
||||||
|
|
Loading…
Reference in a new issue