From 1255507096e4349683f49eb85a11d1c2ac85997f Mon Sep 17 00:00:00 2001 From: Rob Reynolds Date: Thu, 1 Dec 2016 21:23:25 -0600 Subject: [PATCH] (GH-1075) Add Architect license type SKU Add the sku for Chocolatey for Architect edition and update Rhino.Licensing.dll in the project. Clean up the method of discovering the license so that it automatically flips between the rhino license type and Chocolatey's license type. --- lib/Rhino.Licensing/Rhino.Licensing.dll | Bin 38912 -> 38912 bytes .../licensing/ChocolateyLicenseType.cs | 1 + .../licensing/LicenseValidation.cs | 36 +++++++++--------- 3 files changed, 18 insertions(+), 19 deletions(-) diff --git a/lib/Rhino.Licensing/Rhino.Licensing.dll b/lib/Rhino.Licensing/Rhino.Licensing.dll index 4c32211498cf55ddda3556914384fd2a4e678d7e..4e27fb58f60559d08cc4d57775c4cc403cad006b 100644 GIT binary patch delta 5299 zcma)=3tUxIy1>7+_CEWZ&3SO(yx-@5hywB`)KE!CP#h>d`AE!CL{q{z10t$?0;Nt{;DiBWyo7OuJ+IBQx?aEUpL&We|jHM1~bz`p}T0i5$j0TpUTDsArJ1Ag(lAWBR~hLUugk#;c1idDwDV?yfd4EgtFfJ+?q$Dq`%ZohfRS}Y-%<`?q_-npQWRl;5 zEbvbwMamX`zM}{eB%iV3Bpdu=L|6?#XibhH1QIQ|=v8avs!!2TaT4UNyl_<8XYkq6^nLC)$o0GnCS zFXW4=n2j^mCWAU@CbiU#VJQQgY(Tc4qa(=)dQ!x!wkf^Nn$f7NETc8dc$@0wLGjqz z|1c8kZGv_g8|vbfk_-AmFe|dO|4c!VlAL6)5=ioqAxdtN&CS+Qi)%R)?=`I{#L|2* z_uLH_$2`6@p~fPr1%MoD$C~2slpt{#MK%fi?&GHFdylKcE?K&Tp`C9M=bPnUXmrqccwZeDC3;(WDTw2^6OkaztXb=*+1%K(^!V|!eQ@Aj*u5l$coQE*3$6iYC1fUiHBub|OWeDa>h#jk z96ceE>y~gX<80#G#JL3-fL(eQj`%Jz0H5lI(EtdB`;f5)7aq{2XvQ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