Skip to content

Commit

Permalink
Revert "Oh hey look we can track processes now"
Browse files Browse the repository at this point in the history
This reverts commit 2133342.
  • Loading branch information
xXBuilderBXx committed Aug 1, 2020
1 parent 2133342 commit 8e39990
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 149 deletions.
2 changes: 0 additions & 2 deletions MultiRPC/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ public partial class App : Application

public App()
{
ProcessWatcher.Start();

var darkThemeLocation = Path.Combine("Assets", "Themes", "DarkTheme" + Theme.ThemeExtension);
var lightThemeLocation = Path.Combine("Assets", "Themes", "LightTheme" + Theme.ThemeExtension);
var russiaThemeLocation = Path.Combine("Assets", "Themes", "RussiaTheme" + Theme.ThemeExtension);
Expand Down
3 changes: 0 additions & 3 deletions MultiRPC/JsonClasses/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ public class Config

public bool ShowPageTooltips = true;

//TODO: Make it so this can be changed in GUI
public int ProcessWaitingTime = 2;

/// <summary> Get the settings stored on disk </summary>
public static Config Load()
{
Expand Down
4 changes: 2 additions & 2 deletions MultiRPC/JsonClasses/CustomProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public Trigger()
t.StopShowingProfile += (_, __) => StopShowingProfile();
}

//TODO: Make it check if the file/folder has a lock on it, if so we can track it

//TODO: Only do this when we got something to work with
FolderWatcher.Created += (sender, args) => ShowProfile();
FolderWatcher.Changed += (sender, args) => ShowProfile();
Expand All @@ -82,7 +82,7 @@ public Trigger()
/// <summary>
/// Trigger when a process is started/close
/// </summary>
public string Process = null;
public string Process = null; //TODO

private string folderChange = "";
/// <summary>
Expand Down
3 changes: 2 additions & 1 deletion MultiRPC/JsonClasses/Day.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ public TimeSpan EndTime
}

public readonly DayOfWeek Date;


//TODO: See why this isn't triggering
private async Task TriggerBasedOnTime()
{
if (EndTime == TimeSpan.Zero || Date == DayOfWeek.NotSet)
Expand Down
140 changes: 0 additions & 140 deletions MultiRPC/JsonClasses/ProcessWatcher.cs

This file was deleted.

2 changes: 1 addition & 1 deletion MultiRPC/MultiRPCCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<PackageReference Include="JetBrains.Annotations" Version="10.2.1" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
<PackageReference Include="System.Drawing.Common" Version="4.5.1" />
<PackageReference Include="System.Management" Version="4.7.0" />
<PackageReference Include="System.Management" Version="4.5.0" />
<PackageReference Include="XamlAnimatedGif" Version="1.2.2" />
</ItemGroup>

Expand Down
Binary file added MultiRPC/Ookii.Dialogs.Wpf.dll
Binary file not shown.

0 comments on commit 8e39990

Please sign in to comment.