Move setupDesktop()

This commit is contained in:
Feodor Fitsner 2024-11-05 10:11:23 -08:00
parent dc8a06f929
commit 685e76af20
1 changed files with 2 additions and 2 deletions

View File

@ -99,6 +99,8 @@ void main(List<String> args) async {
debugPrint = (String? message, {int? wrapWidth}) => null;
}
await setupDesktop();
{% for dep in cookiecutter.flutter.dependencies %}
{{ dep }}.ensureInitialized();
{% endfor %}
@ -156,8 +158,6 @@ Future prepareApp() async {
setPathUrlStrategy();
}
} else {
await setupDesktop();
// extract app from asset
appDir = await extractAssetZip(assetPath, checkHash: true);