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",
|
setup(name="UpstreamBoardUtil.exe",
|
||||||
version=version,
|
version=version,
|
||||||
description="Upstream Data Board Utility Build",
|
description="Upstream Data Board Utility Build",
|
||||||
options={"build_exe": {"build_exe": f"{os.getcwd()}\\build\\board_util\\UpstreamBoardUtil-{version}-{sys.platform}\\"
|
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")]
|
"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:
|
async with (await self._get_ssh_connection()) as conn:
|
||||||
command = 'cat /etc/config/cgminer'
|
command = 'cat /etc/config/cgminer'
|
||||||
result = await conn.run(command, check=True)
|
result = await conn.run(command, check=True)
|
||||||
self._result_handler(result)
|
|
||||||
self.config = result.stdout
|
self.config = result.stdout
|
||||||
print(str(self.config))
|
print(str(self.config))
|
||||||
|
|||||||
Reference in New Issue
Block a user