Merge pull request #222 from nightscout/dev

engineering__mode
This commit is contained in:
Milos Kozak 2021-01-12 11:08:32 +01:00 committed by GitHub
commit ec8ff3f203
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ class BuildHelper @Inject constructor(private val config: Config) {
init {
val extFilesDir = LoggerUtils.getLogDirectory()
val engineeringModeSemaphore = File(extFilesDir, "engineering_mode")
val engineeringModeSemaphore = File(extFilesDir, "engineering__mode")
engineeringMode = engineeringModeSemaphore.exists() && engineeringModeSemaphore.isFile
devBranch = BuildConfig.VERSION.contains("-") || BuildConfig.VERSION.matches(Regex(".*[a-zA-Z]+.*"))