File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
corvette/src/main/kotlin/com/github/theapache64/corvetee
src/main/kotlin/com/theapache64/createcomposeapp Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,10 @@ class Corvette(
115115 }
116116 targetSrcPath.createDirectories()
117117 myAppSrcPath.moveTo(targetSrcPath, overwrite = true )
118+ val srcParent = myAppSrcPath.parent.toFile()
119+ if (srcParent.listFiles()?.isEmpty() == true ) {
120+ srcParent.deleteRecursively()
121+ }
118122 }
119123 }
120124 }
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import com.github.theapache64.corvetee.util.println
77import kotlin.io.path.Path
88import kotlin.io.path.div
99
10- private const val IS_DEBUG = false
10+ private const val IS_DEBUG = true
1111
1212enum class Platform (val title : String ) {
1313 Android (" Android" ),
You can’t perform that action at this time.
0 commit comments