修改百度地图AK
This commit is contained in:
14
backend/fix-line-endings.sh
Normal file
14
backend/fix-line-endings.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
# 修复行尾符问题的脚本
|
||||
|
||||
echo "修复 node_manager.sh 的行尾符..."
|
||||
|
||||
# 方法1: 使用 sed (推荐)
|
||||
sed -i 's/\r$//' node_manager.sh
|
||||
|
||||
# 设置执行权限
|
||||
chmod +x node_manager.sh
|
||||
|
||||
echo "修复完成!"
|
||||
echo "现在可以运行: ./node_manager.sh start"
|
||||
|
||||
Reference in New Issue
Block a user