mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-15 07:36:01 +08:00
支持运行pyc格式文件 (#1072)
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ define_program() {
|
||||
local first_param=$1
|
||||
if [[ $first_param == *.js ]]; then
|
||||
which_program="node"
|
||||
elif [[ $first_param == *.py ]]; then
|
||||
elif [[ $first_param == *.py ]] || [[ $first_param == *.pyc ]]; then
|
||||
which_program="python3"
|
||||
elif [[ $first_param == *.sh ]]; then
|
||||
which_program="bash"
|
||||
|
||||
Reference in New Issue
Block a user