| @@ -53,6 +53,9 @@ jobs: | |||||
| steps: | steps: | ||||
| - uses: actions/checkout@v3 | - uses: actions/checkout@v3 | ||||
| - name: Unix to docs | |||||
| run: sh ./dependency/shell/Unix2dox.sh | |||||
| - name: Hash THUAI6 | - name: Hash THUAI6 | ||||
| run: | | run: | | ||||
| python ./dependency/py/HashFiles.py -t ../THUAI6 | python ./dependency/py/HashFiles.py -t ../THUAI6 | ||||
| @@ -14,13 +14,6 @@ def generateHashFile(): | |||||
| for root, dirs, files in os.walk(file): | for root, dirs, files in os.walk(file): | ||||
| for file in files: | for file in files: | ||||
| path = os.path.join(root, file) | path = os.path.join(root, file) | ||||
| if mimetypes.guess_type(file)[0] == 'text/plain': | |||||
| with open(path, 'r', errors='ignore') as f: | |||||
| data = f.read() | |||||
| if data.find('\r\n') == -1 : | |||||
| data.replace('\n','\r\n') | |||||
| with open(path, 'w') as f: | |||||
| f.write(data) | |||||
| with open(path, 'rb') as f: | with open(path, 'rb') as f: | ||||
| data = f.read() | data = f.read() | ||||
| hashlist[path.replace('\\','/')]=hashlib.md5(data).hexdigest() | hashlist[path.replace('\\','/')]=hashlib.md5(data).hexdigest() | ||||
| @@ -0,0 +1,17 @@ | |||||
| #! /bin/bash | |||||
| function lsdir() | |||||
| { | |||||
| for i in `ls`; | |||||
| do | |||||
| if [ -d $i ] | |||||
| then | |||||
| pushd ./$i | |||||
| lsdir | |||||
| popd | |||||
| else | |||||
| unix2dos $i | |||||
| fi | |||||
| done | |||||
| } | |||||
| cd ../../ | |||||
| lsdir | |||||
| @@ -108,6 +108,8 @@ $$ | |||||
| - 除了翻窗,交互目标与交互者在一个**九宫格**方可交互 | - 除了翻窗,交互目标与交互者在一个**九宫格**方可交互 | ||||
| - 交互进度每毫秒增加对应交互速度的值 | - 交互进度每毫秒增加对应交互速度的值 | ||||
| - 作业,门,箱子完成/开启进度达到10000000为完成 | - 作业,门,箱子完成/开启进度达到10000000为完成 | ||||
| - 校门开启进度达到18000为完成 | |||||
| #### 学习与毕业 | #### 学习与毕业 | ||||
| - 共有10间教室,学生需要完成**7间**教室的作业,才可以开启校门。 | - 共有10间教室,学生需要完成**7间**教室的作业,才可以开启校门。 | ||||