zhullyb / deepin.com.dingtalk.com

This is a Unofficial deepin-wine container for Dingtalk | 这是个非官方钉钉容器
40 stars 1 forks source link

如何 设置 url使用os的chrome打开,而不是使用wine里的ie? #16

Open liangjiezhu opened 3 years ago

liangjiezhu commented 3 years ago

我自己回答吧:

  1. 进入目录 cd ~/.deepinwine/Deepin-DingTalk/drive_c/Program Files/Internet Explorer

2.备份原有iexplore.exe mv iexplore.exe iexplore.exe.backup.exe

3.重写iexplore.exe,改为调用本地linux的chrome

`#!/bin/bash

Allow users to override command-line options

if [[ -f ~/.config/chrome-flags.conf ]]; then CHROME_USER_FLAGS="$(cat ~/.config/chrome-flags.conf)" fi

Launch

exec /opt/google/chrome/google-chrome $CHROME_USER_FLAGS "$@"`

4.加入权限 chmod 755 iexplore.exe

参考: https://blog.csdn.net/greenlight_74110/article/details/80264454