This commit is contained in:
2021-09-24 00:58:15 +03:00
parent 50a68be7c6
commit 1817142a33
1153 changed files with 30981 additions and 334 deletions

Binary file not shown.

View File

@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31402.337
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PowershellScriptHider", "PowershellScriptHider\PowershellScriptHider.csproj", "{6460C143-3C00-4D76-B45A-C09C4ABB71DB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6460C143-3C00-4D76-B45A-C09C4ABB71DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6460C143-3C00-4D76-B45A-C09C4ABB71DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6460C143-3C00-4D76-B45A-C09C4ABB71DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6460C143-3C00-4D76-B45A-C09C4ABB71DB}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {C4163471-428C-461F-8685-91A833B0CBFC}
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<ApplicationIcon />
<StartupObject />
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.1.3" />
<PackageReference Include="System.Management.Automation" Version="7.1.3" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,21 @@
using System;
using Microsoft.Management;
using Microsoft;
namespace PowershellScriptHider
{
class Program
{
static void Main(string[] args)
{
//args = new string[](){ @"D:\Drive\טוויקים למחשב\סקריפטוש\Powershell\abbyy shortcuts.ps1", ""};
System.Management.Automation.PowerShell powerShell = System.Management.Automation.PowerShell.Create();
//foreach (var arg in args)
//{
// powerShell.AddCommand(System.IO.File.ReadAllText(arg));
//}
string s = System.IO.File.ReadAllText(@"D:\Drive\טוויקים למחשב\סקריפטוש\Powershell\abbyy shortcuts.ps1",System.Text.Encoding.UTF8);
powerShell.AddScript(s);
}
}
}

View File

@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"additionalProbingPaths": [
"C:\\Users\\סארט\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\סארט\\.nuget\\packages",
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
]
}
}

View File

@@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "net5.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "5.0.0"
}
}
}

Some files were not shown because too many files have changed in this diff Show More