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

参与/加入对话

onium是一个开源项目,在mit许可下发布。 基本上意味着疯狂。

请报告问题 here

许可证

Onium是根据麻省理工学院的许可条款授权的(参见文件 许可证.txt)。


热门话题
java Hibernate:列计数与第1行的值计数不匹配   java如何获取在listview上单击的项目的用户唯一id   java如何使用视图处理水平和垂直约束。跑了   在linux/ubuntu中运行java程序时出现NoClassDefFoundError   java如何使用安卓上发布的触摸屏?   每次访问页面时,Android都会运行Java   Java Netbeans Jlabel隐藏和显示   创建OnClickListener(Android)时的java NullPointerException   IntelliJ中的java本地脚本找不到mvn(IOException/没有这样的目录)   java查找三个数组中至少两个数组中的数字   关于如何拥有不同布局的java 安卓代码   JAVA中需要的数组正则表达式   javascript获取Struts 2 valuestack变量到JQuery   java查询可重入锁相对于同步块的缺点   java Varags对象处理异常