You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Put a Install IPA button back in.
[CL 2240449 by Josh Adams in Main branch]
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
this.CertificatePresentCheck2 = new System.Windows.Forms.PictureBox();
|
||||
this.MobileProvisionCheck2 = new System.Windows.Forms.PictureBox();
|
||||
this.ReadyToPackageButton = new System.Windows.Forms.Button();
|
||||
this.InstallIPA = new System.Windows.Forms.Button();
|
||||
this.tabControl1.SuspendLayout();
|
||||
this.tabPage1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.CertificatePresentCheck)).BeginInit();
|
||||
@@ -378,7 +379,7 @@
|
||||
//
|
||||
this.ReadyToPackageButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.ReadyToPackageButton.DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
this.ReadyToPackageButton.Location = new System.Drawing.Point(436, 483);
|
||||
this.ReadyToPackageButton.Location = new System.Drawing.Point(20, 483);
|
||||
this.ReadyToPackageButton.Name = "ReadyToPackageButton";
|
||||
this.ReadyToPackageButton.Size = new System.Drawing.Size(109, 29);
|
||||
this.ReadyToPackageButton.TabIndex = 5;
|
||||
@@ -386,11 +387,24 @@
|
||||
this.ReadyToPackageButton.UseVisualStyleBackColor = true;
|
||||
this.ReadyToPackageButton.Click += new System.EventHandler(this.ReadyToPackageButton_Click);
|
||||
//
|
||||
// InstallIPA
|
||||
//
|
||||
this.InstallIPA.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.InstallIPA.DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
this.InstallIPA.Location = new System.Drawing.Point(433, 483);
|
||||
this.InstallIPA.Name = "InstallIPA";
|
||||
this.InstallIPA.Size = new System.Drawing.Size(109, 29);
|
||||
this.InstallIPA.TabIndex = 19;
|
||||
this.InstallIPA.Text = "Install IPA...";
|
||||
this.InstallIPA.UseVisualStyleBackColor = true;
|
||||
this.InstallIPA.Click += new System.EventHandler(this.InstallIPA_Click);
|
||||
//
|
||||
// ToolsHub
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(562, 524);
|
||||
this.Controls.Add(this.InstallIPA);
|
||||
this.Controls.Add(this.tabControl1);
|
||||
this.Controls.Add(this.ReadyToPackageButton);
|
||||
this.HelpButton = true;
|
||||
@@ -443,5 +457,6 @@
|
||||
private System.Windows.Forms.LinkLabel linkLabel1;
|
||||
private System.Windows.Forms.LinkLabel linkLabel3;
|
||||
private System.Windows.Forms.Button ReadyToPackageButton;
|
||||
private System.Windows.Forms.Button InstallIPA;
|
||||
}
|
||||
}
|
||||
@@ -95,6 +95,13 @@ namespace iPhonePackager
|
||||
{
|
||||
// Check the status of the various steps
|
||||
UpdateStatus();
|
||||
|
||||
CreateCSRButton.Enabled =
|
||||
ImportMobileProvisionButton.Enabled =
|
||||
ImportProvisionButton2.Enabled =
|
||||
ImportCertificateButton.Enabled =
|
||||
ImportCertificateButton2.Enabled =
|
||||
!string.IsNullOrEmpty(Config.ProjectFile);
|
||||
}
|
||||
|
||||
void UpdateStatus()
|
||||
@@ -339,5 +346,10 @@ namespace iPhonePackager
|
||||
Process.Start(PSI);
|
||||
}
|
||||
|
||||
private void InstallIPA_Click(object sender, EventArgs e)
|
||||
{
|
||||
InstallIPAButton_Click(sender, e);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -91,13 +91,13 @@ namespace iPhonePackager
|
||||
// we NEED a project, so show a uproject picker
|
||||
string UProjectFile;
|
||||
string StartingDir = "";
|
||||
if (ToolsHub.ShowOpenFileDialog("Unreal Project Files (*.uproject)|*.uproject;", "IPhonePackager now requires a .uproject file to continue", "mobileprovision", "", ref StartingDir, out UProjectFile))
|
||||
if (ToolsHub.ShowOpenFileDialog("Unreal Project Files (*.uproject)|*.uproject;", "IPhonePackager now requires a .uproject file for certificate/provisioning setup", "mobileprovision", "", ref StartingDir, out UProjectFile))
|
||||
{
|
||||
Arguments = new string[] { UProjectFile };
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
Arguments = new string[] { "gui" };
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user