mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
11 lines
609 B
PowerShell
11 lines
609 B
PowerShell
param ($fullPath)
|
|
#$fullPath = 'C:\Program Files\WindowsPowerShell\Modules\ImportExcel'
|
|
if (-not $fullPath) {
|
|
$fullpath = $env:PSModulePath -split ":(?!\\)|;|," |
|
|
Where-Object {$_ -notlike ([System.Environment]::GetFolderPath("UserProfile")+"*") -and $_ -notlike "$pshome*"} |
|
|
Select-Object -First 1
|
|
$fullPath = Join-Path $fullPath -ChildPath "ImportExcel"
|
|
}
|
|
Push-location $PSScriptRoot
|
|
Robocopy . $fullPath /mir /XD .vscode .git CI __tests__ data mdHelp /XF appveyor.yml azure-pipelines.yml .gitattributes .gitignore filelist.txt install.ps1 InstallModule.ps1
|
|
Pop-Location |