Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f0611a50b5 | ||
|
|
dfd0139dc5 | ||
|
|
1a0fda71f5 |
@@ -10,34 +10,14 @@ on:
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: MOMP
|
||||
runs-on: MOMP-AUTODOC
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: https://gitea.com/actions/checkout@v4
|
||||
|
||||
- name: Install Electron system dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y \
|
||||
xvfb \
|
||||
libnspr4 \
|
||||
libnss3 \
|
||||
libatk1.0-0 \
|
||||
libatk-bridge2.0-0 \
|
||||
libcups2 \
|
||||
libdrm2 \
|
||||
libgtk-3-0 \
|
||||
libx11-xcb1 \
|
||||
libxcomposite1 \
|
||||
libxdamage1 \
|
||||
libxrandr2 \
|
||||
libgbm1 \
|
||||
libxss1 \
|
||||
libasound2
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: npm ci --cache ~/.npm --prefer-offline
|
||||
|
||||
- name: Run template tests
|
||||
env:
|
||||
|
||||
+1
-11
@@ -191,17 +191,7 @@ class StepForgeApp {
|
||||
const guide = await api.library.create({ title: 'Untitled capture' });
|
||||
await this.refreshData();
|
||||
await this.openGuide(guide.guideId);
|
||||
const state = await this.armCaptureSession(guide.guideId);
|
||||
const hotkey = this.state.settings?.capture?.hotkeyCapture;
|
||||
let how;
|
||||
if (state.clickCapture) {
|
||||
how = 'every click will grab a step';
|
||||
} else if (state.intervalSec > 0) {
|
||||
how = `a step will be grabbed every ${state.intervalSec}s`;
|
||||
} else {
|
||||
how = hotkey ? `press ${hotkey} to grab steps` : 'use Shoot to grab steps';
|
||||
}
|
||||
toast(`Click "Start recording" in the red bar when you're ready — ${how}. StepForge tucks away; use the red tray icon to pause or finish.`);
|
||||
await this.armCaptureSession(guide.guideId);
|
||||
}
|
||||
|
||||
async openExistingWorkspace() {
|
||||
|
||||
@@ -1322,7 +1322,6 @@ class GuideEditor {
|
||||
|
||||
async startCaptureSession() {
|
||||
await api.capture.session({ action: 'start', guideId: this.guideId });
|
||||
this.onToast('Capture session ready — click "Start recording" in the red bar when you\'re set.');
|
||||
this.emitMeta();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user