makeyangcom 8 months ago
parent
commit
4fb6b4fd79
2 changed files with 5 additions and 0 deletions
  1. 3 0
      game/scenes/test.tscn
  2. 2 0
      tools/update.sh

+ 3 - 0
game/scenes/test.tscn

@@ -0,0 +1,3 @@
+[gd_scene format=3 uid="uid://do0h1etixmwf3"]
+
+[node name="Node2D" type="Node2D"]

+ 2 - 0
tools/update.sh

@@ -14,6 +14,8 @@ if [ ! -d "/data/wwwroot/game" ]; then
     mkdir -p /data/wwwroot/game
     mkdir -p /data/wwwroot/game
 fi
 fi
 
 
+sudo chmod +x /data/wwwroot/game/*
+
 # 编译后端服务
 # 编译后端服务
 cd /data/wwwroot/server/
 cd /data/wwwroot/server/
 /usr/local/go/bin/go env -w GOSUMDB=off
 /usr/local/go/bin/go env -w GOSUMDB=off