Skip to content

Commit

Permalink
👀 Working AutoInit deployment method
Browse files Browse the repository at this point in the history
  • Loading branch information
valnoxy committed Mar 5, 2023
1 parent c456c0f commit 42cdc9c
Show file tree
Hide file tree
Showing 6 changed files with 385 additions and 44 deletions.
18 changes: 8 additions & 10 deletions deploya/deployaUI/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,19 +145,17 @@ private void Application_Startup(object sender, StartupEventArgs e)
#if RELEASE
if (!File.Exists("X:\\Windows\\System32\\wpeinit.exe")) ShowGUI();
#endif
string message = "Auto deployment config detected. Do you want to perform the deployment now?";
string title = "AutoDive";
string btn1 = "No";
string btn2 = "Yes";
const string message = "Auto deployment config detected. Do you want to perform the deployment now?";
const string title = "AutoDive";
const string btn1 = "No";
const string btn2 = "Yes";

var w = new MessageUI(title, message, btn1, btn2, true, 5);
if (w.ShowDialog() == false)
if (w.ShowDialog() != false) continue;
var summary = w.Summary;
if (summary == "Btn2")
{
string? summary = w.Summary;
if (summary == "Btn2")
{
ShowAutoDive();
}
ShowAutoDive();
}
}
}
Expand Down
Loading

0 comments on commit 42cdc9c

Please sign in to comment.