File tree Expand file tree Collapse file tree 11 files changed +39
-54
lines changed Expand file tree Collapse file tree 11 files changed +39
-54
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ public class Overwolf
10
10
{
11
11
private const string ProcessName = "overwolf" ;
12
12
13
- public DirectoryInfo ProgramFolder { get ; set ; }
14
- public DirectoryInfo DataFolder { get ; set ; }
13
+ public DirectoryInfo ProgramFolder { get ; set ; }
14
+ public DirectoryInfo DataFolder { get ; set ; }
15
15
16
16
public DirectoryInfo ExtensionsFolder => DataFolder . Combine ( "Extensions" ) ;
17
17
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 1
1
using Bluscream ;
2
2
using System ;
3
- using System . Collections . Generic ;
4
- using System . IO ;
5
- using System . Text . RegularExpressions ;
6
3
7
4
namespace OverwolfPatcher . Classes
8
5
{
Original file line number Diff line number Diff line change 1
1
using Bluscream ;
2
2
using Mono . Cecil ;
3
3
using Mono . Cecil . Cil ;
4
- using Mono . Cecil . Rocks ;
5
4
using System ;
6
- using System . Collections . Generic ;
7
- using System . Linq ;
8
- using System . Text ;
9
- using System . Threading . Tasks ;
10
5
11
6
12
7
namespace OverwolfPatcher
Original file line number Diff line number Diff line change 1
- using System ;
2
- using OverwolfPatcher . Classes ;
1
+ using Bluscream ;
3
2
using Mono . Cecil ;
3
+ using OverwolfPatcher . Classes ;
4
+ using System ;
4
5
using System . Linq ;
5
- using Bluscream ;
6
6
7
7
namespace OverwolfPatcher . Patches ;
8
8
9
- internal class ClientBL : IPatch
9
+ internal class ClientBL : IPatch
10
10
{
11
11
12
12
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 ;
5
2
using Mono . Cecil ;
3
+ using OverwolfPatcher . Classes ;
4
+ using System ;
6
5
using System . Linq ;
7
- using Bluscream ;
8
- using Mono . Cecil . Rocks ;
9
- using System . Collections . Generic ;
10
6
11
7
namespace OverwolfPatcher . Patches ;
12
8
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 ;
5
2
using Mono . Cecil ;
6
- using System . Linq ;
7
- using Bluscream ;
3
+ using Mono . Cecil . Cil ;
8
4
using Mono . Cecil . Rocks ;
5
+ using OverwolfPatcher . Classes ;
6
+ using System ;
9
7
using System . Collections . Generic ;
8
+ using System . Linq ;
10
9
11
10
namespace OverwolfPatcher . Patches ;
12
11
Original file line number Diff line number Diff line change 1
- using System ;
2
- using OverwolfPatcher . Classes ;
1
+ using Bluscream ;
3
2
using Mono . Cecil ;
3
+ using OverwolfPatcher . Classes ;
4
+ using System ;
4
5
using System . Linq ;
5
- using Bluscream ;
6
- using Mono . Cecil . Cil ;
7
- using System . Collections . Generic ;
8
- using System . IO ;
9
6
10
7
namespace OverwolfPatcher . Patches ;
11
8
12
- internal class Extensions : IPatch
9
+ internal class Extensions : IPatch
13
10
{
14
11
15
12
public string Name => "Extensions" ;
Original file line number Diff line number Diff line change 1
- using System ;
2
- using OverwolfPatcher . Classes ;
1
+ using Bluscream ;
3
2
using Mono . Cecil ;
4
- using System . Linq ;
5
- using Bluscream ;
6
3
using Mono . Cecil . Cil ;
7
4
using Mono . Cecil . Rocks ;
5
+ using OverwolfPatcher . Classes ;
6
+ using System ;
8
7
using System . Collections . Generic ;
8
+ using System . Linq ;
9
9
10
10
namespace OverwolfPatcher . Patches ;
11
11
12
- internal class Subscriptions : IPatch
12
+ internal class Subscriptions : IPatch
13
13
{
14
14
15
15
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 ;
2
4
using System ;
3
- using System . IO ;
4
5
using System . Collections . Generic ;
5
- using Bluscream ;
6
- using OverwolfPatcher . Classes ;
6
+ using System . IO ;
7
7
8
8
namespace OverwolfPatcher
9
9
{
@@ -33,7 +33,8 @@ static void Main(string[] args)
33
33
Console . WriteLine ( "Overwolf app is running, do you want to close it now? (y/n)" ) ;
34
34
var key = Console . ReadKey ( ) ;
35
35
if ( key . Key == ConsoleKey . Y ) ow . Processes . ForEach ( p => p . Kill ( ) ) ;
36
- else {
36
+ else
37
+ {
37
38
Console . WriteLine ( "Cannot continue, press any key to exit" ) ;
38
39
Console . ReadKey ( ) ;
39
40
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 ;
3
3
using System . Runtime . InteropServices ;
4
4
5
5
// General Information about an assembly is controlled through the following
Original file line number Diff line number Diff line change 1
- using System . Collections . ObjectModel ;
1
+ using System ;
2
+ using System . Collections . Generic ;
3
+ using System . Collections . ObjectModel ;
2
4
using System . Collections . Specialized ;
3
- using System . Globalization ;
4
- using System . Reflection ;
5
- using System . Text . RegularExpressions ;
6
- using System . Text ;
7
5
using System . ComponentModel ;
8
- using System . Collections . Generic ;
6
+ using System . Globalization ;
9
7
using System . IO ;
10
8
using System . Linq ;
11
- using System . Threading . Tasks ;
9
+ using System . Reflection ;
10
+ using System . Text ;
11
+ using System . Text . RegularExpressions ;
12
12
using System . Threading ;
13
- using System ;
13
+ using System . Threading . Tasks ;
14
14
15
15
namespace Bluscream ;
16
16
You can’t perform that action at this time.
0 commit comments