修正config.json路徑
This commit is contained in:
parent
2b98e67939
commit
9356be46ec
@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="GradleMigrationSettings" migrationVersion="1" />
|
||||
<component name="GradleSettings">
|
||||
<option name="linkedExternalProjectsSettings">
|
||||
<GradleProjectSettings>
|
||||
|
||||
@ -22,7 +22,7 @@ private lateinit var domain: String
|
||||
fun main() {
|
||||
println("Cloudflare DDNS 更新程式已啟動")
|
||||
|
||||
val confFile = File("config.json")
|
||||
val confFile = File("./config.json")
|
||||
if (!confFile.exists()) {
|
||||
confFile.createNewFile()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user