Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit d72e6f0

Browse files
committed
Update build
1 parent e9c9414 commit d72e6f0

File tree

4 files changed

+12
-1
lines changed

4 files changed

+12
-1
lines changed

Deploy/Compress.ps1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
$compress = @{
2+
LiteralPath= "sourcepawn/", "Spedit.exe", "MahApps.Metro.dll", "ICSharpCode.AvalonEdit.dll", "System.Windows.Interactivity.dll", "Xceed.Wpf.AvalonDock.dll", "Xceed.Wpf.AvalonDock.Themes.Metro.dll", "smxdasm.dll", "LysisForSpedit.dll", "QueryMaster.dll", "Ionic.BZip2.dll", "SourcepawnCondenser.dll", "Renci.SshNet.dll", "Newtonsoft.Json.dll", "DiscordRPC.dll", "ControlzEx.dll", "lang_0_spedit.xml", "GPLv3.txt"
3+
#Path= "sourcepawn/"
4+
#CompressionLevel = "Fastest"
5+
DestinationPath = "SPEdit.Portable.zip"
6+
7+
}
8+
Compress-Archive -Force @compress

Deploy/SPEdit.nsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ File SourcepawnCondenser.dll
5151
File Renci.SshNet.dll
5252
File Newtonsoft.Json.dll
5353
File DiscordRPC.dll
54+
File ControlzEx.dll
5455

5556
File lang_0_spedit.xml
5657
File GPLv3.txt

Spedit.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@
416416
<ClInclude Include="Deploy\GPLv3.txt" />
417417
<ClInclude Include="Deploy\icon.ico" />
418418
<ClInclude Include="Deploy\SPEdit.nsi" />
419+
<Content Include="Deploy\Compress.ps1" />
419420
<ClInclude Include="Resources\lang_0_spedit.xml" />
420421
<ClInclude Include="Resources\lang_0_spedit_entryTemplate.xml" />
421422
<ClInclude Include="Resources\Misc\Configurations\sm_1_10_0_6478\spcomp.exe" />
@@ -518,6 +519,7 @@
518519
C:\Windows\system32\xcopy ".\..\..\Resources\Misc\Configurations" ".\sourcepawn\configs" /e /y /q
519520
copy ".\..\..\Resources\lang_0_spedit.xml" ".\lang_0_spedit.xml" /y
520521
copy ".\..\..\Deploy\SPEdit.nsi" ".\SPEdit.nsi" /y
522+
copy ".\..\..\Deploy\Compress.ps1" ".\Compress.ps1" /y
521523
copy ".\..\..\Deploy\DotNetChecker.nsh" ".\DotNetChecker.nsh" /y
522524
copy ".\..\..\Deploy\FileAssociation.nsh" ".\FileAssociation.nsh" /y
523525
copy ".\..\..\Deploy\GPLv3.txt" ".\GPLv3.txt" /y

UI/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ private void DockingManager_ActiveContentChanged(object sender, EventArgs e)
201201

202202
private void DockingManager_DocumentClosing(object sender, Xceed.Wpf.AvalonDock.DocumentClosingEventArgs e)
203203
{
204-
(e.Document.Content as EditorElement)?.Close();
204+
((EditorElement) e.Document.Content).Close();
205205
UpdateWindowTitle();
206206
}
207207

0 commit comments

Comments
 (0)