Files
MosisService/designer/assets/simulator/home.rml
omigamedev f41eda6f62 add simulator mode to desktop designer for testing apps
- Add --simulator flag to launch home screen showing discovered apps
- Create app discovery system to scan test-apps/ directory
- Build simulator home screen with dark phone-like UI
- Add Lua API: simulator.launchApp, simulator.goHome, simulator.getApps
- ESC key returns to home when inside an app
- Apps displayed with icons in grid layout

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 11:16:01 +01:00

37 lines
1.0 KiB
Plaintext

<rml>
<head>
<title>Mosis Simulator</title>
<link type="text/rcss" href="home.rcss"/>
<script src="simulator.lua"/>
</head>
<body>
<div class="status-bar">
<span class="status-time" id="status-time">12:00</span>
<span class="status-icons">
<span class="status-wifi">&#x25CF;</span>
<span class="status-battery">&#x25A0;</span>
</span>
</div>
<div class="home-content">
<div class="home-header">
<h1>Test Apps</h1>
<p class="subtitle">Tap an app to launch</p>
</div>
<div class="app-grid" id="app-grid">
<!-- Apps will be populated dynamically by Lua -->
<div class="no-apps" id="no-apps">
<p>No apps found</p>
<p class="hint">Place apps in test-apps/ folder</p>
</div>
</div>
</div>
<div class="nav-bar">
<div class="nav-hint">ESC = Back</div>
<div class="nav-hint">F5 = Reload</div>
</div>
</body>
</rml>