Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 6fc3c1d

Browse files
committed
fixed big sur catalog URL
1 parent 5fa9a0e commit 6fc3c1d

3 files changed

Lines changed: 10 additions & 16 deletions

File tree

Download-Full-Installer-Info.plist

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
4-
<dict>
5-
<key>LSApplicationCategoryType</key>
6-
<string>public.app-category.utilities</string>
7-
</dict>
4+
<dict/>
85
</plist>

FetchInstallerPkg.xcodeproj/project.pbxproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@
373373
CODE_SIGN_IDENTITY = "Apple Development";
374374
CODE_SIGN_STYLE = Automatic;
375375
COMBINE_HIDPI_IMAGES = YES;
376-
CURRENT_PROJECT_VERSION = 28;
376+
CURRENT_PROJECT_VERSION = 29;
377377
DEVELOPMENT_ASSET_PATHS = "\"FetchInstallerPkg/Preview Content\"";
378378
DEVELOPMENT_TEAM = JME5BW3F3R;
379379
ENABLE_APP_SANDBOX = YES;
@@ -385,13 +385,14 @@
385385
INFOPLIST_KEY_CFBundleExecutable = "Download Full Installer";
386386
INFOPLIST_KEY_CFBundleName = "Download Full Installer";
387387
INFOPLIST_KEY_CFBundleVersion = 17;
388+
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
388389
INFOPLIST_KEY_NSHumanReadableCopyright = "©2021 Scripting OS X - Armin Briegel";
389390
LD_RUNPATH_SEARCH_PATHS = (
390391
"$(inherited)",
391392
"@executable_path/../Frameworks",
392393
);
393394
MACOSX_DEPLOYMENT_TARGET = 11.0;
394-
MARKETING_VERSION = 1.1;
395+
MARKETING_VERSION = 1.1.1;
395396
PRODUCT_BUNDLE_IDENTIFIER = com.scriptingosx.downloadfullinstaller;
396397
PRODUCT_NAME = "$(TARGET_NAME)";
397398
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -409,7 +410,7 @@
409410
CODE_SIGN_IDENTITY = "Apple Development";
410411
CODE_SIGN_STYLE = Automatic;
411412
COMBINE_HIDPI_IMAGES = YES;
412-
CURRENT_PROJECT_VERSION = 28;
413+
CURRENT_PROJECT_VERSION = 29;
413414
DEVELOPMENT_ASSET_PATHS = "\"FetchInstallerPkg/Preview Content\"";
414415
DEVELOPMENT_TEAM = JME5BW3F3R;
415416
ENABLE_APP_SANDBOX = YES;
@@ -421,13 +422,14 @@
421422
INFOPLIST_KEY_CFBundleExecutable = "Download Full Installer";
422423
INFOPLIST_KEY_CFBundleName = "Download Full Installer";
423424
INFOPLIST_KEY_CFBundleVersion = 17;
425+
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
424426
INFOPLIST_KEY_NSHumanReadableCopyright = "©2021 Scripting OS X - Armin Briegel";
425427
LD_RUNPATH_SEARCH_PATHS = (
426428
"$(inherited)",
427429
"@executable_path/../Frameworks",
428430
);
429431
MACOSX_DEPLOYMENT_TARGET = 11.0;
430-
MARKETING_VERSION = 1.1;
432+
MARKETING_VERSION = 1.1.1;
431433
PRODUCT_BUNDLE_IDENTIFIER = com.scriptingosx.downloadfullinstaller;
432434
PRODUCT_NAME = "$(TARGET_NAME)";
433435
SWIFT_EMIT_LOC_STRINGS = YES;

FetchInstallerPkg/Model/SeedProgram.swift

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@
77

88
import Foundation
99

10-
let suCatalogs = [
11-
11: "https://swscan.apple.com/content/catalogs/others/index-11-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog",
12-
12: "https://swscan.apple.com/content/catalogs/others/index-12-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog"
13-
]
14-
1510
enum SeedProgram: String, CaseIterable, Identifiable {
1611
case customerSeed = "CustomerSeed"
1712
case developerSeed = "DeveloperSeed"
@@ -27,10 +22,10 @@ func defaultCatalog() -> URL? {
2722

2823
var catalog = ""
2924
switch majorVersion {
30-
case 11:
31-
catalog = "https://swscan.apple.com/content/catalogs/others/index-11-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog"
3225
default:
33-
catalog = "https://swscan.apple.com/content/catalogs/others/index-12-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog"
26+
catalog = "https://swscan.apple.com/content/catalogs/others/index-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog"
27+
// default:
28+
// catalog = "https://swscan.apple.com/content/catalogs/others/index-12-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog"
3429
}
3530

3631
return URL(string: catalog)

0 commit comments

Comments
 (0)