File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
app/src/main/java/com/puutaro/commandclick/proccess/ubuntu Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,22 @@ import com.puutaro.commandclick.BuildConfig
5
5
6
6
object UbuntuInfo {
7
7
val user = " cmdclick"
8
+
9
+ private const val buildConfigDebug = BuildConfig .DEBUG
10
+
8
11
// for development
12
+ private const val devFalseInRelease = false
9
13
val onForDev = if (
10
- BuildConfig . DEBUG
14
+ buildConfigDebug
11
15
) true
12
- else false
16
+ else devFalseInRelease
17
+
18
+ private val createImageSwitchOffInRelease = CreateImageSwitch .off.name
19
+ val createImageSwitch = if (
20
+ buildConfigDebug
21
+ ) CreateImageSwitch .off.name
22
+ else createImageSwitchOffInRelease
13
23
14
- val createImageSwitch = CreateImageSwitch .off.name
15
24
val arm64UbuntuRootfsUrl =
16
25
decideArm64UbuntuRootfsUrl(createImageSwitch)
17
26
You can’t perform that action at this time.
0 commit comments