Skip to content

Commit c3f0253

Browse files
authored
Merge pull request #8 from clear-code/use-local-mutext
Use local mutext
2 parents 43347ec + 0cce1f9 commit c3f0253

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

RepostConfirmationCanceler/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This Source Code Form is subject to the terms of the Mozilla Public
1515

1616
class Program
1717
{
18-
private static Mutex MyMutex { get; } = new Mutex(false, @"Global\RepostConfirmationCancelerMutex");
18+
private static Mutex MyMutex { get; } = new Mutex(false, @"RepostConfirmationCancelerMutex");
1919

2020
[STAThread]
2121
static void Main()

RepostConfirmationCanceler/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@
2929
// ビルド番号
3030
// リビジョン
3131
//
32-
[assembly: AssemblyVersion("1.2.0.0")]
33-
[assembly: AssemblyFileVersion("1.2.0.0")]
32+
[assembly: AssemblyVersion("1.2.1.0")]
33+
[assembly: AssemblyFileVersion("1.2.1.0")]

RepostConfirmationCancelerX64.iss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
[Setup]
44
AppName=RepostConfirmationCanceler
55
AppVerName=RepostConfirmationCanceler
6-
VersionInfoVersion=1.2.0.0
7-
AppVersion=1.2.0.0
6+
VersionInfoVersion=1.2.1.0
7+
AppVersion=1.2.1.0
88
AppMutex=RepostConfirmationCancelerSetup
99
;DefaultDirName=C:\RepostConfirmationCanceler
1010
DefaultDirName={code:GetProgramFiles}\RepostConfirmationCanceler
@@ -24,15 +24,15 @@ UninstallDisplayIcon={app}\RepostConfirmationCanceler.exe
2424
Root: HKLM; Subkey: "Software\RepostConfirmationCanceler"; Flags: uninsdeletekey
2525
Root: HKLM; Subkey: "Software\RepostConfirmationCanceler"; ValueType: string; ValueName: "Path"; ValueData: "{app}\"
2626
Root: HKLM; Subkey: "Software\RepostConfirmationCanceler"; ValueType: string; ValueName: "ClientType"; ValueData: ""
27-
Root: HKLM; Subkey: "Software\RepostConfirmationCanceler"; ValueType: string; ValueName: "Version"; ValueData: "1.2.0.0"
27+
Root: HKLM; Subkey: "Software\RepostConfirmationCanceler"; ValueType: string; ValueName: "Version"; ValueData: "1.2.1.0"
2828
Root: HKLM; Subkey: "Software\RepostConfirmationCanceler"; ValueType: string; ValueName: "Rulefile"; ValueData: "{app}\RepostConfirmationCanceler.ini"
2929
Root: HKLM; Subkey: "Software\RepostConfirmationCanceler"; ValueType: string; ValueName: "RCAPfile"; ValueData: "{app}\ResourceCap.ini"
3030
Root: HKLM; Subkey: "Software\RepostConfirmationCanceler"; ValueType: string; ValueName: "ExtensionExecfile"; ValueData: "{app}\RepostConfirmationCanceler.exe"
3131

3232
Root: HKLM; Subkey: "Software\WOW6432Node\RepostConfirmationCanceler"; Flags: uninsdeletekey
3333
Root: HKLM; Subkey: "Software\WOW6432Node\RepostConfirmationCanceler"; ValueType: string; ValueName: "Path"; ValueData: "{app}\"
3434
Root: HKLM; Subkey: "Software\WOW6432Node\RepostConfirmationCanceler"; ValueType: string; ValueName: "ClientType"; ValueData: ""
35-
Root: HKLM; Subkey: "Software\WOW6432Node\RepostConfirmationCanceler"; ValueType: string; ValueName: "Version"; ValueData: "1.2.0.0"
35+
Root: HKLM; Subkey: "Software\WOW6432Node\RepostConfirmationCanceler"; ValueType: string; ValueName: "Version"; ValueData: "1.2.1.0"
3636
Root: HKLM; Subkey: "Software\WOW6432Node\RepostConfirmationCanceler"; ValueType: string; ValueName: "Rulefile"; ValueData: "{app}\RepostConfirmationCanceler.ini"
3737
Root: HKLM; Subkey: "Software\WOW6432Node\RepostConfirmationCanceler"; ValueType: string; ValueName: "RCAPfile"; ValueData: "{app}\ResourceCap.ini"
3838
Root: HKLM; Subkey: "Software\WOW6432Node\RepostConfirmationCanceler"; ValueType: string; ValueName: "ExtensionExecfile"; ValueData: "{app}\RepostConfirmationCanceler.exe"

RepostConfirmationCancelerX86.iss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
[Setup]
44
AppName=RepostConfirmationCanceler
55
AppVerName=RepostConfirmationCanceler
6-
VersionInfoVersion=1.2.0.0
7-
AppVersion=1.2.0.0
6+
VersionInfoVersion=1.2.1.0
7+
AppVersion=1.2.1.0
88
AppMutex=RepostConfirmationCancelerSetup
99
;DefaultDirName=C:\RepostConfirmationCanceler
1010
DefaultDirName={code:GetProgramFiles}\RepostConfirmationCanceler
@@ -23,7 +23,7 @@ UninstallDisplayIcon={app}\RepostConfirmationCanceler.exe
2323
Root: HKLM; Subkey: "Software\RepostConfirmationCanceler"; Flags: uninsdeletekey
2424
Root: HKLM; Subkey: "Software\RepostConfirmationCanceler"; ValueType: string; ValueName: "Path"; ValueData: "{app}\"
2525
Root: HKLM; Subkey: "Software\RepostConfirmationCanceler"; ValueType: string; ValueName: "ClientType"; ValueData: ""
26-
Root: HKLM; Subkey: "Software\RepostConfirmationCanceler"; ValueType: string; ValueName: "Version"; ValueData: "1.2.0.0"
26+
Root: HKLM; Subkey: "Software\RepostConfirmationCanceler"; ValueType: string; ValueName: "Version"; ValueData: "1.2.1.0"
2727
Root: HKLM; Subkey: "Software\RepostConfirmationCanceler"; ValueType: string; ValueName: "Rulefile"; ValueData: "{app}\RepostConfirmationCanceler.ini"
2828
Root: HKLM; Subkey: "Software\RepostConfirmationCanceler"; ValueType: string; ValueName: "RCAPfile"; ValueData: "{app}\ResourceCap.ini"
2929
Root: HKLM; Subkey: "Software\RepostConfirmationCanceler"; ValueType: string; ValueName: "ExtensionExecfile"; ValueData: "{app}\RepostConfirmationCanceler.exe"

0 commit comments

Comments
 (0)