Skip to content

Commit 9068756

Browse files
committed
ease v2.0.11.0
---- - Added killing stopping dependency processes when updating/installing dependencies. - Added disabling CSS integration check at startup via `Config.Instance.CheckUpdatesOnStartup` setting. (triggered by #83)
1 parent 7586201 commit 9068756

File tree

4 files changed

+21
-19
lines changed

4 files changed

+21
-19
lines changed

src/CSScriptNpp/CSScriptNpp/CSScriptHelper.cs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -360,20 +360,21 @@ public static void ShowIntegrationWarning()
360360
public static string InstallCssDotnetCmd => $"dotnet tool {(IsCSScriptInstalled ? "update" : "install")} --global cs-script.cli";
361361

362362
public static string InstallCsSyntaxerDotnetCmd => $"dotnet tool {(IsCSSyntaxerInstalled ? "update" : "install")} --global cs-syntaxer";
363-
public static string InstallCsSyntaxerDotnetCmdFull => $@"echo off
364363

365-
echo Stopping any running syntaxer instance...
364+
public static string InstallCsSyntaxerDotnetCmdFull => $@"echo off
365+
{(IsCSSyntaxerInstalled ? @"
366+
echo Stopping any running Syntaxer instance...
366367
syntaxer -list kill *
367-
368-
echo Installing/updating...
368+
" : "")}
369+
echo {(IsCSSyntaxerInstalled ? "Updating" : "Installing")}...
369370
{InstallCsSyntaxerDotnetCmd}";
370371

371372
public static string InstallCssDotnetCmdFull => $@"echo off
372-
373+
{(IsCSScriptInstalled ? @"
373374
echo Stopping any running CS-Script instance...
374375
css -list kill *
375-
376-
echo Installing/updating...
376+
" : "")}
377+
echo {(IsCSScriptInstalled ? "Updating" : "Installing")}...
377378
{InstallCssDotnetCmd}";
378379

379380
public static bool IsChocoInstalled

src/CSScriptNpp/Dialogs/InstallDependenciesDialog.Designer.cs

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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("2.0.10.0")]
36-
[assembly: AssemblyFileVersion("2.0.10.0")]
35+
[assembly: AssemblyVersion("2.0.11.0")]
36+
[assembly: AssemblyFileVersion("2.0.11.0")]
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Release v2.0.10.0
1+
Release v2.0.11.0
22
----
3-
- #83: cs-script.integration-info.md pops up every reboot
4-
Checking of the CSS integration at startup is now a condition of if `Config.Instance.CheckUpdatesOnStartup`
3+
- Added killing stopping dependency processes when updating/installing dependencies.
4+
- Added disabling CSS integration check at startup via `Config.Instance.CheckUpdatesOnStartup` setting. (triggered by #83)
5+

0 commit comments

Comments
 (0)