From 7e94062595cee3cf528c971d24f0b693b5e8efee Mon Sep 17 00:00:00 2001 From: Jeff Hanna Date: Fri, 23 Mar 2018 08:39:39 -0700 Subject: [PATCH] changed .edit to .encrypscript so the encrypt command would work correctly. Thanks to feranti for alerting me to this bug. --- MXSPyCOM.csproj | 29 ++++++++++++++++++++++------- Program.cs | 2 +- Properties/AssemblyInfo.cs | 2 +- 3 files changed, 24 insertions(+), 9 deletions(-) diff --git a/MXSPyCOM.csproj b/MXSPyCOM.csproj index ce71459..03cb1bf 100644 --- a/MXSPyCOM.csproj +++ b/MXSPyCOM.csproj @@ -12,8 +12,10 @@ v4.0 512 true + false + publish\ - true + false Disk false Foreground @@ -22,12 +24,11 @@ false false true - 0 + 1 1.0.0.%2a - false false + true true - AnyCPU @@ -38,19 +39,32 @@ DEBUG;TRACE prompt 4 + true AnyCPU - pdbonly + none true bin\Release\ TRACE prompt 4 + true + + + MXSPyCOM.Program + + + 14FFD827CD10FE591F08F8AD8CFFC0232A55C10D + + + MXSPyCOM_TemporaryKey.pfx + + + true - - + true @@ -65,6 +79,7 @@ + diff --git a/Program.cs b/Program.cs index 50f3a46..5bcbe58 100644 --- a/Program.cs +++ b/Program.cs @@ -106,7 +106,7 @@ static void execute_max_commands(string[] args, string filepath) { try { - com_obj.edit(filepath); + com_obj.encryptscript(filepath); } catch (System.Runtime.InteropServices.COMException) { } } diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 34210e7..c79cdb9 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("MXSPyCOM")] -[assembly: AssemblyCopyright("Copyright © 2016 Jeff Hanna, All rights reserved.")] +[assembly: AssemblyCopyright("Copyright © 2016 Jeff Hanna, All rights reserved.")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]