Popup pages loaded their scripts as classic <script src> tags, which the
renderer build never bundles, so an installed app rendered only the static
markup: the recording tip stayed at 0:00 with no wave bars and live captions
showed nothing.
- declare popup scripts as modules so the build emits them, and fail
packaging when a renderer page references an asset that was never produced
- hold popup IPC until the renderer has loaded and re-assert visibility on
every show, so a popup hidden once still appears next time
- surface popup renderer console and load failures in the main log
💘 Generated with Crush
Assisted-by: Crush:deepseek-v4.1-flash
23 lines
718 B
HTML
23 lines
718 B
HTML
<!DOCTYPE html>
|
||
<html lang="ko">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<link rel="stylesheet" href="./style.css">
|
||
<title>History Popup</title>
|
||
</head>
|
||
<body>
|
||
<div id="root">
|
||
<div id="container" class="history-popup">
|
||
<div id="items" class="items"></div>
|
||
<div class="hints">
|
||
<span data-i18n="hintsSelectEn">↑↓ Select</span>
|
||
<span data-i18n="hintsPaste">⏎ Paste</span>
|
||
<span data-i18n="hintsClose">ESC ×</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<!-- type="module" 필수: Vite 번들에는 모듈 스크립트만 포함된다. -->
|
||
<script type="module" src="./script.js"></script>
|
||
</body>
|
||
</html>
|