Decoder updates & local media server scripts.

This commit is contained in:
Patrick Fic
2022-05-18 09:57:09 -07:00
parent 6eff2dbb31
commit 49ddd06aff
5 changed files with 41 additions and 4 deletions

View File

@@ -258,9 +258,15 @@
<None Include="Utils\Scripts\ArmsExport.ps1"> <None Include="Utils\Scripts\ArmsExport.ps1">
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None> </None>
<None Include="Utils\Scripts\imexmedia.bat">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Utils\Scripts\PaintScaleExport.ps1"> <None Include="Utils\Scripts\PaintScaleExport.ps1">
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None> </None>
<None Include="Utils\Scripts\ProtocolReg.reg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<Resource Include="Assets\logo1024.png" /> <Resource Include="Assets\logo1024.png" />
<Resource Include="Assets\favicon.ico" /> <Resource Include="Assets\favicon.ico" />
<Resource Include="favicon.ico" /> <Resource Include="favicon.ico" />

View File

@@ -51,7 +51,7 @@ using System.Windows;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.35.0")] [assembly: AssemblyVersion("1.0.36.0")]
[assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
//Setting Squirrel Aware Version. //Setting Squirrel Aware Version.
[assembly: AssemblyMetadata("SquirrelAwareVersion", "1")] [assembly: AssemblyMetadata("SquirrelAwareVersion", "1")]

View File

@@ -280,12 +280,12 @@ namespace BodyshopPartner.Utils.Decoder
j.ownr_zip = readValues[76]; j.ownr_zip = readValues[76];
j.ownr_ctry = readValues[77]; j.ownr_ctry = readValues[77];
j.ownr_ph1 = readValues[78]; j.ownr_ph1 = readValues[78];
if (String.IsNullOrWhiteSpace(ownerRoot.ownr_ph1.Value)) if (String.IsNullOrWhiteSpace(j.ownr_ph1.Value))
{ {
j.ownr_ph1 = readValues[80]; j.ownr_ph1 = readValues[80];
} }
//j.insd_ph1x = readValues[79]; //j.insd_ph1x = readValues[79];
// j.insd_ph2 = readValues[80]; j.ownr_ph2 = readValues[80];
// j.insd_ph2x = readValues[81]; // j.insd_ph2x = readValues[81];
j.ownr_ea = readValues[84]; j.ownr_ea = readValues[84];
@@ -306,7 +306,7 @@ namespace BodyshopPartner.Utils.Decoder
ownerRoot.ownr_ph1 = readValues[80]; ownerRoot.ownr_ph1 = readValues[80];
} }
//ownerRoot.insd_ph1x = readValues[79]; //ownerRoot.insd_ph1x = readValues[79];
// ownerRoot.insd_ph2 = readValues[80]; ownerRoot.ownr_ph2 = readValues[80];
// ownerRoot.insd_ph2x = readValues[81]; // ownerRoot.insd_ph2x = readValues[81];
ownerRoot.ownr_ea = readValues[84]; ownerRoot.ownr_ea = readValues[84];

View File

@@ -0,0 +1,24 @@
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\imexmedia]
"URL Protocol"="\"\""
@="\"URL:imexmedia Protocol\""
[HKEY_CURRENT_USER\Software\Classes\imexmedia\DefaultIcon]
@="\"explorer.exe,1\""
[HKEY_CURRENT_USER\Software\Classes\imexmedia\shell]
[HKEY_CURRENT_USER\Software\Classes\imexmedia\shell\open]
[HKEY_CURRENT_USER\Software\Classes\imexmedia\shell\open\command]
@="\"C:\\ImEX\\PartnerScripts\\imexmedia.bat\" %1"
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"ExternalProtocolDialogShowAlwaysOpenCheckbox"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]
"ExternalProtocolDialogShowAlwaysOpenCheckbox"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Chromium]
"ExternalProtocolDialogShowAlwaysOpenCheckbox"=dword:00000001

View File

@@ -0,0 +1,7 @@
@if (@This==@IsBatch) @then
wscript //E:JScript "%~dpnx0" %1
exit /b
@end
WScript.CreateObject("WScript.Shell").Run( decodeURIComponent(WScript.arguments(0).split("imexmedia://")[1]));
WScript.Quit(0);