From 2d7650756175fd9c990f2ac4681a950b627e5ab8 Mon Sep 17 00:00:00 2001 From: Daiyuu Nobori Date: Mon, 8 Oct 2018 11:19:39 +0900 Subject: [PATCH] Next, change the project name "Ham" to "vpntest" so every programmer will recognize easily it is a test program. --- src/BuildUtil/UnixBuildSoftwares.cs | 4 +- src/Cedar/WinUi.c | 4 +- src/Ham/Cert.ico | Bin 1078 -> 0 bytes src/Ham/Mon.c | 1 - src/Ham/Mon.h | 1 - src/Ham/Scan.c | 1 - src/Ham/Scan.h | 1 - src/SEVPN.sln | 2 +- src/{Ham => vpntest}/resource.h | 0 src/{Ham/Ham.c => vpntest/vpntest.c} | 0 src/{Ham/Ham.h => vpntest/vpntest.h} | 0 src/{Ham/NIC.ico => vpntest/vpntest.ico} | Bin src/{Ham/Ham.rc => vpntest/vpntest.rc} | 2 +- .../Ham.vcproj => vpntest/vpntest.vcproj} | 44 ++++-------------- 14 files changed, 16 insertions(+), 44 deletions(-) delete mode 100644 src/Ham/Cert.ico delete mode 100644 src/Ham/Mon.c delete mode 100644 src/Ham/Mon.h delete mode 100644 src/Ham/Scan.c delete mode 100644 src/Ham/Scan.h rename src/{Ham => vpntest}/resource.h (100%) rename src/{Ham/Ham.c => vpntest/vpntest.c} (100%) rename src/{Ham/Ham.h => vpntest/vpntest.h} (100%) rename src/{Ham/NIC.ico => vpntest/vpntest.ico} (100%) rename src/{Ham/Ham.rc => vpntest/vpntest.rc} (91%) rename src/{Ham/Ham.vcproj => vpntest/vpntest.vcproj} (92%) diff --git a/src/BuildUtil/UnixBuildSoftwares.cs b/src/BuildUtil/UnixBuildSoftwares.cs index 75e259f4..b5ecebe7 100644 --- a/src/BuildUtil/UnixBuildSoftwares.cs +++ b/src/BuildUtil/UnixBuildSoftwares.cs @@ -143,7 +143,7 @@ namespace BuildUtil @"bin\BuiltHamcoreFiles", @"bin\hamcore", "Cedar", - "Ham", + "vpntest", "Mayaqua", "Neo", "vpnbridge", @@ -732,7 +732,7 @@ namespace BuildUtil { string[] programNames = { - "Ham", + "vpntest", "vpnserver", "vpnbridge", "vpnclient", diff --git a/src/Cedar/WinUi.c b/src/Cedar/WinUi.c index ff84e76f..7ea05e0c 100644 --- a/src/Cedar/WinUi.c +++ b/src/Cedar/WinUi.c @@ -1965,8 +1965,8 @@ void RegistWindowsFirewallAllEx(char *dir) MsRegistWindowsFirewallEx2(CEDAR_CUI_STR, "vpncmd.exe", dir); MsRegistWindowsFirewallEx2(CEDAR_CUI_STR, "vpncmd_x64.exe", dir); - MsRegistWindowsFirewallEx2(CEDAR_PRODUCT_STR, "ham.exe", dir); - MsRegistWindowsFirewallEx2(CEDAR_PRODUCT_STR, "ham_x64.exe", dir); + MsRegistWindowsFirewallEx2(CEDAR_PRODUCT_STR, "vpntest.exe", dir); + MsRegistWindowsFirewallEx2(CEDAR_PRODUCT_STR, "vpntest_x64.exe", dir); } // Check whether the notification service is already running diff --git a/src/Ham/Cert.ico b/src/Ham/Cert.ico deleted file mode 100644 index ec86d51a2d2f3b82d23a6872edae98c35fb82605..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1078 zcmb_by-ve05WWC2>LZ*y5N{nA(ya`Z7&`b}0Lk4Fk)e+STlzSNky>)4499m)(o%#F zQu%xr-;e#}Vqb^~x*+BmDc&xKZZOYggKrC>>q{bw7(?%%1zq6@VC@85J?zj(lZBc_ zEhq+z?RJY9@v!O3k=(YswSj8&x1%Oy{L4l z#(s$|!#kf6m*tqlfuNB+kuiWBd>%lv6^TRZP! zkM}A6u5Fjf?neIC#bSw<$LPDvpW3!YS~1kWuBHlJa{WUt=M&qL@3(B~+RP7<*lhM8 z9ORi#kJs?I*LN&tu$prTf8Sqxf1mcb_Ax`JK5tH{Jw@Exu8mS7o+|Vv;+=H8APyGgnRroV#`N9I_~+^0 K_b1IK_D-KTYj(8& diff --git a/src/Ham/Mon.c b/src/Ham/Mon.c deleted file mode 100644 index d3f5a12f..00000000 --- a/src/Ham/Mon.c +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Ham/Mon.h b/src/Ham/Mon.h deleted file mode 100644 index d3f5a12f..00000000 --- a/src/Ham/Mon.h +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Ham/Scan.c b/src/Ham/Scan.c deleted file mode 100644 index d3f5a12f..00000000 --- a/src/Ham/Scan.c +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Ham/Scan.h b/src/Ham/Scan.h deleted file mode 100644 index d3f5a12f..00000000 --- a/src/Ham/Scan.h +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/SEVPN.sln b/src/SEVPN.sln index 5435d06a..1c4a3124 100644 --- a/src/SEVPN.sln +++ b/src/SEVPN.sln @@ -90,7 +90,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Cedar", "Cedar\Cedar.vcproj {384815C3-333C-4CEC-9DCD-B6AB2602EBB9} = {384815C3-333C-4CEC-9DCD-B6AB2602EBB9} EndProjectSection EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Ham", "Ham\Ham.vcproj", "{1ED5782B-1734-4FC6-AA9E-F7181CDBA8A7}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vpntest", "vpntest\vpntest.vcproj", "{1ED5782B-1734-4FC6-AA9E-F7181CDBA8A7}" ProjectSection(ProjectDependencies) = postProject {DB2A0C4F-D685-41DD-91BA-06E9EEA381CF} = {DB2A0C4F-D685-41DD-91BA-06E9EEA381CF} {2928D768-DEC3-40D3-8E51-26E364497C9B} = {2928D768-DEC3-40D3-8E51-26E364497C9B} diff --git a/src/Ham/resource.h b/src/vpntest/resource.h similarity index 100% rename from src/Ham/resource.h rename to src/vpntest/resource.h diff --git a/src/Ham/Ham.c b/src/vpntest/vpntest.c similarity index 100% rename from src/Ham/Ham.c rename to src/vpntest/vpntest.c diff --git a/src/Ham/Ham.h b/src/vpntest/vpntest.h similarity index 100% rename from src/Ham/Ham.h rename to src/vpntest/vpntest.h diff --git a/src/Ham/NIC.ico b/src/vpntest/vpntest.ico similarity index 100% rename from src/Ham/NIC.ico rename to src/vpntest/vpntest.ico diff --git a/src/Ham/Ham.rc b/src/vpntest/vpntest.rc similarity index 91% rename from src/Ham/Ham.rc rename to src/vpntest/vpntest.rc index f39cbd95..6d048626 100644 --- a/src/Ham/Ham.rc +++ b/src/vpntest/vpntest.rc @@ -54,7 +54,7 @@ END // Icon with lowest ID value placed first to ensure application icon // remains consistent on all systems. -IDI_ICON2 ICON "NIC.ico" +IDI_ICON2 ICON "vpntest.ico" #endif // Japanese resources ///////////////////////////////////////////////////////////////////////////// diff --git a/src/Ham/Ham.vcproj b/src/vpntest/vpntest.vcproj similarity index 92% rename from src/Ham/Ham.vcproj rename to src/vpntest/vpntest.vcproj index 5400b8c6..e8533dc5 100644 --- a/src/Ham/Ham.vcproj +++ b/src/vpntest/vpntest.vcproj @@ -2,9 +2,9 @@ @@ -72,7 +72,7 @@ - - - - @@ -435,19 +427,7 @@ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" > - - - - - - @@ -457,15 +437,11 @@ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}" > - -