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

Commit 408d044

Browse files
committed
Rename project to Spcode
1 parent e004224 commit 408d044

File tree

75 files changed

+165
-166
lines changed

Some content is hidden

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

75 files changed

+165
-166
lines changed

App/AssemblyInfo1.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8-
[assembly: AssemblyTitle("Spedit")]
9-
[assembly: AssemblyDescription("SPEdit - a lightweight sourcepawn editor")]
8+
[assembly: AssemblyTitle("Spcode")]
9+
[assembly: AssemblyDescription("SPCode - a lightweight sourcepawn editor")]
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("SPEdit")]
13-
[assembly: AssemblyCopyright("Copyright © Julien Kluge 2015")]
12+
[assembly: AssemblyProduct("SPCode")]
13+
[assembly: AssemblyCopyright("Copyright © Julien Kluge 2015 - Hexah 2020")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616
[assembly: NeutralResourcesLanguage("en-US")]

Deploy/Compress.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
$loc = Get-Location
22
Set-Location 'bin\Release\'
33
$compress = @{
4-
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", "Octokit.dll", "lang_0_spedit.xml", "GPLv3.txt"
4+
LiteralPath= "sourcepawn/", "Spcode.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", "Octokit.dll", "lang_0_spcode.xml", "GPLv3.txt"
55
#Path= "sourcepawn/"
66
#CompressionLevel = "Fastest"
7-
DestinationPath = "SPEdit.Portable.zip"
7+
DestinationPath = "SPCode.Portable.zip"
88

99
}
1010
Compress-Archive -Force @compress
Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
!include "FileAssociation.nsh"
44
!addplugindir .\nsis-plugins
55

6-
Name "SPEdit"
7-
OutFile "SPEdit.Installer.exe"
6+
Name "SPCode"
7+
OutFile "SPCode.Installer.exe"
88

9-
InstallDir $APPDATA\spedit
9+
InstallDir $APPDATA\spcode
1010

1111
RequestExecutionLevel admin
1212

@@ -38,7 +38,7 @@ SetOutPath $INSTDIR
3838
!insertmacro CheckNetFramework 48
3939

4040

41-
File Spedit.exe
41+
File Spcode.exe
4242
File MahApps.Metro.dll
4343
File ICSharpCode.AvalonEdit.dll
4444
File System.Windows.Interactivity.dll
@@ -55,7 +55,7 @@ File DiscordRPC.dll
5555
File ControlzEx.dll
5656
File Octokit.dll
5757

58-
File lang_0_spedit.xml
58+
File lang_0_spcode.xml
5959
File GPLv3.txt
6060

6161
IfFileExists $INSTDIR\options_0.dat OptionsExist OptionsDoesNotExist
@@ -72,14 +72,14 @@ CreateDirectory "$INSTDIR\sourcepawn\configs"
7272
CreateDirectory "$INSTDIR\sourcepawn\configs\sm_1_10_0_6478"
7373
File /r ".\sourcepawn"
7474

75-
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit" "DisplayName" "SPEdit - A lightweight sourcepawn editor"
76-
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit" "UninstallString" "$INSTDIR\uninstall.exe"
77-
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit" "InstallLocation" "$INSTDIR"
78-
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit" "DisplayIcon" "$INSTDIR\Spedit.exe"
79-
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit" "Publisher" "Hexah"
80-
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit" "DisplayVersion" "1.3.4.6"
81-
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit" "NoModify" 1
82-
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit" "NoRepair" 1
75+
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spcode" "DisplayName" "SPCode - A lightweight sourcepawn editor"
76+
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spcode" "UninstallString" "$INSTDIR\uninstall.exe"
77+
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spcode" "InstallLocation" "$INSTDIR"
78+
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spcode" "DisplayIcon" "$INSTDIR\Spcode.exe"
79+
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spcode" "Publisher" "Hexah"
80+
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spcode" "DisplayVersion" "1.4.x.x"
81+
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spcode" "NoModify" 1
82+
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spcode" "NoRepair" 1
8383

8484
WriteUninstaller $INSTDIR\uninstall.exe
8585
SectionEnd
@@ -88,33 +88,33 @@ SectionEnd
8888

8989
Section "File Association (.sp)" prog02
9090
SectionIn 1
91-
${registerExtension} "$INSTDIR\Spedit.exe" ".sp" "Sourcepawn Script"
91+
${registerExtension} "$INSTDIR\Spcode.exe" ".sp" "Sourcepawn Script"
9292
System::Call 'Shell32::SHChangeNotify(i ${SHCNE_ASSOCCHANGED}, i ${SHCNF_IDLIST}, i 0, i 0)'
9393
SectionEnd
9494

9595

9696
Section "File Association (.inc)" prog03
9797
SectionIn 1
98-
${registerExtension} "$INSTDIR\Spedit.exe" ".inc" "Sourcepawn Include-File"
98+
${registerExtension} "$INSTDIR\Spcode.exe" ".inc" "Sourcepawn Include-File"
9999
System::Call 'Shell32::SHChangeNotify(i ${SHCNE_ASSOCCHANGED}, i ${SHCNF_IDLIST}, i 0, i 0)'
100100
SectionEnd
101101

102102

103103
Section "File Association (.smx)" prog04
104104
SectionIn 1
105-
${registerExtension} "$INSTDIR\Spedit.exe" ".smx" "Sourcemod Plugin"
105+
${registerExtension} "$INSTDIR\Spcode.exe" ".smx" "Sourcemod Plugin"
106106
System::Call 'Shell32::SHChangeNotify(i ${SHCNE_ASSOCCHANGED}, i ${SHCNF_IDLIST}, i 0, i 0)'
107107
SectionEnd
108108

109109

110110
Section "Desktop Shortcut" prog05
111111
SectionIn 1
112-
CreateShortCut "$DESKTOP\SPEdit.lnk" "$INSTDIR\Spedit.exe" ""
112+
CreateShortCut "$DESKTOP\SPCode.lnk" "$INSTDIR\Spcode.exe" ""
113113
SectionEnd
114114

115115
Section "Startmenu Shortcut" prog06
116116
SectionIn 1
117-
CreateShortCut "$SMPROGRAMS\SPEdit.lnk" "$INSTDIR\Spedit.exe" ""
117+
CreateShortCut "$SMPROGRAMS\SPCode.lnk" "$INSTDIR\Spcode.exe" ""
118118
SectionEnd
119119

120120
Section "Uninstall"
@@ -123,7 +123,7 @@ Delete $INSTDIR\uninstall.exe
123123

124124

125125

126-
Delete $INSTDIR\Spedit.exe
126+
Delete $INSTDIR\Spcode.exe
127127
Delete $INSTDIR\MahApps.Metro.dll
128128
Delete $INSTDIR\ICSharpCode.AvalonEdit.dll
129129
Delete $INSTDIR\System.Windows.Interactivity.dll
@@ -139,17 +139,17 @@ Delete $INSTDIR\Newtonsoft.Json.dll
139139
Delete $INSTDIR\DiscordRPC.dll
140140

141141

142-
Delete $INSTDIR\lang_0_spedit.xml
142+
Delete $INSTDIR\lang_0_spcode.xml
143143
Delete $INSTDIR\GPLv3.txt
144144
Delete $INSTDIR\*.dat
145145
RMDir /r $INSTDIR\sourcepawn
146146
RMDir $INSTDIR
147147

148-
Delete "$DESKTOP\SPEdit.lnk"
149-
Delete "$SMPROGRAMS\SPEdit.lnk"
148+
Delete "$DESKTOP\SPCode.lnk"
149+
Delete "$SMPROGRAMS\SPCode.lnk"
150150

151151

152-
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spedit"
152+
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\spcode"
153153

154154
${unregisterExtension} ".sp" "Sourcepawn Script"
155155
${unregisterExtension} ".inc" "Sourcepawn Include-File"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
using System.Linq;
66
using System.Threading;
77
using System.Windows.Forms;
8-
using SpeditUpdater.Properties;
8+
using SpcodeUpdater.Properties;
99

10-
namespace SpeditUpdater
10+
namespace SpcodeUpdater
1111
{
1212
public static class Program
1313
{
@@ -16,7 +16,7 @@ public static class Program
1616
[STAThread]
1717
public static void Main()
1818
{
19-
var processes = Process.GetProcessesByName("Spedit");
19+
var processes = Process.GetProcessesByName("Spcode");
2020
foreach (var process in processes)
2121
try
2222
{

Deploy/SpeditUpdater/Properties/Resources.Designer.cs renamed to Deploy/SpcodeUpdater/Properties/Resources.Designer.cs

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

Deploy/SpeditUpdater/Properties/Resources.resx renamed to Deploy/SpcodeUpdater/Properties/Resources.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,6 @@
122122
<value>..\Res\IconPng.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
123123
</data>
124124
<data name="Update" type="System.Resources.ResXFileRef, System.Windows.Forms">
125-
<value>..\..\..\bin\Release\SPEdit.Portable.zip;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
125+
<value>..\..\..\bin\Release\SPCode.Portable.zip;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
126126
</data>
127127
</root>

0 commit comments

Comments
 (0)