From 2b590957d0c3798a27b7655de06fa2a4abf6cba8 Mon Sep 17 00:00:00 2001 From: salaros Date: Tue, 17 Jul 2018 21:04:19 +0300 Subject: [PATCH] fixing a small bug with GUIDs, not being generated for every new addin --- build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.ps1 b/build.ps1 index 0b3f117..9708299 100644 --- a/build.ps1 +++ b/build.ps1 @@ -5,7 +5,7 @@ $srcFiles = Get-ChildItem -Recurse .\src\* -Include *.cs*, *.addin | Where-Objec foreach ($file in $srcFiles) { $outfile = ($file | Resolve-Path -Relative).Replace('\src\', '\dist\') New-Item -ItemType Directory -Force -Path (Split-Path -Path $outfile -Parent) | Out-Null - (Get-Content $file).replace('RevitAddin', '$safeprojectname$') | Set-Content $outfile + (Get-Content $file).Replace('RevitAddin', '$safeprojectname$').Replace('00000000-0000-0000-0000-00000000000', '$guid').Replace('