mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-22 22:19:29 +02:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
dfac3af3f5 | ||
|
5eceaeecde | ||
|
62c23004f7 |
@@ -88,8 +88,8 @@ class FDroidRepo extends AppSource {
|
||||
|
||||
@override
|
||||
void runOnAddAppInputChange(String userInput) {
|
||||
this.additionalSourceAppSpecificSettingFormItems =
|
||||
this.additionalSourceAppSpecificSettingFormItems.map((row) {
|
||||
additionalSourceAppSpecificSettingFormItems =
|
||||
additionalSourceAppSpecificSettingFormItems.map((row) {
|
||||
row = row.map((item) {
|
||||
if (item.key == 'appIdOrName') {
|
||||
try {
|
||||
|
@@ -220,7 +220,9 @@ Future<File> downloadFile(String url, String fileName, bool fileNameHasExt,
|
||||
if (ext.endsWith('"') || ext.endsWith("other")) {
|
||||
ext = ext.substring(0, ext.length - 1);
|
||||
}
|
||||
if (url.toLowerCase().endsWith('.apk') && ext != 'apk') {
|
||||
if (((Uri.tryParse(url)?.path ?? url).toLowerCase().endsWith('.apk') ||
|
||||
ext == 'attachment') &&
|
||||
ext != 'apk') {
|
||||
ext = 'apk';
|
||||
}
|
||||
fileName = fileName.split('/').last; // Ensure the fileName is a file name
|
||||
|
@@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
# In Windows, build-name is used as the major, minor, and patch parts
|
||||
# of the product and file versions while build-number is used as the build suffix.
|
||||
version: 1.1.12+2269
|
||||
version: 1.1.13+2270
|
||||
|
||||
environment:
|
||||
sdk: '>=3.0.0 <4.0.0'
|
||||
|
Reference in New Issue
Block a user