From 984ccbc1d18f86b6190cc8da1e67c1828555cbbb Mon Sep 17 00:00:00 2001 From: I049299 Date: Tue, 13 Oct 2015 20:55:12 +0100 Subject: [PATCH] Gettools spec file --- gettools.py | 7 +++++++ gettools/gettools.spec | 17 +++++++++++++++++ readme-bbcode.txt | 19 ------------------- readme.txt | 16 ---------------- 4 files changed, 24 insertions(+), 35 deletions(-) create mode 100644 gettools/gettools.spec diff --git a/gettools.py b/gettools.py index 99a189c..61aa0be 100644 --- a/gettools.py +++ b/gettools.py @@ -23,6 +23,7 @@ THE SOFTWARE. """ import os +import sys import urllib import urllib2 from HTMLParser import HTMLParser @@ -55,6 +56,12 @@ def convertPath(path): def main(): + + # Check minimal Python version is 2.7 + if sys.version_info < (2, 7): + sys.stderr.write('You need Python 2.7 or later\n') + sys.exit(1) + # Setup url and file paths url = 'http://softwareupdate.vmware.com/cds/vmw-desktop/fusion/' dir = os.path.dirname(os.path.abspath(__file__)) diff --git a/gettools/gettools.spec b/gettools/gettools.spec new file mode 100644 index 0000000..cb35952 --- /dev/null +++ b/gettools/gettools.spec @@ -0,0 +1,17 @@ +# -*- mode: python -*- +a = Analysis(['D:\\vmware\\unlocker\\gettools.py'], + pathex=['D:\\PyInstaller-2.1\\gettools'], + hiddenimports=[], + hookspath=None, + runtime_hooks=None) +pyz = PYZ(a.pure) +exe = EXE(pyz, + a.scripts, + a.binaries, + a.zipfiles, + a.datas, + name='gettools.exe', + debug=False, + strip=None, + upx=True, + console=True ) diff --git a/readme-bbcode.txt b/readme-bbcode.txt index f6426b7..080b9d8 100644 --- a/readme-bbcode.txt +++ b/readme-bbcode.txt @@ -59,25 +59,6 @@ Latest Linux and ESXi products are OK and do not show this problem.   [code=auto:0] smc.version = "0" |[/code]   - -To remove the check for server versions for OS X Leopard and Snow Leopard -(10.5 and 10.6) you must use a replacement EFI firwmare module from the firmware -folder. - -If you are using a 32-bit installation of OS X: - -1. Copy efi32-srvr.rom to guest folder. -2. Edit the vmx file and add: -  -[code=auto:0]efi32.filename = "efi32-srvr.rom"[/code] -  -If you are using a 64-bit installation of OS X: - -1. Copy efi64-srvr.rom to guest folder. -2. Edit the vmx file and add: -  -[code=auto:0]efi64.filename = "efi64-srvr.rom"[/code] -  [u]4. Windows[/u] On Windows you will need to either run cmd.exe as Administrator or using diff --git a/readme.txt b/readme.txt index ca4836e..3ac8f8c 100755 --- a/readme.txt +++ b/readme.txt @@ -65,22 +65,6 @@ Latest Linux and ESXi products are OK and do not show this problem. | | +-----------------------------------------------------------------------------+ -To remove the check for server versions for OS X Leopard and Snow Leopard -(10.5 and 10.6) you must use a replacement EFI firwmare module from the firmware -folder. - -If you are using a 32-bit installation of OS X: - -1. Copy efi32-srvr.rom to guest folder. -2. Edit the vmx file and add: - efi32.filename = "efi32-srvr.rom" - -If you are using a 64-bit installation of OS X: - -1. Copy efi64-srvr.rom to guest folder. -2. Edit the vmx file and add: - efi64.filename = "efi64-srvr.rom" - 4. Windows ---------- On Windows you will need to either run cmd.exe as Administrator or using