File tree 2 files changed +16
-3
lines changed
2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 52
52
// by using the '*' as shown below:
53
53
// [assembly: AssemblyVersion("1.0.*")]
54
54
55
- [ assembly: AssemblyVersion ( "1.2.5 " ) ]
56
- [ assembly: AssemblyFileVersion ( "1.2.5 " ) ]
55
+ [ assembly: AssemblyVersion ( "1.2.6 " ) ]
56
+ [ assembly: AssemblyFileVersion ( "1.2.6 " ) ]
Original file line number Diff line number Diff line change 1
- using System . Diagnostics ;
1
+ using System ;
2
+ using System . Diagnostics ;
2
3
using System . IO ;
3
4
4
5
namespace SymlinkCreator . core
@@ -45,6 +46,18 @@ public void ExecuteAsAdmin()
45
46
CreateWrapperScript ( wrapperScriptFileName , stderrFileName ) ;
46
47
ExecuteWrapperScript ( wrapperScriptFileName , stderrFileName ) ;
47
48
}
49
+ catch ( Exception ex )
50
+ {
51
+ if ( StandardError . Length > 0 )
52
+ {
53
+ StandardError += "\n " ;
54
+ }
55
+ StandardError += ex . ToString ( ) ;
56
+ if ( ExitCode == 0 )
57
+ {
58
+ ExitCode = - 1 ;
59
+ }
60
+ }
48
61
finally
49
62
{
50
63
File . Delete ( wrapperScriptFileName ) ;
You can’t perform that action at this time.
0 commit comments