Skip to content

Commit a2f741d

Browse files
committed
feat: add 0.4.2 to WhatsNewCollection + move WhatsNewCollection to a different file + build bump
1 parent f926bdd commit a2f741d

File tree

4 files changed

+99
-231
lines changed

4 files changed

+99
-231
lines changed

Mythic.xcodeproj/project.pbxproj

+7-2
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
6A71D3D92BFD01AB00A2C74D /* legendary in Resources */ = {isa = PBXBuildFile; fileRef = 6A71D3D82BFD01AB00A2C74D /* legendary */; };
7878
6A71D3DD2BFD024D00A2C74D /* Auth.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A71D3DC2BFD024D00A2C74D /* Auth.swift */; };
7979
6A7A81162B77093600D19E32 /* ColorfulX in Frameworks */ = {isa = PBXBuildFile; productRef = 6A7A81152B77093600D19E32 /* ColorfulX */; };
80+
6A9FE1162CDEED7A00C36058 /* WhatsNewCollection.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A9FE1152CDEED7200C36058 /* WhatsNewCollection.swift */; };
8081
6AA1744F2CD5CC290035B081 /* WhatsNewKit in Frameworks */ = {isa = PBXBuildFile; productRef = 6AA1744E2CD5CC290035B081 /* WhatsNewKit */; };
8182
6AACEF752C18846700258A7E /* exeIcon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 6AACEF742C18846700258A7E /* exeIcon.icns */; };
8283
6AAD31152B08693D0035FA69 /* SemanticVersion in Frameworks */ = {isa = PBXBuildFile; productRef = 6AAD31142B08693D0035FA69 /* SemanticVersion */; };
@@ -170,6 +171,7 @@
170171
6A496A722C1AF75600FD637B /* Game.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Game.swift; sourceTree = "<group>"; };
171172
6A71D3D82BFD01AB00A2C74D /* legendary */ = {isa = PBXFileReference; lastKnownFileType = folder; path = legendary; sourceTree = "<group>"; };
172173
6A71D3DC2BFD024D00A2C74D /* Auth.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Auth.swift; sourceTree = "<group>"; };
174+
6A9FE1152CDEED7200C36058 /* WhatsNewCollection.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WhatsNewCollection.swift; sourceTree = "<group>"; };
173175
6AACEF742C18846700258A7E /* exeIcon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = exeIcon.icns; sourceTree = "<group>"; };
174176
6AB474952AACBBE900AB9C63 /* Mythic.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Mythic.app; sourceTree = BUILT_PRODUCTS_DIR; };
175177
6AC45E082C1B2FC800ED9F64 /* SettingsFormView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingsFormView.swift; sourceTree = "<group>"; };
@@ -349,6 +351,7 @@
349351
children = (
350352
6A2934F02BFCFAFD0035CE4B /* AppDelegate.swift */,
351353
6A2934F62BFCFAFD0035CE4B /* MythicApp.swift */,
354+
6A9FE1152CDEED7200C36058 /* WhatsNewCollection.swift */,
352355
6A2934EF2BFCFAFD0035CE4B /* Views */,
353356
6A2934CA2BFCFAFD0035CE4B /* Utilities */,
354357
6A2934F12BFCFAFD0035CE4B /* Assets.xcassets */,
@@ -614,6 +617,7 @@
614617
6A29354B2BFCFAFD0035CE4B /* LocalImport.swift in Sources */,
615618
6A29355C2BFCFAFD0035CE4B /* InstallGameView.swift in Sources */,
616619
6A2935432BFCFAFD0035CE4B /* FileLocations.swift in Sources */,
620+
6A9FE1162CDEED7A00C36058 /* WhatsNewCollection.swift in Sources */,
617621
6A2935402BFCFAFD0035CE4B /* LocalGamesExt.swift in Sources */,
618622
6A2935502BFCFAFD0035CE4B /* HomeView.swift in Sources */,
619623
6AEEFA472CA9174B0025C840 /* WindowBlurView.swift in Sources */,
@@ -673,6 +677,7 @@
673677
ENABLE_STRICT_OBJC_MSGSEND = YES;
674678
ENABLE_TESTABILITY = YES;
675679
ENABLE_USER_SCRIPT_SANDBOXING = YES;
680+
EXCLUDED_ARCHS = "";
676681
GCC_C_LANGUAGE_STANDARD = gnu17;
677682
GCC_DYNAMIC_NO_PIC = NO;
678683
GCC_NO_COMMON_BLOCKS = YES;
@@ -768,7 +773,7 @@
768773
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
769774
CODE_SIGN_STYLE = Automatic;
770775
COMBINE_HIDPI_IMAGES = YES;
771-
CURRENT_PROJECT_VERSION = 3048;
776+
CURRENT_PROJECT_VERSION = 3054;
772777
DEAD_CODE_STRIPPING = YES;
773778
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
774779
DEVELOPMENT_ASSET_PATHS = "\"Mythic/Preview Content\"";
@@ -815,7 +820,7 @@
815820
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
816821
CODE_SIGN_STYLE = Automatic;
817822
COMBINE_HIDPI_IMAGES = YES;
818-
CURRENT_PROJECT_VERSION = 3048;
823+
CURRENT_PROJECT_VERSION = 3054;
819824
DEAD_CODE_STRIPPING = YES;
820825
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
821826
DEVELOPMENT_ASSET_PATHS = "\"Mythic/Preview Content\"";

Mythic/Localizable.xcstrings

+1-187
Original file line numberDiff line numberDiff line change
@@ -3058,197 +3058,11 @@
30583058
},
30593059
"%@ \"%@\"..." : {
30603060
"localizations" : {
3061-
"af" : {
3062-
"stringUnit" : {
3063-
"state" : "new",
3064-
"value" : "%1$@ \"%2$@\"..."
3065-
}
3066-
},
3067-
"ar" : {
3068-
"stringUnit" : {
3069-
"state" : "new",
3070-
"value" : "%1$@ \"%2$@\"..."
3071-
}
3072-
},
3073-
"ca" : {
3074-
"stringUnit" : {
3075-
"state" : "new",
3076-
"value" : "%1$@ \"%2$@\"..."
3077-
}
3078-
},
3079-
"cs" : {
3080-
"stringUnit" : {
3081-
"state" : "new",
3082-
"value" : "%1$@ \"%2$@\"..."
3083-
}
3084-
},
3085-
"da" : {
3086-
"stringUnit" : {
3087-
"state" : "new",
3088-
"value" : "%1$@ \"%2$@\"..."
3089-
}
3090-
},
3091-
"de" : {
3092-
"stringUnit" : {
3093-
"state" : "new",
3094-
"value" : "%1$@ \"%2$@\"..."
3095-
}
3096-
},
3097-
"el" : {
3098-
"stringUnit" : {
3099-
"state" : "new",
3100-
"value" : "%1$@ \"%2$@\"..."
3101-
}
3102-
},
31033061
"en" : {
31043062
"stringUnit" : {
31053063
"state" : "new",
31063064
"value" : "%1$@ \"%2$@\"..."
31073065
}
3108-
},
3109-
"es" : {
3110-
"stringUnit" : {
3111-
"state" : "new",
3112-
"value" : "%1$@ \"%2$@\"..."
3113-
}
3114-
},
3115-
"fi" : {
3116-
"stringUnit" : {
3117-
"state" : "new",
3118-
"value" : "%1$@ \"%2$@\"..."
3119-
}
3120-
},
3121-
"fr" : {
3122-
"stringUnit" : {
3123-
"state" : "new",
3124-
"value" : "%1$@ \"%2$@\"..."
3125-
}
3126-
},
3127-
"he" : {
3128-
"stringUnit" : {
3129-
"state" : "new",
3130-
"value" : "%1$@ \"%2$@\"..."
3131-
}
3132-
},
3133-
"hu" : {
3134-
"stringUnit" : {
3135-
"state" : "new",
3136-
"value" : "%1$@ \"%2$@\"..."
3137-
}
3138-
},
3139-
"id" : {
3140-
"stringUnit" : {
3141-
"state" : "new",
3142-
"value" : "%1$@ \"%2$@\"..."
3143-
}
3144-
},
3145-
"it" : {
3146-
"stringUnit" : {
3147-
"state" : "new",
3148-
"value" : "%1$@ \"%2$@\"..."
3149-
}
3150-
},
3151-
"ja" : {
3152-
"stringUnit" : {
3153-
"state" : "new",
3154-
"value" : "%1$@ \"%2$@\"..."
3155-
}
3156-
},
3157-
"ko" : {
3158-
"stringUnit" : {
3159-
"state" : "new",
3160-
"value" : "%1$@ \"%2$@\"..."
3161-
}
3162-
},
3163-
"mt" : {
3164-
"stringUnit" : {
3165-
"state" : "new",
3166-
"value" : "%1$@ \"%2$@\"..."
3167-
}
3168-
},
3169-
"nl" : {
3170-
"stringUnit" : {
3171-
"state" : "new",
3172-
"value" : "%1$@ \"%2$@\"..."
3173-
}
3174-
},
3175-
"no" : {
3176-
"stringUnit" : {
3177-
"state" : "new",
3178-
"value" : "%1$@ \"%2$@\"..."
3179-
}
3180-
},
3181-
"pl" : {
3182-
"stringUnit" : {
3183-
"state" : "new",
3184-
"value" : "%1$@ \"%2$@\"..."
3185-
}
3186-
},
3187-
"pt-BR" : {
3188-
"stringUnit" : {
3189-
"state" : "new",
3190-
"value" : "%1$@ \"%2$@\"..."
3191-
}
3192-
},
3193-
"pt-PT" : {
3194-
"stringUnit" : {
3195-
"state" : "new",
3196-
"value" : "%1$@ \"%2$@\"..."
3197-
}
3198-
},
3199-
"ro" : {
3200-
"stringUnit" : {
3201-
"state" : "new",
3202-
"value" : "%1$@ \"%2$@\"..."
3203-
}
3204-
},
3205-
"ru" : {
3206-
"stringUnit" : {
3207-
"state" : "new",
3208-
"value" : "%1$@ \"%2$@\"..."
3209-
}
3210-
},
3211-
"sr" : {
3212-
"stringUnit" : {
3213-
"state" : "new",
3214-
"value" : "%1$@ \"%2$@\"..."
3215-
}
3216-
},
3217-
"sv" : {
3218-
"stringUnit" : {
3219-
"state" : "new",
3220-
"value" : "%1$@ \"%2$@\"..."
3221-
}
3222-
},
3223-
"tr" : {
3224-
"stringUnit" : {
3225-
"state" : "new",
3226-
"value" : "%1$@ \"%2$@\"..."
3227-
}
3228-
},
3229-
"uk" : {
3230-
"stringUnit" : {
3231-
"state" : "new",
3232-
"value" : "%1$@ \"%2$@\"..."
3233-
}
3234-
},
3235-
"vi" : {
3236-
"stringUnit" : {
3237-
"state" : "new",
3238-
"value" : "%1$@ \"%2$@\"..."
3239-
}
3240-
},
3241-
"zh-Hans" : {
3242-
"stringUnit" : {
3243-
"state" : "new",
3244-
"value" : "%1$@ \"%2$@\"..."
3245-
}
3246-
},
3247-
"zh-Hant" : {
3248-
"stringUnit" : {
3249-
"state" : "new",
3250-
"value" : "%1$@ \"%2$@\"..."
3251-
}
32523066
}
32533067
}
32543068
},
@@ -60383,4 +60197,4 @@
6038360197
}
6038460198
},
6038560199
"version" : "1.0"
60386-
}
60200+
}

Mythic/MythicApp.swift

+2-42
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ struct MythicApp: App {
7777
UserDefaultsWhatsNewVersionStore()
7878
#endif
7979
}(),
80-
whatsNewCollection: self)
80+
whatsNewCollection: self
81+
)
8182
)
8283

8384
.commands {
@@ -104,47 +105,6 @@ struct MythicApp: App {
104105
}
105106
}
106107

107-
extension MythicApp: WhatsNewCollectionProvider {
108-
var whatsNewCollection: WhatsNewCollection {
109-
WhatsNew(
110-
version: "0.4.1",
111-
title: "What's new in Mythic",
112-
features: [
113-
.init(
114-
image: .init(
115-
systemName: "ladybug",
116-
foregroundColor: .red
117-
),
118-
title: "Bug Fixes & Performance Improvements",
119-
subtitle: "Y'know, the usual."
120-
),
121-
.init(
122-
image: .init(
123-
systemName: "checklist",
124-
foregroundColor: .blue
125-
),
126-
title: "Optional Pack support",
127-
subtitle: "Epic Games that support selective downloads are now supported for download (e.g. Fortnite)."
128-
),
129-
.init(
130-
image: .init(
131-
systemName: "cursorarrow.motionlines",
132-
foregroundColor: .accent
133-
),
134-
title: "More animations",
135-
subtitle: "Added smooth animations and transitions."
136-
)
137-
],
138-
primaryAction: .init(),
139-
secondaryAction: .init(
140-
title: "Learn more",
141-
action: .openURL(.init(string: "https://github.com/MythicApp/Mythic/releases/tag/0.4.1"))
142-
)
143-
)
144-
}
145-
146-
}
147-
148108
#Preview {
149109
ContentView()
150110
.environmentObject(NetworkMonitor())

0 commit comments

Comments
 (0)