Skip to content

Commit

Permalink
fix:ctrl+b 编译快捷键无效
Browse files Browse the repository at this point in the history
  • Loading branch information
炒饭 committed Jun 18, 2017
1 parent cac4255 commit 9b1851d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions bin/replace_package_nw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ root_dir=$(cd `dirname $0`/.. && pwd -P)
# 打开工具上方目录
sed -ri -e 's/("win32")(\=\=\=process\.platform\|\|)(global\.appConfig\.isDev)/\1\2"linux"\2\3/g' "$root_dir/package.nw/app/dist/components/menubar/menubar.js"

# 大小写错误
# sensor工具
# sensor工具 大小写错误
sed -ri -e 's/Sensor\/index\.html/sensor\/index\.html/g' "$root_dir/package.nw/app/dist/extensions/devtools.html"

# TODO certificateDetailsPromise

# 绑定快捷键
sed -ri -e 's/("win32"===process\.platform),/\1||"linux"===process\.platform,/g' "$root_dir/package.nw/app/dist/common/shortCut/shortCut.js"
2 changes: 1 addition & 1 deletion package.nw/app/dist/common/shortCut/shortCut.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9b1851d

Please sign in to comment.