Skip to content

Commit

Permalink
Version 1.1.1
Browse files Browse the repository at this point in the history
Fixed some stuff, look at releases for changes in latest build (1.1.1)
  • Loading branch information
6ilent committed Jan 25, 2018
1 parent ccceef6 commit a589c26
Show file tree
Hide file tree
Showing 17 changed files with 80 additions and 13 deletions.
Binary file modified Electralyzed/.vs/Electralyzed/v15/.suo
Binary file not shown.
Binary file modified Electralyzed/.vs/Electralyzed/v15/Server/sqlite3/storage.ide
Binary file not shown.
2 changes: 1 addition & 1 deletion Electralyzed/Electralyzed/App.config
Expand Up @@ -11,7 +11,7 @@
<userSettings>
<Electralyzed.Properties.Settings>
<setting name="versionNum" serializeAs="String">
<value>1.1.0</value>
<value>1.1.1</value>
</setting>
</Electralyzed.Properties.Settings>
</userSettings>
Expand Down
2 changes: 1 addition & 1 deletion Electralyzed/Electralyzed/Electralyzed.Designer.cs

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

52 changes: 52 additions & 0 deletions Electralyzed/Electralyzed/Electralyzed.cs
Expand Up @@ -31,6 +31,18 @@ private void exitToolStripMenuItem_Click(object sender, EventArgs e)
Application.Exit();
}

protected override void OnMouseDown(MouseEventArgs e)

{
base.OnMouseDown(e);
if (e.Button == MouseButtons.Left)
{
this.Capture = false;
Message msg = Message.Create(this.Handle, 0XA1, new IntPtr(2), IntPtr.Zero);
this.WndProc(ref msg);
}
}

private void tweakCompatabilitySheetToolStripMenuItem_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("https://docs.google.com/spreadsheets/d/1YptWW_bBdEQ9naYAfiZ2Aj4H93Y56I4xSYI29u4q_-Y/edit#gid=0");
Expand Down Expand Up @@ -361,6 +373,25 @@ private void FINALINSTALL(Session session)
O_TextBox.AppendText(Environment.NewLine + "No PreferenceBundles found.");
}

//TWEAK - APPLICATION SUPPORT
O_TextBox.AppendText(Environment.NewLine + "");
if (Directory.Exists(EDir + @"\Library\Application Support\"))
{
O_TextBox.AppendText(Environment.NewLine + "Local Application Support folder found! Installing...");
string[] ASArray = Directory.GetDirectories(EDir + @"\Library\Application Support\");
for (int AS = 0; AS < ASArray.Length; AS++)
{
O_TextBox.AppendText(Environment.NewLine + "Placing " + ASArray[AS] + "...");
session.PutFiles(ASArray[AS], "/bootstrap/Library/Application Support/");
O_TextBox.AppendText(Environment.NewLine + "Placed " + ASArray[AS]);
}
O_TextBox.AppendText(Environment.NewLine + "Finished installing Application Support!");
}
else
{
O_TextBox.AppendText(Environment.NewLine + "No Application Support found.");
}

//FINISHED!
O_TextBox.AppendText(Environment.NewLine + "");
O_TextBox.AppendText(Environment.NewLine + "Finished!");
Expand Down Expand Up @@ -452,6 +483,27 @@ private void FINALUNINSTALL(Session session)
O_TextBox.AppendText(Environment.NewLine + "No PreferenceBundles found.");
}

//TWEAK - APPLICATIONSUPPORT
O_TextBox.AppendText(Environment.NewLine + "");
if (Directory.Exists(EDir + @"\Library\Application Support\"))
{
O_TextBox.AppendText(Environment.NewLine + "Local Application Support folder found! Installing...");
string[] ASArray = Directory.GetDirectories(EDir + @"\Library\Application Support\");
string ASFolder; //Actual Folder start on character #37
for (int AS = 0; AS < ASArray.Length; AS++)
{
ASFolder = ASArray[AS].Substring(37);
O_TextBox.AppendText(Environment.NewLine + "Removing " + ASFolder + "...");
session.RemoveFiles("/bootstrap/Library/Application Support/" + ASFolder);
O_TextBox.AppendText(Environment.NewLine + "Removed " + ASFolder);
}
O_TextBox.AppendText(Environment.NewLine + "Finished uninstalling Application Support!");
}
else
{
O_TextBox.AppendText(Environment.NewLine + "No Application Support found.");
}

//FINISHED!
O_TextBox.AppendText(Environment.NewLine + "");
O_TextBox.AppendText(Environment.NewLine + "Finished!");
Expand Down
16 changes: 16 additions & 0 deletions Electralyzed/Electralyzed/LoadUp.Designer.cs

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

5 changes: 5 additions & 0 deletions Electralyzed/Electralyzed/LoadUp.cs
Expand Up @@ -39,6 +39,11 @@ private void LoadUp_Load(object sender, EventArgs e)
Ver_Label.Text += Properties.Settings.Default.versionNum;
}

private void Exit_Label_Click(object sender, EventArgs e)
{
Application.Exit();
}

private void Connect_Button_Click(object sender, EventArgs e)
{
ip = IP_TextBox.Text;;
Expand Down
4 changes: 2 additions & 2 deletions Electralyzed/Electralyzed/Properties/AssemblyInfo.cs
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.0")]
[assembly: AssemblyFileVersion("1.1.0")]
[assembly: AssemblyVersion("1.1.1")]
[assembly: AssemblyFileVersion("1.1.1")]
2 changes: 1 addition & 1 deletion Electralyzed/Electralyzed/Properties/Settings.Designer.cs

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

2 changes: 1 addition & 1 deletion Electralyzed/Electralyzed/Properties/Settings.settings
Expand Up @@ -3,7 +3,7 @@
<Profiles />
<Settings>
<Setting Name="versionNum" Type="System.String" Scope="User">
<Value Profile="(Default)">1.1.0</Value>
<Value Profile="(Default)">1.1.1</Value>
</Setting>
</Settings>
</SettingsFile>
Binary file modified Electralyzed/Electralyzed/bin/Debug/Electralyzed.exe
Binary file not shown.
Expand Up @@ -11,7 +11,7 @@
<userSettings>
<Electralyzed.Properties.Settings>
<setting name="versionNum" serializeAs="String">
<value>1.1.0</value>
<value>1.1.1</value>
</setting>
</Electralyzed.Properties.Settings>
</userSettings>
Expand Down
Binary file modified Electralyzed/Electralyzed/bin/Debug/Electralyzed.pdb
Binary file not shown.
Binary file not shown.
Binary file modified Electralyzed/Electralyzed/obj/Debug/Electralyzed.exe
Binary file not shown.
Binary file modified Electralyzed/Electralyzed/obj/Debug/Electralyzed.pdb
Binary file not shown.
6 changes: 0 additions & 6 deletions README.md
Expand Up @@ -8,14 +8,8 @@ Check the [Release](https://github.com/6ilent/electralyzed/releases) tab for mor
[Screenshots of Electralyzed](https://imgur.com/a/YxWoL)
---
### To do list
* Add installation for 'ApplicationSupport' folders in Tweaks
* Add support for Folders that are placed in other directories (Ex. Zeppelin: /Library)
* Add automatic update checks
* Add IPA Signing
* Fix window close button (Use the Exit button to close for now)
* Add installation/uninstallation of multiple Tweaks/Themes
* Redo “uninstall” method with bash scripts
* Video demo
---
> By 6ilent ([@Zer0Entry](https://twitter.com/zer0entry), [6ilent](http://reddit.com/user/6ilent))
If you plan to use any of my code, please give credit. Thanks. Copyright 2018 6ilent

0 comments on commit a589c26

Please sign in to comment.