diff --git a/examples/todo/Makefile b/examples/todo/Makefile index 5a5301c..6188102 100644 --- a/examples/todo/Makefile +++ b/examples/todo/Makefile @@ -54,9 +54,12 @@ appimage: build ## Package as a single-file Linux AppImage at build/Todo-x86_64. --exclude='var/cache/' --exclude='var/log/' \ $(SYMFONY_DIR)/ build/staging-symfony/ # Rewrite the path repo to absolute so composer can find the bundle - # from the staging dir (different relative depth than the source tree). + # from the staging dir, AND flip symlink:true → false so composer copies + # the bundle into vendor/ — symlinks would survive the rsync into the + # AppDir but their targets wouldn't exist on the user's machine. BUNDLE_ABS="$$(cd $(SYMFONY_DIR)/../../../framework/php && pwd)"; \ sed -i "s|\"../../../framework/php\"|\"$$BUNDLE_ABS\"|" build/staging-symfony/composer.json + sed -i 's|"symlink": true|"symlink": false|' build/staging-symfony/composer.json rm -f build/staging-symfony/composer.lock cd build/staging-symfony && composer install --no-dev --no-interaction --classmap-authoritative ../../packaging/linux/build-appimage.sh \