export_presets.cfg 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. [preset.0]
  2. name="Windows Desktop"
  3. platform="Windows Desktop"
  4. runnable=true
  5. dedicated_server=false
  6. custom_features=""
  7. export_filter="all_resources"
  8. include_filter=""
  9. exclude_filter=""
  10. export_path="release/client.exe"
  11. encryption_include_filters=""
  12. encryption_exclude_filters=""
  13. encrypt_pck=false
  14. encrypt_directory=false
  15. [preset.0.options]
  16. custom_template/debug=""
  17. custom_template/release=""
  18. debug/export_console_wrapper=0
  19. binary_format/embed_pck=false
  20. texture_format/bptc=true
  21. texture_format/s3tc=true
  22. texture_format/etc=false
  23. texture_format/etc2=false
  24. binary_format/architecture="x86_64"
  25. codesign/enable=false
  26. codesign/timestamp=true
  27. codesign/timestamp_server_url=""
  28. codesign/digest_algorithm=1
  29. codesign/description=""
  30. codesign/custom_options=PackedStringArray()
  31. application/modify_resources=false
  32. application/icon=""
  33. application/console_wrapper_icon=""
  34. application/icon_interpolation=4
  35. application/file_version=""
  36. application/product_version=""
  37. application/company_name=""
  38. application/product_name=""
  39. application/file_description=""
  40. application/copyright=""
  41. application/trademarks=""
  42. application/export_angle=0
  43. ssh_remote_deploy/enabled=false
  44. ssh_remote_deploy/host="user@host_ip"
  45. ssh_remote_deploy/port="22"
  46. ssh_remote_deploy/extra_args_ssh=""
  47. ssh_remote_deploy/extra_args_scp=""
  48. ssh_remote_deploy/run_script="Expand-Archive -LiteralPath '{temp_dir}\\{archive_name}' -DestinationPath '{temp_dir}'
  49. $action = New-ScheduledTaskAction -Execute '{temp_dir}\\{exe_name}' -Argument '{cmd_args}'
  50. $trigger = New-ScheduledTaskTrigger -Once -At 00:00
  51. $settings = New-ScheduledTaskSettingsSet
  52. $task = New-ScheduledTask -Action $action -Trigger $trigger -Settings $settings
  53. Register-ScheduledTask godot_remote_debug -InputObject $task -Force:$true
  54. Start-ScheduledTask -TaskName godot_remote_debug
  55. while (Get-ScheduledTask -TaskName godot_remote_debug | ? State -eq running) { Start-Sleep -Milliseconds 100 }
  56. Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue"
  57. ssh_remote_deploy/cleanup_script="Stop-ScheduledTask -TaskName godot_remote_debug -ErrorAction:SilentlyContinue
  58. Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue
  59. Remove-Item -Recurse -Force '{temp_dir}'"
  60. [preset.1]
  61. name="Linux/X11"
  62. platform="Linux/X11"
  63. runnable=true
  64. dedicated_server=true
  65. custom_features=""
  66. export_filter="customized"
  67. customized_files={
  68. "res://": "strip",
  69. "res://scenes/": "strip",
  70. "res://scenes/launch/": "strip",
  71. "res://scenes/launch/launch.tscn": "strip",
  72. "res://scripts/": "strip",
  73. "res://scripts/base/": "strip",
  74. "res://scripts/base/client/": "strip",
  75. "res://scripts/base/client/client.gd": "strip",
  76. "res://scripts/base/global.gd": "strip",
  77. "res://scripts/base/server/": "strip",
  78. "res://scripts/base/server/server.gd": "strip",
  79. "res://scripts/base/utils/": "strip",
  80. "res://scripts/base/utils/request.gd": "strip"
  81. }
  82. include_filter=""
  83. exclude_filter=""
  84. export_path="release/server.x86_64"
  85. encryption_include_filters=""
  86. encryption_exclude_filters=""
  87. encrypt_pck=false
  88. encrypt_directory=false
  89. [preset.1.options]
  90. custom_template/debug=""
  91. custom_template/release=""
  92. debug/export_console_wrapper=1
  93. binary_format/embed_pck=false
  94. texture_format/bptc=true
  95. texture_format/s3tc=true
  96. texture_format/etc=false
  97. texture_format/etc2=false
  98. binary_format/architecture="x86_64"
  99. ssh_remote_deploy/enabled=false
  100. ssh_remote_deploy/host="user@host_ip"
  101. ssh_remote_deploy/port="22"
  102. ssh_remote_deploy/extra_args_ssh=""
  103. ssh_remote_deploy/extra_args_scp=""
  104. ssh_remote_deploy/run_script="#!/usr/bin/env bash
  105. export DISPLAY=:0
  106. unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\"
  107. \"{temp_dir}/{exe_name}\" {cmd_args}"
  108. ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash
  109. kill $(pgrep -x -f \"{temp_dir}/{exe_name} {cmd_args}\")
  110. rm -rf \"{temp_dir}\""