Skip to content

Commit 561bacd

Browse files
committed
Removed deployment of the embedded engine
1 parent 372ec72 commit 561bacd

File tree

113 files changed

+4
-1462
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+4
-1462
lines changed

src/CSScriptNpp/CSScriptNpp/CSScriptHelper.cs

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -32,44 +32,11 @@ public static class Runtime
3232

3333
public static void Init()
3434
{
35-
CSScriptHelper.Integration.DisableLegacyIntegration();
36-
3735
cscs_asm = Config.Instance.CustomEngineAsm;
3836
syntaxer_asm = Config.Instance.CustomSyntaxerAsm;
3937
syntaxer_port = Config.Instance.CustomSyntaxerPort;
4038

41-
// if (!Config.Instance.UseEmbeddedEngine && Config.Instance.CustomSyntaxerAsm.HasText())
42-
// {
43-
// syntaxer_asm = Config.Instance.CustomSyntaxerAsm;
44-
// syntaxer_port = Config.Instance.CustomSyntaxerPort;
45-
// }
46-
// else
47-
// {
48-
// syntaxer_asm = dependenciesDirRoot.PathJoin("cs-syntaxer", "syntaxer.dll");
49-
// syntaxer_port = 18001;
50-
51-
// if (!Directory.Exists(syntaxer_asm.GetDirName()))
52-
// DeployDir(Bootstrapper.pluginDir.PathJoin("cs-syntaxer"),
53-
// syntaxer_asm.GetDirName());
54-
// }
55-
56-
// if (!Config.Instance.UseEmbeddedEngine && Config.Instance.CustomEngineAsm.HasText())
57-
// {
58-
// cscs_asm = Config.Instance.CustomEngineAsm;
59-
// }
60-
// else
61-
// {
62-
// cscs_asm = dependenciesDirRoot.PathJoin("cs-script", "cscs.dll");
63-
64-
// if (!Directory.Exists(cscs_asm.GetDirName()))
65-
// DeployDir(Bootstrapper.pluginDir.PathJoin("cs-script"),
66-
// cscs_asm.GetDirName());
67-
68-
// var oldServicesVersions = Directory.GetDirectories(Path.GetDirectoryName(dependenciesDirRoot))
69-
// .Where(x => x != dependenciesDirRoot);
70-
// foreach (var dir in oldServicesVersions)
71-
// DeleteDir(dir);
72-
// }
39+
CSScriptHelper.Integration.DisableLegacyIntegration();
7340

7441
Syntaxer.cscs_asm = () => Runtime.cscs_asm;
7542
Syntaxer.syntaxer_asm = () => Runtime.syntaxer_asm;
Binary file not shown.
Binary file not shown.
Binary file not shown.
-2.76 MB
Binary file not shown.

src/CSScriptNpp/CSScriptNpp/cs-script/cscs.deps.json

Lines changed: 0 additions & 312 deletions
This file was deleted.
-443 KB
Binary file not shown.
-183 KB
Binary file not shown.

src/CSScriptNpp/CSScriptNpp/cs-script/cscs.runtimeconfig.json

Lines changed: 0 additions & 13 deletions
This file was deleted.
-50 KB
Binary file not shown.

0 commit comments

Comments
 (0)