tperm-visor 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/t-perm.js CHANGED
@@ -84,7 +84,7 @@ const TASK = path.join(BACKEND, 'hand_landmarker.task');
84
84
  if (!fs.existsSync(TASK)) {
85
85
  abort(
86
86
  `MediaPipe model missing: ${TASK}\n` +
87
- ' If you installed via npx: npm cache clean --force && npx t-perm\n' +
87
+ ' If you installed via npx: npm cache clean --force && npx tperm-visor\n' +
88
88
  ' If you cloned the repo: re-clone; the model is committed at\n' +
89
89
  ' backend/hand_landmarker.task'
90
90
  );
@@ -17,6 +17,11 @@
17
17
 
18
18
  * { box-sizing: border-box; }
19
19
 
20
+ /* The `hidden` attribute is only a UA-level `display:none`, so any author rule
21
+ that sets `display` overrides it - which silently unhid #quit-screen on page
22
+ load. Make `hidden` win everywhere. */
23
+ [hidden] { display: none !important; }
24
+
20
25
  html, body {
21
26
  margin: 0;
22
27
  padding: 0;
@@ -87,10 +87,10 @@
87
87
  <div id="quit-screen" hidden>
88
88
  <div class="quit-card">
89
89
  <h2>Server stopped</h2>
90
- <p>The camera has been released and the terminal is free.<br />Run <code>npx t-perm</code> again to restart.</p>
90
+ <p>The camera has been released and the terminal is free.<br />Run <code>npx tperm-visor</code> again to restart.</p>
91
91
  </div>
92
92
  </div>
93
93
 
94
94
  <script src="js/app.js"></script>
95
95
  </body>
96
- </html>
96
+ </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tperm-visor",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "T-PERM - gesture-driven AR Rubik's Cube in your browser. Webcam hand tracking via MediaPipe, 3D cube rendered with OpenGL. Requires Python 3.9+.",
5
5
  "bin": {
6
6
  "tperm-visor": "bin/t-perm.js"