20,741
edits
m (→Translations) |
m (→Nasal module) |
||
Line 288: | Line 288: | ||
var (major, minor, patch) = split(".", acversion); | var (major, minor, patch) = split(".", acversion); | ||
})(); | })(); | ||
</syntaxhighlight> | |||
If the check failed, we can directly show the corresponding dialog, while logging everything to the console/log file: | |||
<syntaxhighlight lang="nasal"> | |||
fgcommand('dialog-show', props.Node.new({'dialog-name':'version-mismatch'}) ); | |||
</syntaxhighlight> | </syntaxhighlight> | ||