Skip to content

Commit

Permalink
替换大小写
Browse files Browse the repository at this point in the history
  • Loading branch information
炒饭 committed Mar 30, 2017
1 parent abe771a commit 2f3cd7e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.nw/app/dist/common/assdk/networkSdk.js

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

2 changes: 1 addition & 1 deletion package.nw/app/dist/components/ContainController.js

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

7 changes: 4 additions & 3 deletions replace.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#! /bin/sh

files=find ./package.nw/app/dist -type f -name '*.js'
files=$(find ./package.nw/app/dist -type f -name '*.js')

$files | xargs sed -i 's/\.\/main\.js/.\/Main\.js/g'
#find ./package.nw/app/dist -type f -name '*.js' | xargs sed -i 's/config\/appServiceConfig\.js/config\/appserviceConfig\.js/g'
echo $files | xargs sed -i 's/\.\/main\.js/.\/Main\.js/g'
echo $files | xargs sed -i 's/Create\/create/create\/create/g'
echo $files | xargs sed -i 's/config\/appServiceConfig\.js/config\/appserviceConfig\.js/g'

0 comments on commit 2f3cd7e

Please sign in to comment.