Skip to content

Commit

Permalink
v1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
RetroDriven committed Oct 9, 2022
1 parent ae7635b commit 2e5038a
Show file tree
Hide file tree
Showing 27 changed files with 3,729 additions and 159 deletions.
4 changes: 2 additions & 2 deletions Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions Form1.cs
Expand Up @@ -6,12 +6,13 @@
using System.Security.Policy;
using System.Text.Json;
using System.Windows.Forms;
using static System.Windows.Forms.VisualStyles.VisualStyleElement;

namespace Pocket_Updater
{
public partial class Form1 : Form
{
private const string VERSION = "1.3.2";
private const string VERSION = "1.3.3";
private const string API_URL = "https://api.github.com/repos/RetroDriven/Pocket_Updater/releases";
private const string RELEASE_URL = "https://github.com/RetroDriven/Pocket_Updater/releases/latest";

Expand Down Expand Up @@ -77,7 +78,7 @@ private void Button_Settings_Click(object sender, EventArgs e)

private void updateLogToolStripMenuItem_Click(object sender, EventArgs e)
{
Updater_Status form = new Updater_Status();
Updater_Summary form = new Updater_Summary();

string Current_Dir = Directory.GetCurrentDirectory();
string LogFile = Current_Dir + "\\Pocket_Updater_Log.txt";
Expand All @@ -86,6 +87,8 @@ private void updateLogToolStripMenuItem_Click(object sender, EventArgs e)
{
form.textBox1.Text = File.ReadAllText(Current_Dir + "\\Pocket_Updater_Log.txt");
form.Show();
form.textBox1.SelectionStart = form.textBox1.Text.Length;
form.textBox1.ScrollToCaret();
}
else
{
Expand Down
11 changes: 10 additions & 1 deletion Pocket_Updater.csproj
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<Version>1.3.2</Version>
<Version>1.3.3</Version>
<RootNamespace>Pocket_Updater</RootNamespace>
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
Expand All @@ -20,6 +20,12 @@
<Copyright>2022 - RetroDriven</Copyright>
</PropertyGroup>

<ItemGroup>
<Compile Remove="NewFolder\**" />
<EmbeddedResource Remove="NewFolder\**" />
<None Remove="NewFolder\**" />
</ItemGroup>

<ItemGroup>
<Content Include="Resources\app_icon.ico" />
</ItemGroup>
Expand All @@ -30,6 +36,9 @@
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Update="Updater_Summary.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="Update_Pocket.cs">
<SubType>Form</SubType>
</Compile>
Expand Down
27 changes: 27 additions & 0 deletions RetroDriven/Settings.cs
@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RetroDriven
{
public class Settings_Control
{
public static string[,] Get_Settings()
{
string GT_1 = "SetGithubApiKey";
string GT_2 = "github_token";
string DF_1 = "DownloadFirmware";
string DF_2 = "download_firmware";
string PI_1 = "PreserveImages";
string PI_2 = "preserve_images";
string DA_1 = "DownloadAssets";
string DA_2 = "download_assets";
//string[] Setings = new string[] { GitHub_Token, Download_Firmware, Core_Images, Download_Assets };

string[,] Settings = new string[4,2] { { GT_1, GT_2 }, { DF_1, DF_2 },{ PI_1, PI_2 }, {DA_1, DA_2 } };
return Settings;
}
}
}
179 changes: 165 additions & 14 deletions Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2e5038a

Please sign in to comment.