Skip to content

Commit

Permalink
feat: add 0.4.2 to WhatsNewCollection + move WhatsNewCollection t…
Browse files Browse the repository at this point in the history
…o a different file + build bump
  • Loading branch information
vapidinfinity committed Nov 9, 2024
1 parent f926bdd commit a2f741d
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 231 deletions.
9 changes: 7 additions & 2 deletions Mythic.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
6A71D3D92BFD01AB00A2C74D /* legendary in Resources */ = {isa = PBXBuildFile; fileRef = 6A71D3D82BFD01AB00A2C74D /* legendary */; };
6A71D3DD2BFD024D00A2C74D /* Auth.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A71D3DC2BFD024D00A2C74D /* Auth.swift */; };
6A7A81162B77093600D19E32 /* ColorfulX in Frameworks */ = {isa = PBXBuildFile; productRef = 6A7A81152B77093600D19E32 /* ColorfulX */; };
6A9FE1162CDEED7A00C36058 /* WhatsNewCollection.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A9FE1152CDEED7200C36058 /* WhatsNewCollection.swift */; };
6AA1744F2CD5CC290035B081 /* WhatsNewKit in Frameworks */ = {isa = PBXBuildFile; productRef = 6AA1744E2CD5CC290035B081 /* WhatsNewKit */; };
6AACEF752C18846700258A7E /* exeIcon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 6AACEF742C18846700258A7E /* exeIcon.icns */; };
6AAD31152B08693D0035FA69 /* SemanticVersion in Frameworks */ = {isa = PBXBuildFile; productRef = 6AAD31142B08693D0035FA69 /* SemanticVersion */; };
Expand Down Expand Up @@ -170,6 +171,7 @@
6A496A722C1AF75600FD637B /* Game.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Game.swift; sourceTree = "<group>"; };
6A71D3D82BFD01AB00A2C74D /* legendary */ = {isa = PBXFileReference; lastKnownFileType = folder; path = legendary; sourceTree = "<group>"; };
6A71D3DC2BFD024D00A2C74D /* Auth.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Auth.swift; sourceTree = "<group>"; };
6A9FE1152CDEED7200C36058 /* WhatsNewCollection.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WhatsNewCollection.swift; sourceTree = "<group>"; };
6AACEF742C18846700258A7E /* exeIcon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = exeIcon.icns; sourceTree = "<group>"; };
6AB474952AACBBE900AB9C63 /* Mythic.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Mythic.app; sourceTree = BUILT_PRODUCTS_DIR; };
6AC45E082C1B2FC800ED9F64 /* SettingsFormView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingsFormView.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -349,6 +351,7 @@
children = (
6A2934F02BFCFAFD0035CE4B /* AppDelegate.swift */,
6A2934F62BFCFAFD0035CE4B /* MythicApp.swift */,
6A9FE1152CDEED7200C36058 /* WhatsNewCollection.swift */,
6A2934EF2BFCFAFD0035CE4B /* Views */,
6A2934CA2BFCFAFD0035CE4B /* Utilities */,
6A2934F12BFCFAFD0035CE4B /* Assets.xcassets */,
Expand Down Expand Up @@ -614,6 +617,7 @@
6A29354B2BFCFAFD0035CE4B /* LocalImport.swift in Sources */,
6A29355C2BFCFAFD0035CE4B /* InstallGameView.swift in Sources */,
6A2935432BFCFAFD0035CE4B /* FileLocations.swift in Sources */,
6A9FE1162CDEED7A00C36058 /* WhatsNewCollection.swift in Sources */,
6A2935402BFCFAFD0035CE4B /* LocalGamesExt.swift in Sources */,
6A2935502BFCFAFD0035CE4B /* HomeView.swift in Sources */,
6AEEFA472CA9174B0025C840 /* WindowBlurView.swift in Sources */,
Expand Down Expand Up @@ -673,6 +677,7 @@
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
EXCLUDED_ARCHS = "";
GCC_C_LANGUAGE_STANDARD = gnu17;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
Expand Down Expand Up @@ -768,7 +773,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 3048;
CURRENT_PROJECT_VERSION = 3054;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_ASSET_PATHS = "\"Mythic/Preview Content\"";
Expand Down Expand Up @@ -815,7 +820,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 3048;
CURRENT_PROJECT_VERSION = 3054;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEVELOPMENT_ASSET_PATHS = "\"Mythic/Preview Content\"";
Expand Down
188 changes: 1 addition & 187 deletions Mythic/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -3058,197 +3058,11 @@
},
"%@ \"%@\"..." : {
"localizations" : {
"af" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"ar" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"ca" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"cs" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"da" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"de" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"el" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"en" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"es" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"fi" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"fr" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"he" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"hu" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"id" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"it" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"ja" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"ko" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"mt" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"nl" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"no" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"pl" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"pt-BR" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"pt-PT" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"ro" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"ru" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"sr" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"sv" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"tr" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"uk" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"vi" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "new",
"value" : "%1$@ \"%2$@\"..."
}
}
}
},
Expand Down Expand Up @@ -60383,4 +60197,4 @@
}
},
"version" : "1.0"
}
}
44 changes: 2 additions & 42 deletions Mythic/MythicApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ struct MythicApp: App {
UserDefaultsWhatsNewVersionStore()
#endif
}(),
whatsNewCollection: self)
whatsNewCollection: self
)
)

.commands {
Expand All @@ -104,47 +105,6 @@ struct MythicApp: App {
}
}

extension MythicApp: WhatsNewCollectionProvider {
var whatsNewCollection: WhatsNewCollection {
WhatsNew(
version: "0.4.1",
title: "What's new in Mythic",
features: [
.init(
image: .init(
systemName: "ladybug",
foregroundColor: .red
),
title: "Bug Fixes & Performance Improvements",
subtitle: "Y'know, the usual."
),
.init(
image: .init(
systemName: "checklist",
foregroundColor: .blue
),
title: "Optional Pack support",
subtitle: "Epic Games that support selective downloads are now supported for download (e.g. Fortnite)."
),
.init(
image: .init(
systemName: "cursorarrow.motionlines",
foregroundColor: .accent
),
title: "More animations",
subtitle: "Added smooth animations and transitions."
)
],
primaryAction: .init(),
secondaryAction: .init(
title: "Learn more",
action: .openURL(.init(string: "https://github.com/MythicApp/Mythic/releases/tag/0.4.1"))
)
)
}

}

#Preview {
ContentView()
.environmentObject(NetworkMonitor())
Expand Down
Loading

0 comments on commit a2f741d

Please sign in to comment.