WebView2 통합 및 Fixed Version 배포 방식 구현

- WebView2 Fixed Version 지원 추가 (오프라인 환경 대응)
- Frm_WebManual에 InitializeWebView2Async() 구현
  - WebView2Runtime 폴더 우선 사용 (Fixed Version)
  - 시스템 런타임으로 폴백
- MdiMain에 CheckWebView2Runtime() 추가
- Setup1.vdproj에 .NET Framework 4.8 배포 설정 반영
- .gitignore에 WebView2Runtime/, WebView2Data/ 추가
- claudedocs/WebView2_Deployment_Guide.md 배포 가이드 추가
  - Fixed Version 다운로드 및 배포 방법
  - 테스트 및 문제 해결 가이드

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-10 16:53:42 +09:00
parent 6cd2abe560
commit 40842778e0
6 changed files with 211 additions and 734 deletions

View File

@@ -265,6 +265,9 @@ Public Class MdiMain
Debug.WriteLine("웹 서버 시작 실패: " & ex.Message)
End Try
' WebView2 Fixed Version 체크
CheckWebView2Runtime()
If Me.bt_etc.Visible = False AndAlso System.Diagnostics.Debugger.IsAttached Then
MsgBox("debugmode import on")
@@ -3993,9 +3996,26 @@ ENDSTAT: '//오류발생시 강제종료를 위한 분기문
frmManual.Show()
End If
If frmManual.WindowState = FormWindowState.Minimized Then
frmManual.WindowState = FormWindowState.Normal
End If
frmManual.Activate()
frmManual.WindowState = FormWindowState.Normal
End If
frmManual.Activate()
End Sub
''' <summary>
''' WebView2 Fixed Version 런타임 체크
''' </summary>
Private Sub CheckWebView2Runtime()
Try
Dim fixedVersionPath = Path.Combine(Application.StartupPath, "WebView2Runtime")
' Fixed Version 폴더가 없으면 경고 (하지만 계속 실행)
If Not Directory.Exists(fixedVersionPath) Then
Debug.WriteLine("경고: WebView2 Fixed Version을 찾을 수 없습니다. Manual 기능이 제한될 수 있습니다.")
' 사용자에게는 Manual 메뉴를 클릭할 때만 알림
End If
Catch ex As Exception
Debug.WriteLine("WebView2 체크 중 오류: " & ex.Message)
End Try
End Sub
End Class