protected function createSymlinks()
    {
        // Symlink the public storage folder
        if (! file_exists(public_path('storage'))) {
            $this->call('storage:link');
        }

        // Symlink the public assets folder
        if (! is_link($sitePath = public_path('network'))) {
            $this->info('Symlinking public assets...');
            $vendorPath = base_path('vendor/simonhamp/network-elements/public/');
            $createSymlink = new Process('ln -s "'.$vendorPath.'" "'.$sitePath.'"');
            $createSymlink->run();

            if (! $createSymlink->isSuccessful()) {
                $this->warn("I couldn't create a symlink to the Network public assets (CSS, JavaScript, fonts and images.");
                $this->warn("Please create a symlink to {$vendorPath} at {$sitePath}");
                logger('NETWORK.INSTALL: Failed to symlink public assets.', ['paths' => [$vendorPath, $sitePath]]);
                $this->hasError = true;
                return;
            }

            $this->info('Symlinking created successfully!');
        }
    }