forked from cytle/wechat_web_devtools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
炒饭
committed
Mar 30, 2017
1 parent
abe771a
commit 2f3cd7e
Showing
3 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | ||
|