From 8c99be1f715edec677040b104e4798f3920a21d7 Mon Sep 17 00:00:00 2001 From: Abdelaziz Mahdy Date: Wed, 17 Apr 2024 00:51:57 +0200 Subject: [PATCH] Fixing spaces in paths --- .../lib/src/makers/dmg/app_package_maker_dmg.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/flutter_app_packager/lib/src/makers/dmg/app_package_maker_dmg.dart b/packages/flutter_app_packager/lib/src/makers/dmg/app_package_maker_dmg.dart index 7b91512b..5178bea9 100644 --- a/packages/flutter_app_packager/lib/src/makers/dmg/app_package_maker_dmg.dart +++ b/packages/flutter_app_packager/lib/src/makers/dmg/app_package_maker_dmg.dart @@ -37,10 +37,10 @@ class AppPackageMakerDmg extends AppPackageMaker { .first; try { - await $('cp', ['-RH', appFile.path, packagingDirectory.path]); - - await $('cp', ['-RH', 'macos/packaging/dmg/.', packagingDirectory.path]); - + await $('cp', ['-RH', '"${appFile.path}"', '"${packagingDirectory.path}"']); + + await $('cp', ['-RH', 'macos/packaging/dmg/.', '"${packagingDirectory.path}"']); + File makeDmgConfigJsonFile = File( '${packagingDirectory.path}/make_config.json', );