- Use GTK default flags for single instance - Fix icon path to absolute /usr/share/icons - Add postinstall chmod 644 for icon - Remove Dart-level single instance code
19 lines
565 B
Dart
19 lines
565 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter/services.dart';
|
|
import 'package:umbrix/bootstrap.dart';
|
|
import 'package:umbrix/core/model/environment.dart';
|
|
|
|
void main() async {
|
|
final widgetsBinding = WidgetsFlutterBinding.ensureInitialized();
|
|
|
|
SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
|
|
SystemChrome.setSystemUIOverlayStyle(
|
|
const SystemUiOverlayStyle(
|
|
statusBarColor: Colors.transparent,
|
|
systemNavigationBarColor: Colors.transparent,
|
|
),
|
|
);
|
|
|
|
return lazyBootstrap(widgetsBinding, Environment.dev);
|
|
}
|