Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
goreliu committed Sep 9, 2017
1 parent 161eec2 commit 11e6812
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
mkdir -p RunZ
cp * RunZ -r 2>/dev/null

cd RunZ
cd RunZ || exit 1

cp /mnt/c/mine/app/AutoHotkey/AutoHotkeyU32.exe RunZ.exe
rm -f build
rm -f Core/*.js
rm -f Core/*.lnk
rm -f Core/Plugins.ahk
rm -f Conf/RunZ.ini
Expand All @@ -26,10 +25,11 @@ echo "https://github.com/goreliu/runz/releases" >> Doc/更新历史.md.new
echo >> Doc/更新历史.md.new
cat Doc/更新历史.md >> Doc/更新历史.md.new

for i in Doc/*.md*; do
for i (Doc/*.md*) {
sed -i "1s/^/\xEF\xBB\xBF/g" $i
unix2dos $i
done
# unix2dos $i
sed -i 's/$//g' $i
}

mv Doc/更新历史.md.new Doc/更新历史.md
mv Doc/Home.md Doc/介绍.md
Expand Down

0 comments on commit 11e6812

Please sign in to comment.