|
@@ -17,7 +17,7 @@ import 'game_board.dart';
|
|
/// Author : liuyuqi.gov@msn.cn
|
|
/// Author : liuyuqi.gov@msn.cn
|
|
void main() async {
|
|
void main() async {
|
|
WidgetsFlutterBinding.ensureInitialized();
|
|
WidgetsFlutterBinding.ensureInitialized();
|
|
- // pc 平台,非 web 版本
|
|
|
|
|
|
+ // pc 平台,非 web 版本,设置窗体大小
|
|
if (!kIsWeb && (Platform.isWindows || Platform.isMacOS || Platform.isLinux)) {
|
|
if (!kIsWeb && (Platform.isWindows || Platform.isMacOS || Platform.isLinux)) {
|
|
await windowManager.ensureInitialized();
|
|
await windowManager.ensureInitialized();
|
|
|
|
|