mirror of
https://github.com/WiiDatabase/nusdownloader.git
synced 2024-12-28 03:21:50 +01:00
A couple proxy changes.
This commit is contained in:
parent
4555543208
commit
8702d800ee
1
NUS Downloader/Form1.Designer.cs
generated
1
NUS Downloader/Form1.Designer.cs
generated
@ -957,6 +957,7 @@
|
||||
this.saveaswadbox.TabIndex = 43;
|
||||
this.saveaswadbox.Text = "SaveAs";
|
||||
this.saveaswadbox.UseVisualStyleBackColor = true;
|
||||
this.saveaswadbox.Paint += new System.Windows.Forms.PaintEventHandler(this.saveaswadbox_Paint);
|
||||
//
|
||||
// deletecontentsbox
|
||||
//
|
||||
|
@ -18,7 +18,7 @@ namespace NUS_Downloader
|
||||
const string NUSURL = "http://nus.cdn.shop.wii.com/ccs/download/";
|
||||
const string DSiNUSURL = "http://nus.cdn.t.shop.nintendowifi.net/ccs/download/";
|
||||
// TODO: Always remember to change version!
|
||||
string version = "v1.3";
|
||||
string version = "v1.3 Beta";
|
||||
WebClient generalWC = new WebClient();
|
||||
static RijndaelManaged rijndaelCipher;
|
||||
static bool dsidecrypt = false;
|
||||
@ -765,6 +765,10 @@ namespace NUS_Downloader
|
||||
// Set UserAgent to Wii value
|
||||
generalWC.Headers.Add("User-Agent", "wii libnup/1.0");
|
||||
|
||||
// Proxy
|
||||
generalWC.Proxy = WebRequest.GetSystemWebProxy();
|
||||
generalWC.UseDefaultCredentials = true;
|
||||
|
||||
// Get placement directory early...
|
||||
string titledirectory;
|
||||
if (titleversion.Text == "")
|
||||
@ -3649,5 +3653,15 @@ namespace NUS_Downloader
|
||||
saveaswadbox.Enabled = packbox.Enabled;
|
||||
deletecontentsbox.Enabled = packbox.Enabled;
|
||||
}
|
||||
|
||||
private void saveaswadbox_Paint(object sender, PaintEventArgs e)
|
||||
{
|
||||
//e.Graphics.
|
||||
/*Rectangle rect = new Rectangle(0, 0, 16, 16);
|
||||
if (saveaswadbox.Checked)
|
||||
e.Graphics.DrawImageUnscaledAndClipped(green, rect);
|
||||
else
|
||||
e.Graphics.DrawImageUnscaled(orange, -7, -5); */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -16,7 +16,7 @@
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<ManifestCertificateThumbprint>5828AACDBD1A48E3768B7E0465E90D0E96E2BE4C</ManifestCertificateThumbprint>
|
||||
<ManifestKeyFile>NUS Downloader_TemporaryKey.pfx</ManifestKeyFile>
|
||||
<GenerateManifests>false</GenerateManifests>
|
||||
<GenerateManifests>true</GenerateManifests>
|
||||
<SignManifests>true</SignManifests>
|
||||
<TargetZone>LocalIntranet</TargetZone>
|
||||
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
|
||||
@ -30,7 +30,7 @@
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>7</ApplicationRevision>
|
||||
<ApplicationRevision>8</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
|
Loading…
Reference in New Issue
Block a user