Fix Windows export: include examples/shared/ dependencies
The export_presets.cfg excluded examples/shared/** from both Windows Desktop and Linux Server presets. The multiplayer-fps.tscn main scene depends on files in this directory (network-popup.tscn, async.gd, simple-time-display.gd) — without them the exported binary crashes on startup with 'Can't load dependency' errors. - Remove examples/shared/** from Windows Desktop exclude_filter - Remove examples/shared/** from Linux Server exclude_filter
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=Tactical Shooter — dedicated game server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/home/oplabs/tactical-shooter
|
||||
ExecStart=/home/oplabs/.local/bin/godot --headless --scene res://scenes/headless_server.tscn -- --port 34197 --rcon-password changeme
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
Environment=SERVER_PORT=34197
|
||||
Environment=RCON_PORT=28960
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user