still working on it

This commit is contained in:
Jakob 2018-07-06 19:15:17 +02:00
parent e483fe990e
commit a26960cea1
2 changed files with 11 additions and 3 deletions

View file

@ -1,3 +1,5 @@
cd %~dp0
..\psvimg-create -n app -K %1 app PCSG90096/app
..\psvimg-create -n appmeta -K %1 appmeta PCSG90096/appmeta
..\psvimg-create -n license -K %1 license PCSG90096/license

View file

@ -196,7 +196,11 @@ namespace h_encore_auto
private void Grid_MouseDown(object sender, MouseButtonEventArgs e)
{
DragMove();
try
{
DragMove();
}
catch { }
}
private void buttonClose_Click(object sender, RoutedEventArgs e)
@ -250,11 +254,13 @@ namespace h_encore_auto
startInfo.FileName = "cmd.exe";
startInfo.WorkingDirectory = Ref.tempDir + "h-encore";
Ref.shortAID = Directory.GetDirectories(Ref.pathQcmaRes + "PSVita\\APP\\")[0];
Ref.shortAID = new DirectoryInfo(Directory.GetDirectories(Ref.pathQcmaRes + "PSVita\\APP\\")[0]).Name;
MessageBox.Show(Ref.shortAID);
Ref.longAID = Util.GetEncKey(Ref.shortAID);
MessageBox.Show(Ref.longAID);
startInfo.Arguments = @"/C create.bat " + Ref.longAID;
startInfo.Arguments = "/C create.bat " + Ref.longAID;
process.StartInfo = startInfo;
process.Start();
process.WaitForExit();