Skip to content

Commit

Permalink
fixes the updating process bug related with #91
Browse files Browse the repository at this point in the history
  • Loading branch information
ttuygun committed Mar 10, 2024
1 parent bd14044 commit 5bf5f03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shared/Update.m
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ -(NSString*)getLatestVersion
}

//extract latest version
latestVersion = [[productsVersionDictionary objectForKey:@"LuLu"] objectForKey:@"version"];
latestVersion = [productsVersionDictionary objectForKey:@"tag_name"];

//dbg msg
logMsg(LOG_DEBUG, [NSString stringWithFormat:@"latest version: %@", latestVersion]);
Expand Down
2 changes: 1 addition & 1 deletion shared/consts.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
#define BUTTON_MORE_INFO 101

//product version url
#define PRODUCT_VERSIONS_URL @"https://objective-see.com/products.json"
#define PRODUCT_VERSIONS_URL @"https://api.github.com/repos/objective-see/LuLu/releases/latest"

//install cmd
#define CMD_INSTALL @"-install"
Expand Down

0 comments on commit 5bf5f03

Please sign in to comment.