Skip to content

Commit

Permalink
Tweak web-app export.
Browse files Browse the repository at this point in the history
  • Loading branch information
litan committed Aug 1, 2020
1 parent 5931e01 commit 5bdba07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/main/scala/net/kogics/kojo/appexport/WebAppExporter.scala
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ $script
if (jsCodeSeq.length > 0) {
val home = System.getProperty("user.home")
val exportDir = s"$home/kojo-export"
println(s"Downloading and extracting Web-App template to $exportDir...")
val displayExportDir = new File(exportDir).getCanonicalPath
println(s"Downloading and extracting Web-App template to $displayExportDir...")
val templateUrl = new URL("https://github.com/litan/kojo/blob/master/src/main/resources/export/webapp.zip?raw=true")
Unzipper.unzipUrl(templateUrl, exportDir)
println("Template downloading and extracting done.")
Expand All @@ -94,7 +95,7 @@ $script
bw.close()
println("Export done.")
println("---")
println(s"The exported Web-App is available at $exportDir/webapp")
println(s"The exported Web-App is available at $displayExportDir")
println("---")
println("For information on what to do next, check out - https://docs.kogics.net/howtos/webapp-export.html")
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/net/kogics/kojo/lite/Versions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package net.kogics.kojo.lite
object Versions {
val KojoMajorVersion = "2.9"
val KojoVersion = "2.9.05"
val KojoRevision = "r5"
val KojoRevision = "r6"
val KojoBuildDate = "1 August 2020"
val JavaVersion = {
val jrv = System.getProperty("java.runtime.version")
Expand Down

0 comments on commit 5bdba07

Please sign in to comment.