Skip to content

Commit

Permalink
Fix Alpakit Open Folder when the project was opened via restore last …
Browse files Browse the repository at this point in the history
…open project
  • Loading branch information
budak7273 committed Dec 12, 2024
1 parent 87c519b commit 1973b06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Mods/Alpakit/Source/Alpakit/Private/AlpakitReleaseWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ void SAlpakitReleaseWidget::Construct(const FArguments& InArgs) {
const float TargetColumnWidth = 90;

FString TargetSMLVersion = TEXT("^") + FAlpakitModule::GetCurrentSMLVersion();
FString archivePath = FPaths::ConvertRelativePathToFull(FPaths::ProjectSavedDir() / TEXT("ArchivedPlugins"));
// FPaths::ProjectSavedDir() points to an appdata folder when the project is loaded via "restore last opened project", so use ProjectDir instead
FString archivePath = FPaths::ConvertRelativePathToFull(FPaths::ProjectDir() / TEXT("Saved") / TEXT("ArchivedPlugins"));

ChildSlot[
SNew(SVerticalBox)
Expand Down

0 comments on commit 1973b06

Please sign in to comment.