Skip to content

Commit

Permalink
Merge branch 'master' of github.com:iobond/aib
Browse files Browse the repository at this point in the history
  • Loading branch information
9cat committed Aug 8, 2018
2 parents c616540 + 2e03e45 commit 2c02721
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 25 deletions.
22 changes: 0 additions & 22 deletions .vscode/ftp-sync.json

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ AIB is also the dual value system to enable the special token econimic system fo
It ensure the small , spreaded investment could less risky toward certain projects
It will also enhanced by smart contract on the road.


For more information, as well as an immediately useable, binary version of
the AIB Core software, see [https://www.aib.one](https://www.aib.one).

Expand Down
17 changes: 15 additions & 2 deletions contrib/macdeploy/macdeployqtplus
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,19 @@ def getFrameworks(binaryPath, verbose):
print(info)
libraries.append(info)

#Also copy libboost_system-mt when libboost_system exists (9Cat by bigmouse)
if line.find("libboost_system") > 0:
boost_system_line = line
boost_system_line = boost_system_line.replace("libboost_system", "libboost_system-mt")
print("boost_system_line:" + boost_system_line)
boost_system_line = boost_system_line.replace("@loader_path", os.path.dirname(binaryPath))
info = FrameworkInfo.fromOtoolLibraryLine(boost_system_line.strip())
if info is not None:
if verbose >= 3:
print("Found framework:")
print(info)
libraries.append(info)

return libraries

def runInstallNameTool(action, *args):
Expand Down Expand Up @@ -796,7 +809,7 @@ if config.dmg is not None:
except subprocess.CalledProcessError as e:
sys.exit(e.returncode)

m = re.search("/Volumes/(.+$)", output)
m = re.search("/Volumes/(.+$)", output.decode())
disk_root = m.group(0)
disk_name = m.group(1)

Expand Down Expand Up @@ -873,7 +886,7 @@ if config.dmg is not None:
print(s)

p = subprocess.Popen(['osascript', '-'], stdin=subprocess.PIPE)
p.communicate(input=s)
p.communicate(input=s.encode('utf-8'))
if p.returncode:
print("Error running osascript.")

Expand Down

0 comments on commit 2c02721

Please sign in to comment.