onium-将希伯来语支持注入Slack桌面应用程序
onium的Python项目详细描述
onium是一个小的实用程序,用于将希伯来语支持(自动rtl)注入 Slack的桌面应用程序。Onium是通过修改Slack的app.asar来实现这一点的 (松弛应用程序代码)并更改松弛应用程序本身。
什么是鼻孔?
Onium解决了Slack最突出的问题之一 他的剧本是从右向左写的。它通过将代码注入 将显示的文本修改为从右向左正确显示的时差 话。
slack应用程序是使用electron构建的,它基本上包装了 chromium浏览器和node.js服务器一起。onium修改html 由Chromium浏览器显示以正确支持希伯来语(和RTL) 语言。
onium通过修改slack的内部代码(创建一个“fixed 解决方案),直到Slack添加新的更新。
要求
您需要Python2.7或3.5或更高版本才能运行Onium。氨应该起作用 Windows、Mac和Linux。
快速启动
可以使用pip安装onium:
$ python -m pip install onium
只要python的scripts文件夹在您的路径中,只需运行
$ onium
用法
onium支持各种命令行参数
usage: onium [-h] [-l LOCATION] [--no-kill] [--no-start] [-b BACKUP] [-f] [-d] Inject hebrew support plugin into Slack's tab inside an electron app. This program injects the Chrome's hebrew_slack plugin into any electron (desktop) version of the slack app optional arguments: -h, --help show this help message and exit -l LOCATION, --location LOCATION Location of application to run, or auto, local (Windows only), store (Windows only) [default: auto] --no-kill Do not attempt to kill original application before starting --no-start Do not attempt to start application (assume already running) -b BACKUP, --backup BACKUP Name to use save original slack app backup. This will never overwrite an existing backup file. Fails if file already exists and not used with -f [default: app.asar.orig] -f, --force Proceed even if backup file already exists [default: False] -d, --debug Pass --remote-debugging-port=9222 to enable rendered debugger with chrome
请报告问题 here
许可证
Onium是根据麻省理工学院的许可条款授权的(参见文件 许可证.txt)。