File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ public class Overwolf
1010 {
1111 private const string ProcessName = "overwolf" ;
1212
13- public DirectoryInfo ProgramFolder { get ; set ; }
14- public DirectoryInfo DataFolder { get ; set ; }
13+ public DirectoryInfo ProgramFolder { get ; set ; }
14+ public DirectoryInfo DataFolder { get ; set ; }
1515
1616 public DirectoryInfo ExtensionsFolder => DataFolder . Combine ( "Extensions" ) ;
1717 public List < DirectoryInfo > ProgramVersionFolders => ProgramFolder . GetDirectories ( searchPattern : "*.*.*.*" ) . ToList ( ) ; // C:\Program Files (x86)\Overwolf\0.258.1.7\
Original file line number Diff line number Diff line change 11using Bluscream ;
22using System ;
3- using System . Collections . Generic ;
4- using System . IO ;
5- using System . Text . RegularExpressions ;
63
74namespace OverwolfPatcher . Classes
85{
Original file line number Diff line number Diff line change 11using Bluscream ;
22using Mono . Cecil ;
33using Mono . Cecil . Cil ;
4- using Mono . Cecil . Rocks ;
54using System ;
6- using System . Collections . Generic ;
7- using System . Linq ;
8- using System . Text ;
9- using System . Threading . Tasks ;
105
116
127namespace OverwolfPatcher
Original file line number Diff line number Diff line change 1- using System ;
2- using OverwolfPatcher . Classes ;
1+ using Bluscream ;
32using Mono . Cecil ;
3+ using OverwolfPatcher . Classes ;
4+ using System ;
45using System . Linq ;
5- using Bluscream ;
66
77namespace OverwolfPatcher . Patches ;
88
9- internal class ClientBL : IPatch
9+ internal class ClientBL : IPatch
1010{
1111
1212 public string Name => "Client BL" ;
Original file line number Diff line number Diff line change 1- using System . IO ;
2- using System ;
3- using OverwolfPatcher . Classes ;
4- using Mono . Cecil . Cil ;
1+ using Bluscream ;
52using Mono . Cecil ;
3+ using OverwolfPatcher . Classes ;
4+ using System ;
65using System . Linq ;
7- using Bluscream ;
8- using Mono . Cecil . Rocks ;
9- using System . Collections . Generic ;
106
117namespace OverwolfPatcher . Patches ;
128
Original file line number Diff line number Diff line change 1- using System . IO ;
2- using System ;
3- using OverwolfPatcher . Classes ;
4- using Mono . Cecil . Cil ;
1+ using Bluscream ;
52using Mono . Cecil ;
6- using System . Linq ;
7- using Bluscream ;
3+ using Mono . Cecil . Cil ;
84using Mono . Cecil . Rocks ;
5+ using OverwolfPatcher . Classes ;
6+ using System ;
97using System . Collections . Generic ;
8+ using System . Linq ;
109
1110namespace OverwolfPatcher . Patches ;
1211
Original file line number Diff line number Diff line change 1- using System ;
2- using OverwolfPatcher . Classes ;
1+ using Bluscream ;
32using Mono . Cecil ;
3+ using OverwolfPatcher . Classes ;
4+ using System ;
45using System . Linq ;
5- using Bluscream ;
6- using Mono . Cecil . Cil ;
7- using System . Collections . Generic ;
8- using System . IO ;
96
107namespace OverwolfPatcher . Patches ;
118
12- internal class Extensions : IPatch
9+ internal class Extensions : IPatch
1310{
1411
1512 public string Name => "Extensions" ;
Original file line number Diff line number Diff line change 1- using System ;
2- using OverwolfPatcher . Classes ;
1+ using Bluscream ;
32using Mono . Cecil ;
4- using System . Linq ;
5- using Bluscream ;
63using Mono . Cecil . Cil ;
74using Mono . Cecil . Rocks ;
5+ using OverwolfPatcher . Classes ;
6+ using System ;
87using System . Collections . Generic ;
8+ using System . Linq ;
99
1010namespace OverwolfPatcher . Patches ;
1111
12- internal class Subscriptions : IPatch
12+ internal class Subscriptions : IPatch
1313{
1414
1515 public string Name => "Subscriptions" ;
Original file line number Diff line number Diff line change 1- using Microsoft . Win32 ;
1+ using Bluscream ;
2+ using Microsoft . Win32 ;
3+ using OverwolfPatcher . Classes ;
24using System ;
3- using System . IO ;
45using System . Collections . Generic ;
5- using Bluscream ;
6- using OverwolfPatcher . Classes ;
6+ using System . IO ;
77
88namespace OverwolfPatcher
99{
@@ -33,7 +33,8 @@ static void Main(string[] args)
3333 Console . WriteLine ( "Overwolf app is running, do you want to close it now? (y/n)" ) ;
3434 var key = Console . ReadKey ( ) ;
3535 if ( key . Key == ConsoleKey . Y ) ow . Processes . ForEach ( p => p . Kill ( ) ) ;
36- else {
36+ else
37+ {
3738 Console . WriteLine ( "Cannot continue, press any key to exit" ) ;
3839 Console . ReadKey ( ) ;
3940 Utils . Exit ( 1 ) ;
Original file line number Diff line number Diff line change 1- using System . Resources ;
2- using System . Reflection ;
1+ using System . Reflection ;
2+ using System . Resources ;
33using System . Runtime . InteropServices ;
44
55// General Information about an assembly is controlled through the following
You can’t perform that action at this time.
0 commit comments