You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$output->writeln('The assets were installed using symbolic links.');
107
110
} catch (IOException$e) {
108
-
$this->hardCopy($originDir, $targetDir);
109
-
$output->writeln('It looks like your system doesn\'t support symbolic links, so the assets were installed by copying them.');
111
+
if (!$input->getOption('relative')) {
112
+
$this->hardCopy($originDir, $targetDir);
113
+
$output->writeln('It looks like your system doesn\'t support symbolic links, so the assets were installed by copying them.');
114
+
}
115
+
116
+
// try again without the relative option
117
+
try {
118
+
$filesystem->symlink($originDir, $targetDir);
119
+
$output->writeln('It looks like your system doesn\'t support relative symbolic links, so the assets were installed by using absolute symbolic links.');
120
+
} catch (IOException$e) {
121
+
$this->hardCopy($originDir, $targetDir);
122
+
$output->writeln('It looks like your system doesn\'t support symbolic links, so the assets were installed by copying them.');
0 commit comments