fix: undefined var

This commit is contained in:
林轻语
2026-05-17 04:25:36 +08:00
committed by GitHub
parent c10eae6596
commit f5370a1743
@@ -91,6 +91,13 @@ RetryCacheCheck:
End Try
DirectoryUtils.Create(PathTemp & "Cache\")
DirectoryUtils.Create(PathAppdata)
#If DEBUG Then
Dim FileLockPath = Path.Combine(PathAppdata.TrimEnd("\"), "PCL.dev.Lock")
#Else
Dim FileLockPath = Path.Combine(PathAppdata.TrimEnd("\"), "PCL.Lock")
#End If
'要求单例
If BuildType <> BuildTypes.Debug Then
If Not GetProgramLock(FileLockPath) Then