Skip to content

Commit

Permalink
Fixed Versioning of Frontend Resources
Browse files Browse the repository at this point in the history
  • Loading branch information
rpanic committed Mar 19, 2019
1 parent a5eb928 commit eec2461
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/kotlin/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fun main(args: Array<String>) {

class Main{

val frontend_version = "1.0.1";
val frontend_version = "1.1.0";

var map = HashMap<String, Editor>()
val path = "/filedata/"
Expand Down Expand Up @@ -326,6 +326,8 @@ class Main{
println("New version detected: Switching frontend from $version to $frontend_version")
root.deleteRecursively()
}
}else{
versionfile.writeText(frontend_version)
}
}

Expand Down
1 change: 1 addition & 0 deletions src/main/resources/frontend/frontend.version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.1.0

0 comments on commit eec2461

Please sign in to comment.