mirror of
https://github.com/StarCitizenToolBox/app.git
synced 2026-02-11 17:50:23 +00:00
feat: unp4k data forge support
This commit is contained in:
@@ -124,6 +124,13 @@ class ToolsUIModel extends _$ToolsUIModel {
|
||||
const Icon(FontAwesomeIcons.fileZipper, size: 24),
|
||||
onTap: () => _unp4kc(context),
|
||||
),
|
||||
ToolsItemData(
|
||||
"dcb_viewer",
|
||||
S.current.tools_action_dcb_viewer,
|
||||
S.current.tools_action_dcb_viewer_info,
|
||||
const Icon(FluentIcons.database, size: 24),
|
||||
onTap: () => _dcbViewer(context),
|
||||
),
|
||||
]);
|
||||
|
||||
state = state.copyWith(items: items);
|
||||
@@ -702,6 +709,10 @@ class ToolsUIModel extends _$ToolsUIModel {
|
||||
context.push("/tools/unp4kc");
|
||||
}
|
||||
|
||||
Future<void> _dcbViewer(BuildContext context) async {
|
||||
context.push("/tools/dcb_viewer");
|
||||
}
|
||||
|
||||
static Future<void> rsiEnhance(BuildContext context, {bool showNotGameInstallMsg = false}) async {
|
||||
if ((await SystemHelper.getPID("RSI Launcher")).isNotEmpty) {
|
||||
if (!context.mounted) return;
|
||||
|
||||
Reference in New Issue
Block a user