Compare commits
No commits in common. "e8bf344f745358e140b75dff677bb745e4a8cafa" and "f5a0a63165d9e6b57719f48322baac60e29a2e6a" have entirely different histories.
e8bf344f74
...
f5a0a63165
File diff suppressed because it is too large
Load Diff
|
@ -221,7 +221,6 @@ goto dk_done
|
||||||
|
|
||||||
set "_work=%~dp0"
|
set "_work=%~dp0"
|
||||||
if "%_work:~-1%"=="\" set "_work=%_work:~0,-1%"
|
if "%_work:~-1%"=="\" set "_work=%_work:~0,-1%"
|
||||||
set "_workp=%_work:'=''%"
|
|
||||||
|
|
||||||
set "_batf=%~f0"
|
set "_batf=%~f0"
|
||||||
set "_batp=%_batf:'=''%"
|
set "_batp=%_batf:'=''%"
|
||||||
|
@ -1611,11 +1610,7 @@ call :dk_color %Gray% "Skipping Because Project/Visio Mode [%%#]"
|
||||||
|
|
||||||
if not defined skipprocess (
|
if not defined skipprocess (
|
||||||
|
|
||||||
set no365=
|
echo %%# | findstr /i "O365" %nul% && (
|
||||||
if "%oVer%"=="15" (echo %%# | findstr /i "O365HomePremRetail" %nul% && set no365=1)
|
|
||||||
if "%oVer%"=="16" (echo %%# | findstr /i "O365" %nul% && set no365=1)
|
|
||||||
|
|
||||||
if defined no365 (
|
|
||||||
set _License=MondoRetail
|
set _License=MondoRetail
|
||||||
set _altoffid=MondoRetail
|
set _altoffid=MondoRetail
|
||||||
call :ks_osppready
|
call :ks_osppready
|
||||||
|
@ -6714,13 +6709,6 @@ namespace LibTSforge.PhysicalStore
|
||||||
}
|
}
|
||||||
'@
|
'@
|
||||||
$ErrorActionPreference = 'Stop'
|
$ErrorActionPreference = 'Stop'
|
||||||
$binPath = Join-Path -Path $env:_workp -ChildPath "BIN\LibTSforge.dll"
|
|
||||||
|
|
||||||
if (Test-Path -Path $binPath) {
|
|
||||||
Write-Host "LibTSforge.dll found in BIN folder. Loading the DLL..."
|
|
||||||
Add-Type -Path $binPath
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$cp = [CodeDom.Compiler.CompilerParameters] [string[]]@("System.dll", "System.Core.dll", "System.ServiceProcess.dll", "System.Xml.dll")
|
$cp = [CodeDom.Compiler.CompilerParameters] [string[]]@("System.dll", "System.Core.dll", "System.ServiceProcess.dll", "System.Xml.dll")
|
||||||
$cp.CompilerOptions = "/unsafe"
|
$cp.CompilerOptions = "/unsafe"
|
||||||
$lang = If ((Get-Host).Version.Major -gt 2) { "CSharp" } Else { "CSharpVersion3" }
|
$lang = If ((Get-Host).Version.Major -gt 2) { "CSharp" } Else { "CSharpVersion3" }
|
||||||
|
@ -6732,8 +6720,6 @@ else {
|
||||||
|
|
||||||
$cp.GenerateInMemory = $true
|
$cp.GenerateInMemory = $true
|
||||||
Add-Type -Language $lang -TypeDefinition $src -CompilerParameters $cp
|
Add-Type -Language $lang -TypeDefinition $src -CompilerParameters $cp
|
||||||
}
|
|
||||||
|
|
||||||
if ($env:_debug -eq '0') {
|
if ($env:_debug -eq '0') {
|
||||||
[LibTSforge.Logger]::HideOutput = $true
|
[LibTSforge.Logger]::HideOutput = $true
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue