Skip to content

Commit

Permalink
修改当前路径为绝对路径
Browse files Browse the repository at this point in the history
  • Loading branch information
炒饭 committed Mar 27, 2017
1 parent 17da886 commit 87d19c3
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 3 deletions.
5 changes: 4 additions & 1 deletion WeappVendor/wcc.exe
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#! /bin/sh

cur_dir=${dirname $0}
cd `dirname $0`
cur_dir=$(pwd)

WINEPREFIX=~/.wine32
wine ${cur_dir}/s/wcc.exe
5 changes: 4 additions & 1 deletion WeappVendor/wcsc.exe
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#! /bin/sh

cur_dir=${dirname $0}
cd `dirname $0`
cur_dir=$(pwd)

WINEPREFIX=~/.wine32
wine ${cur_dir}/s/wcsc.exe
4 changes: 3 additions & 1 deletion bin/install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#! /bin/sh

cur_dir=${dirname $0}
cd $(dirname $0)
cur_dir=$(pwd)
dev_tools_config_dir="$HOME/.config/微信web开发者工具"

rm -rf $dev_tools_config_dir
Expand All @@ -12,6 +13,7 @@ if [ -d "$dev_tools_config_dir" ]; then
cd $dev_tools_config_dir/WeappVendor
mkdir -p s
mv wc* s
echo "cp $cur_dir/WeappVendor/* $(pwd)"
cp $cur_dir/WeappVendor/* ./
fi

Expand Down
Binary file added images/2017-03-27 11-43-56屏幕截图.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/2017-03-27 11-44-34屏幕截图.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/小程序创建.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 87d19c3

Please sign in to comment.