mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-03-13 02:51:23 +08:00
fix
This commit is contained in:
parent
9af96a2061
commit
0920696444
@ -242,6 +242,7 @@ class Unp4kCModel extends _$Unp4kCModel {
|
|||||||
final exec = "$execDir\\unp4kc.exe";
|
final exec = "$execDir\\unp4kc.exe";
|
||||||
final r = await Process.run(exec, args);
|
final r = await Process.run(exec, args);
|
||||||
if (r.exitCode != 0) {
|
if (r.exitCode != 0) {
|
||||||
|
Process.killPid(r.pid);
|
||||||
throw Exception(
|
throw Exception(
|
||||||
"error: ${r.exitCode} , info= ${r.stdout} , err= ${r.stderr}");
|
"error: ${r.exitCode} , info= ${r.stdout} , err= ${r.stderr}");
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,7 @@ class LocalizationFromFileDialogUI extends HookConsumerWidget {
|
|||||||
return ContentDialog(
|
return ContentDialog(
|
||||||
constraints: BoxConstraints(
|
constraints: BoxConstraints(
|
||||||
maxWidth: selectedStringBuffer.value == null
|
maxWidth: selectedStringBuffer.value == null
|
||||||
? 420
|
? MediaQuery.of(context).size.width * .5
|
||||||
: MediaQuery.of(context).size.width * .75,
|
: MediaQuery.of(context).size.width * .75,
|
||||||
maxHeight: MediaQuery.of(context).size.height * .8,
|
maxHeight: MediaQuery.of(context).size.height * .8,
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user