Skip to content

Commit

Permalink
update source shifted gh -> sourceforge
Browse files Browse the repository at this point in the history
  • Loading branch information
HemantKArya committed Jul 13, 2024
1 parent c14558f commit e003c0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/services/bloomeeUpdaterTools.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ Future<Map<String, dynamic>> getLatestVersion() async {
"currBuild": packageInfo.buildNumber,
"currVer": packageInfo.version,
"newVer": data["tag_name"].toString().split("+")[0].replaceFirst("v", ''),
"download_url": extractUpUrl(data),
// "download_url": extractUpUrl(data),
"download_url":
"https://sourceforge.net/projects/bloomee/files/latest/download",
};
} else {
log('Failed to load latest version!', name: 'UpdaterTools');
Expand Down
3 changes: 2 additions & 1 deletion lib/utils/app_updater.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ Future<void> updateDialog(BuildContext context) async {
"New Version of Bloomee🌸 is now available!!\n\nVersion: ${_updateData["newVer"]} + ${_updateData["newBuild"]}",
onOk: openURL,
okText: "Update Now!",
downloadURL: _updateData["download_url"],
// downloadURL: _updateData["download_url"],
downloadURL: "https://bloomee.sourceforge.io/",
);
},
);
Expand Down

0 comments on commit e003c0c

Please sign in to comment.