mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 12:34:45 +08:00
fix: open Dir
This commit is contained in:
@ -169,7 +169,7 @@ class HomeUI extends HookConsumerWidget {
|
||||
const SizedBox(width: 12),
|
||||
Button(
|
||||
onPressed: () =>
|
||||
SystemHelper.openDir("\"${homeState.scInstalledPath}\""),
|
||||
SystemHelper.openDir("${homeState.scInstalledPath}"),
|
||||
child: const Padding(
|
||||
padding: EdgeInsets.all(6),
|
||||
child: Icon(FluentIcons.folder_open),
|
||||
|
@ -265,7 +265,7 @@ class LocalizationUIModel extends _$LocalizationUIModel {
|
||||
|
||||
openDir(BuildContext context) async {
|
||||
showToast(context, S.current.localization_info_custom_file_instructions);
|
||||
SystemHelper.openDir("\"${_customizeDir.absolute.path}\"\\");
|
||||
SystemHelper.openDir(_customizeDir.absolute.path);
|
||||
}
|
||||
|
||||
VoidCallback? doRemoteInstall(
|
||||
|
Reference in New Issue
Block a user