fixed some bugs with cgminer, and included VC redistributables in CXFreeze build for CFG util
This commit is contained in:
@@ -22,8 +22,17 @@ print(version)
|
||||
setup(name="UpstreamBoardUtil.exe",
|
||||
version=version,
|
||||
description="Upstream Data Board Utility Build",
|
||||
options={"build_exe": {"build_exe": f"{os.getcwd()}\\build\\board_util\\UpstreamBoardUtil-{version}-{sys.platform}\\"
|
||||
},
|
||||
},
|
||||
executables=[Executable("board_util.py", base=base, icon="icon.ico", target_name="UpstreamBoardUtil.exe")]
|
||||
options={
|
||||
"build_exe": {
|
||||
"build_exe": f"{os.getcwd()}\\build\\board_util\\UpstreamBoardUtil-{version}-{sys.platform}\\",
|
||||
"include_msvcr": True,
|
||||
"add_to_path": True
|
||||
},
|
||||
},
|
||||
executables=[Executable(
|
||||
"board_util.py",
|
||||
base=base,
|
||||
icon="icon.ico",
|
||||
target_name="UpstreamBoardUtil.exe"
|
||||
)]
|
||||
)
|
||||
|
||||
@@ -110,6 +110,5 @@ class CGMiner(BaseMiner):
|
||||
async with (await self._get_ssh_connection()) as conn:
|
||||
command = 'cat /etc/config/cgminer'
|
||||
result = await conn.run(command, check=True)
|
||||
self._result_handler(result)
|
||||
self.config = result.stdout
|
||||
print(str(self.config))
|
||||
|
||||
Reference in New Issue
Block a user