From e659c8daf2e64455169db135b054987985123b9d Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Tue, 11 Feb 2025 23:00:27 +0900 Subject: [PATCH] Update installService.bat --- .../WelsonJS.Launcher/InstancesForm.Designer.cs | 2 +- installService.bat | 12 +++--------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/InstancesForm.Designer.cs b/WelsonJS.Toolkit/WelsonJS.Launcher/InstancesForm.Designer.cs index 8dc65d8..90e42eb 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/InstancesForm.Designer.cs +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/InstancesForm.Designer.cs @@ -79,7 +79,7 @@ this.btnOpenWithExplorer.Image = global::WelsonJS.Launcher.Properties.Resources.icon_directory_32; this.btnOpenWithExplorer.Location = new System.Drawing.Point(327, 364); this.btnOpenWithExplorer.Name = "btnOpenWithExplorer"; - this.btnOpenWithExplorer.Size = new System.Drawing.Size(150, 60); + this.btnOpenWithExplorer.Size = new System.Drawing.Size(232, 60); this.btnOpenWithExplorer.TabIndex = 3; this.btnOpenWithExplorer.Text = "Open with Explorer"; this.btnOpenWithExplorer.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; diff --git a/installService.bat b/installService.bat index 29e2fa5..c9248c4 100644 --- a/installService.bat +++ b/installService.bat @@ -11,14 +11,7 @@ set CURRENT_DIR=%~dp0 set CURRENT_DIR=%CURRENT_DIR:~0,-1% REM Set the paths -if "%PROCESSOR_ARCHITECTURE%"=="x86" ( - set EXE_PATH=%CURRENT_DIR%\bin\x86\WelsonJS.Service.exe -) else if "%PROCESSOR_ARCHITECTURE%"=="AMD64" ( - set EXE_PATH=%CURRENT_DIR%\bin\x64\WelsonJS.Service.exe -) else ( - echo Unsupported platform: %PROCESSOR_ARCHITECTURE% - exit /b 1 -) +set EXE_PATH=%CURRENT_DIR%\bin\x86\WelsonJS.Service.exe set INSTALL_UTIL_PATH=%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe REM Uninstall the service @@ -39,4 +32,5 @@ echo Service "%SERVICE_NAME%" installed and configured successfully. sc start "%SERVICE_NAME%" echo Service "%SERVICE_NAME%" started. -pause \ No newline at end of file + +pause