Move setupDesktop()
This commit is contained in:
parent
dc8a06f929
commit
685e76af20
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue