This repository has been archived by the owner on Jun 11, 2023. It is now read-only.
forked from ppy/osu
-
Notifications
You must be signed in to change notification settings - Fork 5
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
1 parent
1983f2e
commit 63707c0
Showing
13 changed files
with
21 additions
and
37 deletions.
There are no files selected for viewing
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
cols=`stty size|awk '{print $2}'` | ||
pause(){ | ||
read -p "按下Enter键继续" | ||
} | ||
|
||
while(true);do | ||
ori_arg=$(whiptail --title "原消息" --inputbox "" "$lines" "$cols" 3>&1 1>&2 2>&3) | ||
if [ $? != 0 ];then | ||
exit 1; | ||
fi | ||
new_arg=$(whiptail --title "新消息" --inputbox "要替换的消息:\n$ori_arg" "$lines" "$cols" 3>&1 1>&2 2>&3) | ||
sed -i "s/$ori_arg/$new_arg/g" ./osu.Desktop/bin/Release/netcoreapp3.0/Humanizer.dll | ||
pause | ||
done |