Skip to content

Commit 85a746f

Browse files
committed
Add updater config
1 parent fbffedc commit 85a746f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

apps/studio/electron/main/update/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ class AppUpdater {
2323
log.transports.file.level = 'info';
2424
autoUpdater.logger = log;
2525
autoUpdater.autoDownload = true;
26+
autoUpdater.allowDowngrade = true;
27+
autoUpdater.allowPrerelease = true;
28+
autoUpdater.channel = 'latest';
2629
AppUpdater.instance = this;
2730
}
2831

apps/studio/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"productName": "Onlook",
33
"name": "@onlook/studio",
4-
"version": "0.1.47",
4+
"version": "0.1.47-alpha-1",
55
"homepage": "https://onlook.com",
66
"main": "dist-electron/main/index.js",
77
"description": "The first-ever devtool for designers",

0 commit comments

Comments
 (0)