run.sh

来自「A Flash Player with ActionScript support」· Shell 代码 · 共 32 行

SH
32
字号
#!/bin/shkill -9 `ps -x|grep artsd|cut -d? -f1` 2>/dev/null 1>/dev/nullesd -tcp -port 18000 &fplayer="fplayer"font="simsun.ttc"if [ ! -x /usr/bin/perl ];then read -p  "Warn!!,The program /usr/bin/perl isn't exist. first, install it,please!"  aaa &&  exitfiif [ ! -f ./${fplayer} ] && [ ! -L ./${fplayer} ];then   if [ -f ../../src/${fplayer} ];then	rm -rf ./${fplayer}         ln -s ../../src/${fplayer}    else	read -p "I must stop , ${fplayer} doesn't exist ,compile it, please" aaa &&  exit   fifiif [ ! -f ./${font} ] && [ ! -L ./${font} ];then   if [ -f ../../src/${font} ];then	rm -rf ./${font}         ln -s ../../src/${font}    else	read -p "I must stop , ${font} doesn't exist ,compile it, please" aaa && exit   fifichmod 777 fplayer chmod u+r simsun.ttcfor var in `find * -name "*.[s|S][w|W][f|F]"` do sh ./test_rc.sh $var 2>/dev/null 1>/dev/null &  sleep 1;done 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?