Skip to content

Commit ca1b05f

Browse files
oleg.shilooleg.shilo
authored andcommitted
- Published on PluginList v 1.7.26.0
- Added local test scripts
1 parent 859b600 commit ca1b05f

File tree

11 files changed

+50
-5
lines changed

11 files changed

+50
-5
lines changed

bin/local.test/GUP.exe

709 KB
Binary file not shown.

bin/local.test/notepad++.exe

6.3 MB
Binary file not shown.

bin/local.test/prepare-test.cs

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
//css_ng csc
2+
////css_args 0
3+
using System;
4+
using System.IO;
5+
using System.Linq;
6+
using System.Collections.Generic;
7+
using static dbg; // to use 'print' instead of 'dbg.print'
8+
9+
var npp = @"C:\Program Files\Notepad++\notepad++.exe";
10+
var npp_original = npp + ".original";
11+
var npp_debug = Path.GetFullPath(@".\notepad++.exe");
12+
13+
var gup = @"C:\Program Files\Notepad++\updater\GUP.exe";
14+
var gup_original = gup + ".original";
15+
var gup_debug = Path.GetFullPath(@".\GUP.exe");
16+
17+
var config = @"C:\Program Files\Notepad++\plugins\Config\nppPluginList.json";
18+
var config_src = @".\..\src\pl.x64.json";
19+
20+
if (args.FirstOrDefault() == "0")
21+
{
22+
print("Rollback binaries...");
23+
if (File.Exists(npp_original))
24+
File.Copy(npp_original, npp, true);
25+
26+
if (File.Exists(gup_original))
27+
File.Copy(gup_original, gup, true);
28+
29+
File.Delete(config);
30+
}
31+
else
32+
{
33+
print("Prepare binaries for test...");
34+
35+
if (!File.Exists(npp_original))
36+
File.Copy(npp, npp_original, true);
37+
38+
if (!File.Exists(gup_original))
39+
File.Copy(gup, gup_original, true);
40+
41+
File.Copy(npp_debug, npp, true);
42+
File.Copy(gup_debug, gup, true);
43+
44+
File.Copy(config_src, config, true);
45+
}
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

src/CSScriptNpp/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// Build Number
3333
// Revision
3434
//
35-
[assembly: AssemblyVersion("1.7.25.1")]
36-
[assembly: AssemblyFileVersion("1.7.25.1")]
35+
[assembly: AssemblyVersion("1.7.26.0")]
36+
[assembly: AssemblyFileVersion("1.7.26.0")]

0 commit comments

Comments
 (0)