Support Artifact Bundle (#1388)

* support artifact bundle

* update CHANGELOG to exact PR

* build ArtifactBundle only on macOS

* update to copy SettingPresets into bundle

* fix CHANGELOG.md

* load Bundle.module

* update ArtifactBundleGen

* update ArtifactBundleGen to linux issue

* fix unnecessary code

* add lisence to bundle
This commit is contained in:
freddi(Yuki Aki)
2024-02-13 20:48:23 +11:00
committed by GitHub
parent 6bbf2c6543
commit 2c1500761d
8 changed files with 27 additions and 3 deletions
+1
View File
@@ -0,0 +1 @@
../../SettingPresets/
@@ -249,6 +249,9 @@ extension SettingsPresetFile {
symlink.parent() + relativePath,
] + possibleSettingsPaths
}
if let moduleResourcePath = Bundle.module.path(forResource: "SettingPresets", ofType: nil) {
possibleSettingsPaths.append(Path(moduleResourcePath) + "\(path).yml")
}
guard let settingsPath = possibleSettingsPaths.first(where: { $0.exists }) else {
switch self {