Skip to content

Commit

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

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

//dbg msg
os_log_debug(logHandle, "latest version: %{public}@", latestVersion);
Expand Down
2 changes: 1 addition & 1 deletion LuLu/Shared/consts.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ enum Signer{None, Apple, AppStore, DevID, AdHoc};
#define RULE_STATE_ALLOW 1

//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"

//product key
#define PRODUCT_KEY @"LuLu"
Expand Down

0 comments on commit 432b24c

Please sign in to comment.