Compare commits
No commits in common. "79e85344baad1f79387a2719bedcb7d582743afe" and "990a910847bc8eda925fd8e82dc2475f381cbd40" have entirely different histories.
79e85344ba
...
990a910847
|
|
@ -1,16 +0,0 @@
|
||||||
#Simple script to copy the custom threads to the most recent Fusion 360 directory.
|
|
||||||
|
|
||||||
$ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
|
||||||
$FileDir = Join-Path $ScriptDir 'PGConduitThreads.xml'
|
|
||||||
|
|
||||||
$FusionDir = Join-Path $env:LOCALAPPDATA 'Autodesk\webdeploy\production\'
|
|
||||||
|
|
||||||
#Find the most recent version of Fusion360
|
|
||||||
$LatestSubdir = Get-ChildItem -Path $FusionDir -Directory -ErrorAction Stop |
|
|
||||||
Sort-Object LastWriteTime -Descending |
|
|
||||||
Select-Object -First 1
|
|
||||||
|
|
||||||
|
|
||||||
$ThreadPath = Join-Path $LatestSubdir.FullName 'Fusion\Server\Fusion\Configuration\ThreadData'
|
|
||||||
|
|
||||||
Copy-Item -Path $FileDir -Destination $ThreadPath -Force
|
|
||||||
Loading…
Reference in New Issue