diff --git a/electron/updater.ts b/electron/updater.ts
index 23eb65e5..81a4f351 100644
--- a/electron/updater.ts
+++ b/electron/updater.ts
@@ -292,15 +292,6 @@ export function getUpdateStatusSummary() {
return updateStatusSummary;
}
-async function showNoUpdatesDialog(getMainWindow: () => BrowserWindow | null) {
- await showMessageBox(getMainWindow, {
- type: "info",
- title: "No Updates Available",
- message: "Recordly is up to date.",
- detail: `You are running version ${app.getVersion()}.`,
- });
-}
-
async function showUpdateErrorDialog(getMainWindow: () => BrowserWindow | null, error: unknown) {
await showMessageBox(getMainWindow, {
type: "error",
@@ -647,13 +638,6 @@ export async function checkForAppUpdates(
if (updateCheckInProgress) {
writeUpdaterLog("Skipped update check because a previous check is still running.");
- if (options?.manual) {
- await showMessageBox(getMainWindow, {
- type: "info",
- title: "Update Check In Progress",
- message: "Recordly is already checking for updates.",
- });
- }
return;
}
@@ -758,11 +742,7 @@ export function setupAutoUpdates(
detail: `Recordly ${app.getVersion()} is up to date.`,
});
clearVisibleUpdateToast(sendToRenderer);
- const shouldReport = manualCheckRequested;
manualCheckRequested = false;
- if (shouldReport) {
- void showNoUpdatesDialog(getMainWindow);
- }
});
autoUpdater.on("download-progress", (progress) => {
diff --git a/src/components/launch/LaunchWindow.tsx b/src/components/launch/LaunchWindow.tsx
index 8f48fd79..4344b7c5 100644
--- a/src/components/launch/LaunchWindow.tsx
+++ b/src/components/launch/LaunchWindow.tsx
@@ -72,6 +72,7 @@ const COUNTDOWN_OPTIONS = [0, 3, 5, 10];
const WEBCAM_PREVIEW_DRAG_THRESHOLD = 6;
const DEFAULT_WEBCAM_PREVIEW_OFFSET = { x: 0, y: 0 };
const DEFAULT_RECORDING_HUD_OFFSET = { x: 0, y: 0 };
+const SHOW_DEV_UPDATE_PREVIEW = import.meta.env.DEV;
function IconButton({
onClick,
@@ -1472,6 +1473,24 @@ export function LaunchWindow() {
>
{t("recording.openProject")}
+ {SHOW_DEV_UPDATE_PREVIEW ? (
+