X-Aim

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 1  →  ?path2? @ 2
/trunk/X-Aim/Form1.cs
@@ -133,6 +133,11 @@
using (var manifestResourceStream =
Assembly.GetExecutingAssembly().GetManifestResourceStream("X_Aim.img.defaultCrosshair.png"))
{
FileInfo fileInfo = new FileInfo(ACTIVE_CROSSHAIR_FILE_PATH);
 
if (!fileInfo.Exists)
Directory.CreateDirectory(fileInfo.Directory.FullName);
 
using (var fileStream = new FileStream(ACTIVE_CROSSHAIR_FILE_PATH, FileMode.Create))
{
await manifestResourceStream.CopyToAsync(fileStream);