mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Modlist image will now be included in output
This commit is contained in:
parent
bcf4705816
commit
444966ea7b
@ -285,9 +285,10 @@ namespace Wabbajack
|
||||
Name = ModListName ?? MO2Profile,
|
||||
Author = ModListAuthor ?? "",
|
||||
Description = ModListDescription ?? "",
|
||||
Image = ModListImage,
|
||||
Image = Path.GetFileName(ModListImage),
|
||||
Website = ModListWebsite ?? ""
|
||||
};
|
||||
if(File.Exists(ModListImage)) File.Copy(ModListImage, Path.Combine(ModListOutputFolder, Path.GetFileName(ModListImage)));
|
||||
|
||||
ValidateModlist.RunValidation(ModList);
|
||||
|
||||
|
@ -61,7 +61,7 @@ namespace Wabbajack
|
||||
string modListDescription = ModlistDescriptionProperty.Text;
|
||||
string modListWebsite = ModlistWebsiteProperty.Text;
|
||||
|
||||
state.newImagePath = System.IO.Path.GetFileName(newBannerFile);
|
||||
state.newImagePath = newBannerFile;
|
||||
state.SplashScreenImage = splashScreen;
|
||||
state.SplashScreenModName = modListName;
|
||||
state.SplashScreenSummary = modListDescription;
|
||||
|
Loading…
Reference in New Issue
Block a user