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;
|
debugPrint = (String? message, {int? wrapWidth}) => null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await setupDesktop();
|
||||||
|
|
||||||
{% for dep in cookiecutter.flutter.dependencies %}
|
{% for dep in cookiecutter.flutter.dependencies %}
|
||||||
{{ dep }}.ensureInitialized();
|
{{ dep }}.ensureInitialized();
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
@ -156,8 +158,6 @@ Future prepareApp() async {
|
||||||
setPathUrlStrategy();
|
setPathUrlStrategy();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
await setupDesktop();
|
|
||||||
|
|
||||||
// extract app from asset
|
// extract app from asset
|
||||||
appDir = await extractAssetZip(assetPath, checkHash: true);
|
appDir = await extractAssetZip(assetPath, checkHash: true);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue