private void Form1_FormClosing(object sender, FormClosingEventArgs e) { ControlSecureFolder.SecureFolderState(false); ControlPak.AttachVHD(); ControlPak.WaitForAttach(); foreach (FileInfo eachPak in new DirectoryInfo(resPath).GetFiles("*.pak")) { ControlPak.EjectPak(eachPak.Name); } ControlPak.EjectPak("pakList.json"); ControlPak.DetachVHD(); }
private void Button2_Click(object sender, EventArgs e) { tmrCheckPak.Stop(); ControlSecureFolder.SecureFolderState(true); foreach (FileInfo eachPak in new DirectoryInfo(resPath).GetFiles("*.pak")) { ControlPak.EjectPak(eachPak.Name); } if (chkUsePList.Checked) { ControlPak.EjectPak("pakList.json"); } ControlPak.DetachVHD(); Text = "우회 완료"; }
private void Button1_Click(object sender, EventArgs e) { ControlPak.AttachVHD(); ControlPak.WaitForAttach(); ControlSecureFolder.SecureFolderState(false); foreach (FileInfo eachPak in new DirectoryInfo(resPath).GetFiles("*.pak")) { ControlPak.PreInjectPak(eachPak.Name); ControlPak.EjectPak(eachPak.Name); ControlSecureFolder.SecureFolderAdd(pubgPath + "\\" + eachPak.Name); } if (chkUsePList.Checked) { ControlPak.PreInjectPak("pakList.json"); ControlPak.EjectPak("pakList.json"); ControlSecureFolder.SecureFolderAdd(pubgPath + "\\" + "pakList.json"); } tmrCheckPak.Start(); }