Skip to content

Commit a5bb60a

Browse files
committed
force is_mod to false, hide migrate button but not "open data folder"
1 parent f9d4a62 commit a5bb60a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/gui/options/OptionsView.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ OptionsView::OptionsView() : ui::Window(ui::Point(-1, -1), ui::Point(320, 340))
343343
}
344344
} });
345345
scrollPanel->AddChild(dataFolderButton);
346-
auto *migrationButton = new ui::Button(ui::Point(Size.X - 178, currentY), ui::Point(163, 16), "Migrate to shared data directory");
346+
/*auto *migrationButton = new ui::Button(ui::Point(Size.X - 178, currentY), ui::Point(163, 16), "Migrate to shared data directory");
347347
migrationButton->SetActionCallback({ [] {
348348
ByteString from = Platform::originalCwd;
349349
ByteString to = Platform::sharedCwd;
@@ -352,7 +352,7 @@ OptionsView::OptionsView() : ui::Window(ui::Point(-1, -1), ui::Point(320, 340))
352352
new InformationMessage("Migration Complete", ret, false);
353353
} });
354354
} });
355-
scrollPanel->AddChild(migrationButton);
355+
scrollPanel->AddChild(migrationButton);*/
356356
currentY += 26;
357357
}
358358
{

src/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ app_id = get_option('app_id')
44
mod_id = get_option('mod_id')
55
is_snapshot = get_option('snapshot')
66
is_beta = get_option('beta')
7-
is_mod = mod_id > 0
7+
is_mod = false
88
conf_data.set('X86', is_x86.to_string())
99
conf_data.set('BETA', is_beta.to_string())
1010
conf_data.set('MOD_ID', mod_id)

0 commit comments

Comments
 (0)