Automatically set the debugger property if an XML file in a "debugger" folder is selected (a convenience feature)
This commit is contained in:
parent
e26f3b80e0
commit
95212cff3f
1 changed files with 6 additions and 6 deletions
|
|
@ -45,7 +45,12 @@ of our Markdown or XML documents. Examples: 'automount' becomes 'autoMount', 'a
|
|||
{% else %}
|
||||
{% capture machine_app %}{{ machine_type }}{% endcapture %}
|
||||
{% endif %}
|
||||
{% if machine.debugger %}
|
||||
{% unless machine.config %}
|
||||
{% assign machine_config = "machine.xml" %}
|
||||
{% else %}
|
||||
{% assign machine_config = machine.config %}
|
||||
{% endunless %}
|
||||
{% if machine.debugger or machine_config contains "debugger" %}
|
||||
{% capture machine_file %}{{ machine_type }}-dbg{% endcapture %}
|
||||
{% assign machine_debugger = true %}
|
||||
{% else %}
|
||||
|
|
@ -91,11 +96,6 @@ of our Markdown or XML documents. Examples: 'automount' becomes 'autoMount', 'a
|
|||
{% else %}
|
||||
{% assign machine_autoType = "" %}
|
||||
{% endif %}
|
||||
{% unless machine.config %}
|
||||
{% assign machine_config = "machine.xml" %}
|
||||
{% else %}
|
||||
{% assign machine_config = machine.config %}
|
||||
{% endunless %}
|
||||
{% if machine.drives != nil %}
|
||||
{% if machine.drives == "" %}
|
||||
{% assign machine_drives = ",drives:[]" %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue