Skip to content

Commit 5e4eeb6

Browse files
committed
Update ConfigHelper.cs
1 parent c3bfd3e commit 5e4eeb6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ColorDesktop.Launcher/Helper/ConfigHelper.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -194,16 +194,16 @@ public static void AddSource(PluginSourceItemModel model)
194194

195195
public static bool TestEula()
196196
{
197-
if (File.Exists(AppContext.BaseDirectory + "temp"))
197+
if (File.Exists(AppContext.BaseDirectory + "eula"))
198198
{
199-
return File.ReadAllText(AppContext.BaseDirectory + "temp") != "true";
199+
return File.ReadAllText(AppContext.BaseDirectory + "eula") != "true";
200200
}
201201

202202
return true;
203203
}
204204

205205
public static void SetEula()
206206
{
207-
File.WriteAllText(AppContext.BaseDirectory + "temp", "true");
207+
File.WriteAllText(AppContext.BaseDirectory + "eula", "true");
208208
}
209209
}

0 commit comments

Comments
 (0)