string profileDir = "UniqueIdentifier"; string directory = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), Path.Combine("Geckofx", profileDir)); if (!Directory.Exists(directory)) Directory.CreateDirectory(directory); Gecko.Xpcom.ProfileDirectory = directory;
时间: 2024-11-10 08:22:55