Skip to content

Commit

Permalink
force is_mod to false, hide migrate button but not "open data folder"
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Jun 1, 2024
1 parent f9d4a62 commit a5bb60a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/gui/options/OptionsView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ OptionsView::OptionsView() : ui::Window(ui::Point(-1, -1), ui::Point(320, 340))
}
} });
scrollPanel->AddChild(dataFolderButton);
auto *migrationButton = new ui::Button(ui::Point(Size.X - 178, currentY), ui::Point(163, 16), "Migrate to shared data directory");
/*auto *migrationButton = new ui::Button(ui::Point(Size.X - 178, currentY), ui::Point(163, 16), "Migrate to shared data directory");
migrationButton->SetActionCallback({ [] {
ByteString from = Platform::originalCwd;
ByteString to = Platform::sharedCwd;
Expand All @@ -352,7 +352,7 @@ OptionsView::OptionsView() : ui::Window(ui::Point(-1, -1), ui::Point(320, 340))
new InformationMessage("Migration Complete", ret, false);
} });
} });
scrollPanel->AddChild(migrationButton);
scrollPanel->AddChild(migrationButton);*/
currentY += 26;
}
{
Expand Down
2 changes: 1 addition & 1 deletion src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ app_id = get_option('app_id')
mod_id = get_option('mod_id')
is_snapshot = get_option('snapshot')
is_beta = get_option('beta')
is_mod = mod_id > 0
is_mod = false
conf_data.set('X86', is_x86.to_string())
conf_data.set('BETA', is_beta.to_string())
conf_data.set('MOD_ID', mod_id)
Expand Down

0 comments on commit a5bb60a

Please sign in to comment.