Skip to content

Commit

Permalink
feat(wechat): 增加wechat.linux.v1.0.0.145
Browse files Browse the repository at this point in the history
  • Loading branch information
fishros committed May 2, 2024
1 parent fbd739b commit 407e206
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def main():
__.' ~. .~ `.__
.'// 开卷有益 \./ 书山有路 \\ `.
.'// 可以多看看小鱼的文章 | 关注公众号鱼香ROS \\ `.
.'// .-~'''''''''~~~~-._ | _,-~~~~'''''''[-. \\`.
.'// .-~~~~~~~~~~~~~~-._ | _,-~~~~~~~~~~~. \\`.
.'//.-" `-. | .-' "-.\\`.
.'//______.============-.. \ | / ..-============.______\\`.
.'______________________________\|/______________________________`
Expand Down
2 changes: 0 additions & 2 deletions tools/tool_config_rosenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ def __init__(self):
self.type = BaseTool.TYPE_CONFIG
self.name = "一键配置ROS开发环境"
self.autor = '小鱼'


def config_rosenv(self):
def get_source_command(dic):
choose = 'echo "<tips>?"\nread choose\ncase $choose in\n'
Expand Down
11 changes: 4 additions & 7 deletions tools/tool_install_wechat.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def install_wechat(self):
# sudo apt remove wechat-linux-spark
"""
wechat_version_dic = {1:"Docker版本",2:"桌面版本(v2.1.1)",3:"推荐:wine版本(v3.0.0)",4:"一键清理"}
wechat_version_dic = {1:"Docker版本",2:"桌面版本(v2.1.1)",3:"推荐:Linux版本(1.0.0.145)",4:"一键清理"}
code,_ = ChooseTask(wechat_version_dic,"请选择微信版本(两个版本区别对比:https://fishros.org.cn/forum/topic/195):",False).run()
if code==2:
AptUtils.install_pkg("git")
Expand All @@ -48,13 +48,10 @@ def install_wechat(self):
CmdTask('rm -rf /tmp/wechat_deb',os_command=True).run()
PrintUtils.print_success("已为你安装完成wechat~")
if code==3:
CmdTask('wget http://archive.ubuntukylin.com/software/pool/partner/ukylin-wine_70.6.3.25_amd64.deb -O /tmp/ukylin-wine_70.6.3.25_amd64.deb',os_command=True).run()
CmdTask('wget http://archive.ubuntukylin.com/software/pool/partner/ukylin-wechat_3.0.0_amd64.deb -O /tmp/ukylin-wechat_3.0.0_amd64.deb',os_command=True).run()
CmdTask('sudo apt install xdotool',os_command=True).run()
CmdTask('sudo dpkg -i /tmp/ukylin-wine_70.6.3.25_amd64.deb',os_command=True).run()
CmdTask('sudo dpkg -i /tmp/ukylin-wechat_3.0.0_amd64.deb',os_command=True).run()
CmdTask('wget https://mirror.ghproxy.com/https://github.com/lovechoudoufu/wechat_for_linux/releases/download/wechat-beta-%E7%BB%95%E8%BF%87%E7%99%BB%E5%BD%95%E6%A3%80%E6%B5%8B/wechat-beta_1.0.0.145_amd64.fixed.deb -O /tmp/wechat.deb',os_command=True).run()
CmdTask('sudo dpkg -i /tmp/wechat.deb',os_command=True).run()
CmdTask('apt --fix-broken install -y',os_command=True).run()
PrintUtils.print_success("已为你安装完成wechat-wine版本~")
PrintUtils.print_success("已为你安装完成wechat-linux版本~")
if code == 1:
run_tool_file('tools.tool_install_docker')
user = FileUtils.getusers()[0]
Expand Down

0 comments on commit 407e206

Please sign in to comment.