File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " kap" ,
3- "productName" : " Kap" ,
4- "version" : " 1 .0.1 " ,
3+ "productName" : " Kap Beta " ,
4+ "version" : " 2 .0.0-beta.2 " ,
55 "description" : " The best way to record your screen" ,
66 "license" : " MIT" ,
77 "repository" : " wulkano/kap" ,
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ import ms from 'ms';
44import { log } from '../common/logger' ;
55import reporter from '../common/reporter' ;
66
7- const FEED_URL = `https://kap-updates.now.sh/update/osx/${ app . getVersion ( ) } ` ;
7+ const URL_APP_NAME = app . getName ( ) === 'Kap Beta' ? 'kap-beta' : 'kap' ;
8+ const FEED_URL = `https://${ URL_APP_NAME } -updates.now.sh/update/macos/${ app . getVersion ( ) } ` ;
89
910function createInterval ( ) {
1011 return setInterval ( ( ) => {
You can’t perform that action at this time.
0 commit comments