| 22 | } |
| 23 | |
| 24 | fun loadSetting(envKey: String, propKey: String, setter: (value: String) -> Unit) { |
| 25 | if (props.containsKey(propKey)) { |
| 26 | setter(props.getProperty(propKey)) |
| 27 | } else { |
| 28 | val env = providers |
| 29 | .environmentVariable(envKey) |
| 30 | if (env.isPresent) { |
| 31 | setter(env.get()) |
| 32 | } |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | var libDescription = |
| 37 | "alphaTab is a cross platform music notation and guitar tablature rendering library." |