Load dictionary database from resources

This commit is contained in:
Marvin Elsen 2024-09-29 23:29:42 +02:00
parent 7add73fe28
commit 1ab6ef453a
Signed by: marvinelsen
GPG Key ID: 820672408CC318C2

View File

@ -29,7 +29,7 @@ class WillowApplication : Application() {
private const val FONT_SIZE = 12.0
private const val JDBC_CONNECTION_STRING = "jdbc:sqlite:dictionary.db"
private const val JDBC_CONNECTION_STRING = "jdbc:sqlite::resource:data/dictionary.db"
}
override fun init() {