Skip to content

Commit 3bb9f39

Browse files
author
Jaben Cargman
committedAug 1, 2017
Fixed the mispelling for Papercut.Module. Updated to v5.0.0.0
1 parent 8af8221 commit 3bb9f39

File tree

9 files changed

+62
-10
lines changed

9 files changed

+62
-10
lines changed
 

‎Papercut.sln

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Papercut.Network", "src\Pap
2929
EndProject
3030
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Papercut.Common", "src\Papercut.Common\Papercut.Common.csproj", "{5FA0E4AA-27AF-4801-B6CA-8C97DADD6DA6}"
3131
EndProject
32-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Papercut.Modeule.WebUI", "src\Papercut.Module.WebUI\Papercut.Modeule.WebUI.csproj", "{A1C924F3-3CFB-4844-B79F-8BFFEC60EEBF}"
32+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Papercut.Module.WebUI", "src\Papercut.Module.WebUI\Papercut.Module.WebUI.csproj", "{A1C924F3-3CFB-4844-B79F-8BFFEC60EEBF}"
3333
EndProject
3434
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{2D6337D4-FD59-49E0-9209-4B06219DB29D}"
3535
EndProject

‎chocolately/papercut-service.nuspec

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
3+
<metadata>
4+
<id>papercut-service</id>
5+
<version>5.0.0.0</version>
6+
<title>Papercut</title>
7+
<authors>Jaben</authors>
8+
<owners>Jaben</owners>
9+
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
10+
<projectUrl>https://github.com/Jaben/Papercut/</projectUrl>
11+
<iconUrl>https://raw.githubusercontent.com/ChangemakerStudios/Papercut/develop/graphics/Papercut-Service-icon.png</iconUrl>
12+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
13+
<description>Papercut Service: Ever need to test emails from an application, but don't necessarily want it sending them out? Don't want to hassle with pointing it to a physical SMTP server? All you want to is verify it can send email, and take a look at the message.
14+
15+
Papercut is the answer. Papercut is a simplified SMTP server designed to only receive messages (not to send them on) with a GUI on top of it allowing you to see the messages it receives. It doesn't enforce any restrictions on addresses, it just takes the message and allows you see it. It is only active while it is running, and if you want it in the background, just minimize it to the system tray. When it receives a new message, a balloon message will show up to let you know.</description>
16+
<summary>Papercut Service - Backend SMTP Service to Receive Emails</summary>
17+
<tags>dummy smtp papercut service</tags>
18+
</metadata>
19+
<files>
20+
<file src="..\src\Papercut.Service\bin\Release\Papercut.exe" target="bin\Papercut.Service.exe" />
21+
<file src="..\src\Papercut.Service\bin\Release\Papercut.exe.config" target="bin\Papercut.Service.exe.config" />
22+
<file src="tools\Papercut.exe.gui" target="bin\Papercut.exe.gui" />
23+
</files>
24+
</package>

‎chocolately/papercut.nuspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata>
44
<id>papercut</id>
5-
<version>4.8.0.0</version>
5+
<version>5.0.0.0</version>
66
<title>Papercut</title>
77
<authors>Jaben</authors>
88
<owners>Jaben</owners>
+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
$packageName = 'Papercut.Service'
2+
$serviceName = "XSockets-4.0.0"
3+
Write-Host "Installing Windows Service: $($packageName)"
4+
# verify if the service already exists, and if yes remove it first
5+
if (Get-Service $serviceName -ErrorAction SilentlyContinue)
6+
{
7+
# using WMI to remove Windows service because PowerShell does not have CmdLet for this
8+
$serviceToRemove = Get-WmiObject -Class Win32_Service -Filter "name='$serviceName'"
9+
#Stop-Service $serviceName
10+
$serviceToRemove.delete()
11+
Write-Host "service $($packageName) removed"
12+
}
13+
else
14+
{
15+
# just do nothing
16+
Write-Host "service $($packageName) does not exists"
17+
}
18+
19+
Write-Host "installing $($packageName) service from $(Split-Path $MyInvocation.MyCommand.Path))"
20+
# creating credentials which can be used to run my windows service
21+
#$secpasswd = ConvertTo-SecureString "MyPa$$word" -AsPlainText -Force
22+
#$mycreds = New-Object System.Management.Automation.PSCredential (".\MyUserName", $secpasswd)
23+
$binaryPath = "$(Split-Path $MyInvocation.MyCommand.Path)\XSockets.Windows.Service.exe"
24+
# creating windows service using all provided parameters
25+
New-Service -name $serviceName -binaryPathName $binaryPath -displayName $serviceName -startupType Automatic
26+
#-credential $mycreds
27+
#Start-Service $serviceName
28+
Write-Host "$($packageName) installation completed"

‎src/Papercut.Common/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("4.8.0.0")]
36-
[assembly: AssemblyFileVersion("4.8.0.0")]
35+
[assembly: AssemblyVersion("5.0.0.0")]
36+
[assembly: AssemblyFileVersion("5.0.0.0")]

‎src/Papercut.Core/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
// by using the '*' as shown below:
5454
// [assembly: AssemblyVersion("1.0.*")]
5555

56-
[assembly: AssemblyVersion("4.8.0.0")]
57-
[assembly: AssemblyFileVersion("4.8.0.0")]
56+
[assembly: AssemblyVersion("5.0.0.0")]
57+
[assembly: AssemblyFileVersion("5.0.0.0")]
5858
[assembly:InternalsVisibleTo("Papercut.Module.WebUI.Test")]

‎src/Papercut.Service/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@
5252
// by using the '*' as shown below:
5353
// [assembly: AssemblyVersion("1.0.*")]
5454

55-
[assembly: AssemblyVersion("4.8.0.0")]
56-
[assembly: AssemblyFileVersion("4.8.0.0")]
55+
[assembly: AssemblyVersion("5.0.0.0")]
56+
[assembly: AssemblyFileVersion("5.0.0.0")]

‎src/Papercut.UI/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@
6767
// by using the '*' as shown below:
6868
// [assembly: AssemblyVersion("1.0.*")]
6969

70-
[assembly: AssemblyVersion("4.8.0.0")]
71-
[assembly: AssemblyFileVersion("4.8.0.0")]
70+
[assembly: AssemblyVersion("5.0.0.0")]
71+
[assembly: AssemblyFileVersion("5.0.0.0")]

0 commit comments

Comments
 (0)
Please sign in to comment.