mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Fix 2011/2015 icons (and other stuff)
- Fix transparency issues with 2011 and 2015 icons - Renamed Late 2015 to 2016 (sake of simplicity, minor technicality, besides everyone basically knows it as the 2016 icon)
This commit is contained in:
parent
8316c9ec72
commit
427485f0ec
@ -11,7 +11,6 @@
|
|||||||
<ApplicationIcon>Bloxstrap.ico</ApplicationIcon>
|
<ApplicationIcon>Bloxstrap.ico</ApplicationIcon>
|
||||||
<Version>1.4.1</Version>
|
<Version>1.4.1</Version>
|
||||||
<FileVersion>1.4.1.0</FileVersion>
|
<FileVersion>1.4.1.0</FileVersion>
|
||||||
<UseWPF>True</UseWPF>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -634,7 +634,7 @@ namespace Bloxstrap
|
|||||||
if (CancelFired)
|
if (CancelFired)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (entry.FullName.EndsWith(@"\"))
|
if (entry.FullName.EndsWith('\\'))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
extractPath = Path.Combine(packageFolder, entry.FullName);
|
extractPath = Path.Combine(packageFolder, entry.FullName);
|
||||||
|
24
Bloxstrap/Dialogs/Preferences.Designer.cs
generated
24
Bloxstrap/Dialogs/Preferences.Designer.cs
generated
@ -64,6 +64,7 @@
|
|||||||
this.PreviewButton = new System.Windows.Forms.Button();
|
this.PreviewButton = new System.Windows.Forms.Button();
|
||||||
this.InstallLocationBrowseDialog = new System.Windows.Forms.FolderBrowserDialog();
|
this.InstallLocationBrowseDialog = new System.Windows.Forms.FolderBrowserDialog();
|
||||||
this.InfoTooltip = new System.Windows.Forms.ToolTip(this.components);
|
this.InfoTooltip = new System.Windows.Forms.ToolTip(this.components);
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
this.Tabs.SuspendLayout();
|
this.Tabs.SuspendLayout();
|
||||||
this.DialogTab.SuspendLayout();
|
this.DialogTab.SuspendLayout();
|
||||||
this.groupBox1.SuspendLayout();
|
this.groupBox1.SuspendLayout();
|
||||||
@ -92,7 +93,7 @@
|
|||||||
//
|
//
|
||||||
this.Tabs.Controls.Add(this.DialogTab);
|
this.Tabs.Controls.Add(this.DialogTab);
|
||||||
this.Tabs.Controls.Add(this.InstallationTab);
|
this.Tabs.Controls.Add(this.InstallationTab);
|
||||||
this.Tabs.Location = new System.Drawing.Point(12, 40);
|
this.Tabs.Location = new System.Drawing.Point(12, 62);
|
||||||
this.Tabs.Name = "Tabs";
|
this.Tabs.Name = "Tabs";
|
||||||
this.Tabs.SelectedIndex = 0;
|
this.Tabs.SelectedIndex = 0;
|
||||||
this.Tabs.Size = new System.Drawing.Size(442, 247);
|
this.Tabs.Size = new System.Drawing.Size(442, 247);
|
||||||
@ -142,8 +143,7 @@
|
|||||||
// ToggleRFUAutoclose
|
// ToggleRFUAutoclose
|
||||||
//
|
//
|
||||||
this.ToggleRFUAutoclose.AutoSize = true;
|
this.ToggleRFUAutoclose.AutoSize = true;
|
||||||
this.ToggleRFUAutoclose.Checked = true;
|
this.ToggleRFUAutoclose.Enabled = false;
|
||||||
this.ToggleRFUAutoclose.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
||||||
this.ToggleRFUAutoclose.Location = new System.Drawing.Point(9, 40);
|
this.ToggleRFUAutoclose.Location = new System.Drawing.Point(9, 40);
|
||||||
this.ToggleRFUAutoclose.Name = "ToggleRFUAutoclose";
|
this.ToggleRFUAutoclose.Name = "ToggleRFUAutoclose";
|
||||||
this.ToggleRFUAutoclose.Size = new System.Drawing.Size(209, 19);
|
this.ToggleRFUAutoclose.Size = new System.Drawing.Size(209, 19);
|
||||||
@ -156,8 +156,6 @@
|
|||||||
// ToggleRFUEnabled
|
// ToggleRFUEnabled
|
||||||
//
|
//
|
||||||
this.ToggleRFUEnabled.AutoSize = true;
|
this.ToggleRFUEnabled.AutoSize = true;
|
||||||
this.ToggleRFUEnabled.Checked = true;
|
|
||||||
this.ToggleRFUEnabled.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
||||||
this.ToggleRFUEnabled.Location = new System.Drawing.Point(9, 19);
|
this.ToggleRFUEnabled.Location = new System.Drawing.Point(9, 19);
|
||||||
this.ToggleRFUEnabled.Name = "ToggleRFUEnabled";
|
this.ToggleRFUEnabled.Name = "ToggleRFUEnabled";
|
||||||
this.ToggleRFUEnabled.Size = new System.Drawing.Size(127, 19);
|
this.ToggleRFUEnabled.Size = new System.Drawing.Size(127, 19);
|
||||||
@ -436,7 +434,7 @@
|
|||||||
this.panel1.Controls.Add(this.ToggleCheckForUpdates);
|
this.panel1.Controls.Add(this.ToggleCheckForUpdates);
|
||||||
this.panel1.Controls.Add(this.PreviewButton);
|
this.panel1.Controls.Add(this.PreviewButton);
|
||||||
this.panel1.Controls.Add(this.SaveButton);
|
this.panel1.Controls.Add(this.SaveButton);
|
||||||
this.panel1.Location = new System.Drawing.Point(-1, 298);
|
this.panel1.Location = new System.Drawing.Point(-1, 320);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(466, 42);
|
this.panel1.Size = new System.Drawing.Size(466, 42);
|
||||||
this.panel1.TabIndex = 6;
|
this.panel1.TabIndex = 6;
|
||||||
@ -475,12 +473,22 @@
|
|||||||
this.InfoTooltip.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Info;
|
this.InfoTooltip.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Info;
|
||||||
this.InfoTooltip.ToolTipTitle = "Information";
|
this.InfoTooltip.ToolTipTitle = "Information";
|
||||||
//
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.AutoSize = true;
|
||||||
|
this.label2.Location = new System.Drawing.Point(9, 35);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(234, 15);
|
||||||
|
this.label2.TabIndex = 7;
|
||||||
|
this.label2.Text = "Hover over an option for more information";
|
||||||
|
//
|
||||||
// Preferences
|
// Preferences
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.BackColor = System.Drawing.SystemColors.Window;
|
this.BackColor = System.Drawing.SystemColors.Window;
|
||||||
this.ClientSize = new System.Drawing.Size(464, 339);
|
this.ClientSize = new System.Drawing.Size(464, 361);
|
||||||
|
this.Controls.Add(this.label2);
|
||||||
this.Controls.Add(this.panel1);
|
this.Controls.Add(this.panel1);
|
||||||
this.Controls.Add(this.Tabs);
|
this.Controls.Add(this.Tabs);
|
||||||
this.Controls.Add(this.label1);
|
this.Controls.Add(this.label1);
|
||||||
@ -510,6 +518,7 @@
|
|||||||
this.panel1.ResumeLayout(false);
|
this.panel1.ResumeLayout(false);
|
||||||
this.panel1.PerformLayout();
|
this.panel1.PerformLayout();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -549,5 +558,6 @@
|
|||||||
private ComboBox SelectChannel;
|
private ComboBox SelectChannel;
|
||||||
private Label LabelChannelInfo;
|
private Label LabelChannelInfo;
|
||||||
private CheckBox ToggleShowAllChannels;
|
private CheckBox ToggleShowAllChannels;
|
||||||
|
private Label label2;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -27,8 +27,8 @@ namespace Bloxstrap.Dialogs
|
|||||||
{ "Bloxstrap", BootstrapperIcon.IconBloxstrap },
|
{ "Bloxstrap", BootstrapperIcon.IconBloxstrap },
|
||||||
{ "2009", BootstrapperIcon.Icon2009 },
|
{ "2009", BootstrapperIcon.Icon2009 },
|
||||||
{ "2011", BootstrapperIcon.Icon2011 },
|
{ "2011", BootstrapperIcon.Icon2011 },
|
||||||
{ "Early 2015", BootstrapperIcon.IconEarly2015 },
|
{ "2015", BootstrapperIcon.IconEarly2015 },
|
||||||
{ "Late 2015", BootstrapperIcon.IconLate2015 },
|
{ "2016", BootstrapperIcon.IconLate2015 },
|
||||||
{ "2017", BootstrapperIcon.Icon2017 },
|
{ "2017", BootstrapperIcon.Icon2017 },
|
||||||
{ "2019", BootstrapperIcon.Icon2019 },
|
{ "2019", BootstrapperIcon.Icon2019 },
|
||||||
{ "2022", BootstrapperIcon.Icon2022 }
|
{ "2022", BootstrapperIcon.Icon2022 }
|
||||||
@ -40,7 +40,7 @@ namespace Bloxstrap.Dialogs
|
|||||||
{
|
{
|
||||||
if (this.InvokeRequired)
|
if (this.InvokeRequired)
|
||||||
{
|
{
|
||||||
this.Invoke(new Action(() => { this.LabelChannelInfo.Text = value; }));
|
this.Invoke(() => this.LabelChannelInfo.Text = value);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -53,16 +53,16 @@ namespace Bloxstrap.Dialogs
|
|||||||
#region Core
|
#region Core
|
||||||
private async Task GetChannelInfo(string channel)
|
private async Task GetChannelInfo(string channel)
|
||||||
{
|
{
|
||||||
ChannelInfo = "Getting latest deploy, please wait...";
|
ChannelInfo = "Getting latest version, please wait...";
|
||||||
|
|
||||||
VersionDeploy info = await DeployManager.GetLastDeploy(channel);
|
VersionDeploy info = await DeployManager.GetLastDeploy(channel);
|
||||||
|
|
||||||
if (info.FileVersion is null || info.Timestamp is null)
|
if (info.FileVersion is null || info.Timestamp is null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
string strTimestamp = info.Timestamp.Value.ToString("MM/dd/yyyy hh:mm:ss tt", Program.CultureFormat);
|
string strTimestamp = info.Timestamp.Value.ToString("MM/dd/yyyy h:mm:ss tt", Program.CultureFormat);
|
||||||
|
|
||||||
ChannelInfo = $"Last deploy:\nv{info.FileVersion} @ {strTimestamp}";
|
ChannelInfo = $"Latest version:\nv{info.FileVersion} @ {strTimestamp}";
|
||||||
}
|
}
|
||||||
|
|
||||||
public Preferences()
|
public Preferences()
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
using System.Globalization;
|
using Bloxstrap.Models;
|
||||||
using System.IO;
|
|
||||||
using System.Net.Http;
|
|
||||||
|
|
||||||
using Bloxstrap.Models;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Helpers
|
namespace Bloxstrap.Helpers
|
||||||
{
|
{
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 7.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 5.8 KiB |
Loading…
Reference in New Issue
Block a user