Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proof of concept of refreshing tokens from battle.net #11

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
disable overwriting the token
dschu012 committed May 5, 2022

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 3c363f44ed7e8fdf9648eabd2a97b8f049d159d9
3 changes: 1 addition & 2 deletions MultiInstanceManager/MultiInstanceManager.cs
Original file line number Diff line number Diff line change
@@ -320,8 +320,7 @@ private async void refreshButton_Click(object sender, System.EventArgs e)
{
var checkedItem = accountList.CheckedItems[x].ToString().Split('|');
DisableButtons();
var task = Task.Factory.StartNew(() => MH.Setup(checkedItem[0].Trim(' '), true));
var result = await task;
MH.SetupWithBrowser(checkedItem[0].Trim(' '));
EnableButtons();
}
catch (Exception ex)
2 changes: 1 addition & 1 deletion MultiInstanceManager/MultiInstanceManager.csproj
Original file line number Diff line number Diff line change
@@ -264,7 +264,7 @@
<PostBuildEvent>if not exist "$(TargetDir)\plugins" mkdir "$(TargetDir)\plugins"
copy /Y "$(SolutionDir)\\README.*" "$(TargetDir)"
if exist D2RMIM-Release-@(VersionNumber).zip ( Del D2RMIM-Release-@(VersionNumber).zip )
powershell.exe -command Compress-Archive -Path plugins,*.dll,README.*,MultiInstanceManager.exe,MultiInstanceManager.exe.config -DestinationPath D2RMIM-Release-@(VersionNumber).zip</PostBuildEvent>
powershell.exe -command Compress-Archive -Path runtimes,plugins,*.dll,README.*,MultiInstanceManager.exe,MultiInstanceManager.exe.config -DestinationPath D2RMIM-Release-@(VersionNumber).zip</PostBuildEvent>
</PropertyGroup>
<Import Project="..\packages\Microsoft.Web.WebView2.1.0.1210.30\build\Microsoft.Web.WebView2.targets" Condition="Exists('..\packages\Microsoft.Web.WebView2.1.0.1210.30\build\Microsoft.Web.WebView2.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">