me
This commit is contained in:
BIN
Runas/.vs/Runas/DesignTimeBuild/.dtbcache.v2
Normal file
BIN
Runas/.vs/Runas/DesignTimeBuild/.dtbcache.v2
Normal file
Binary file not shown.
BIN
Runas/.vs/Runas/DesignTimeBuild/desktop.ini
Normal file
BIN
Runas/.vs/Runas/DesignTimeBuild/desktop.ini
Normal file
Binary file not shown.
BIN
Runas/.vs/Runas/desktop.ini
Normal file
BIN
Runas/.vs/Runas/desktop.ini
Normal file
Binary file not shown.
BIN
Runas/.vs/Runas/v16/.suo
Normal file
BIN
Runas/.vs/Runas/v16/.suo
Normal file
Binary file not shown.
BIN
Runas/.vs/Runas/v16/desktop.ini
Normal file
BIN
Runas/.vs/Runas/v16/desktop.ini
Normal file
Binary file not shown.
BIN
Runas/.vs/desktop.ini
Normal file
BIN
Runas/.vs/desktop.ini
Normal file
Binary file not shown.
25
Runas/Runas.sln
Normal file
25
Runas/Runas.sln
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.31424.327
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Runas", "Runas\Runas.csproj", "{59E685B2-BE76-440E-BE79-87B9E483D5DA}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{59E685B2-BE76-440E-BE79-87B9E483D5DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{59E685B2-BE76-440E-BE79-87B9E483D5DA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{59E685B2-BE76-440E-BE79-87B9E483D5DA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{59E685B2-BE76-440E-BE79-87B9E483D5DA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {E57A5128-5783-4123-A2C0-50AD2177D814}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
51
Runas/Runas/Program.cs
Normal file
51
Runas/Runas/Program.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using Newtonsoft.Json;
|
||||
using System.Diagnostics;
|
||||
namespace Runas
|
||||
{
|
||||
class Program
|
||||
{
|
||||
public static dynamic jprograms = JsonConvert.DeserializeObject(Properties.Resources.progs);
|
||||
|
||||
public static bool DoRun(string program)
|
||||
{
|
||||
Process[] process = Process.GetProcessesByName(program);
|
||||
return (process.Length > 0);
|
||||
}
|
||||
public static void RunProcess(string programName)
|
||||
{
|
||||
|
||||
if (!(DoRun(programName)))
|
||||
{
|
||||
if (programName.Equals("AutoHotKey"))
|
||||
{
|
||||
Process.Start(jprograms[programName][0].Value, $"\u0022{jprograms[programName][1].Value.ToString()}\u0022");
|
||||
}
|
||||
|
||||
else if (jprograms[programName].Count > 1)
|
||||
{
|
||||
foreach (var prog in jprograms[programName])
|
||||
{
|
||||
if (System.IO.File.Exists(prog.Value))
|
||||
{
|
||||
Process.Start(prog.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (jprograms[programName].Count == 1)
|
||||
{
|
||||
Process.Start(jprograms[programName][0].Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
static void Main(string[] args)
|
||||
{
|
||||
foreach(var prog in jprograms)
|
||||
{
|
||||
string ProgProg = ((Newtonsoft.Json.Linq.JProperty)prog).Name;
|
||||
System.Threading.Thread thread = new (new System.Threading.ThreadStart(() => RunProcess(ProgProg)));
|
||||
thread.Start();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
85
Runas/Runas/Properties/Resources.Designer.cs
generated
Normal file
85
Runas/Runas/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,85 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Runas.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Runas.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {
|
||||
/// "AutoHotKey": [
|
||||
/// "C:\\Program Files\\AutoHotkey\\AutoHotkey.exe",
|
||||
/// "D:\\Drive\\טוויקים למחשב\\myscript 3.0\\myscript 2.0.ahk"
|
||||
/// ],
|
||||
/// "Lightshot": [
|
||||
/// "C:\\Program Files (x86)\\Skillbrains\\lightshot\\Lightshot.exe"
|
||||
/// ],
|
||||
/// "AsusNbKeys": [
|
||||
/// "C:\\Program Files (x86)\\ASUS\\ATK Package\\AsusNbKeys\\AsusNbKeys.exe",
|
||||
/// "C:\\Program Files (x86)\\ASUS\\ATK Package\\ATK Hotkey\\AsusNbKeys.exe"
|
||||
/// ],
|
||||
/// "HControl": [
|
||||
/// "C:\\Program Files (x86)\\ASUS\ [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string progs {
|
||||
get {
|
||||
return ResourceManager.GetString("progs", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
124
Runas/Runas/Properties/Resources.resx
Normal file
124
Runas/Runas/Properties/Resources.resx
Normal file
@@ -0,0 +1,124 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="progs" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\progs.json;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
</root>
|
BIN
Runas/Runas/Properties/desktop.ini
Normal file
BIN
Runas/Runas/Properties/desktop.ini
Normal file
Binary file not shown.
BIN
Runas/Runas/Resources/desktop.ini
Normal file
BIN
Runas/Runas/Resources/desktop.ini
Normal file
Binary file not shown.
20
Runas/Runas/Resources/progs.json
Normal file
20
Runas/Runas/Resources/progs.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"AutoHotKey": [
|
||||
"C:\\Program Files\\AutoHotkey\\AutoHotkey.exe",
|
||||
"D:\\Drive\\טוויקים למחשב\\myscript 3.0\\myscript 2.0.ahk"
|
||||
],
|
||||
"Lightshot": [
|
||||
"C:\\Program Files (x86)\\Skillbrains\\lightshot\\Lightshot.exe"
|
||||
],
|
||||
"AsusNbKeys": [
|
||||
"C:\\Program Files (x86)\\ASUS\\ATK Package\\AsusNbKeys\\AsusNbKeys.exe",
|
||||
"C:\\Program Files (x86)\\ASUS\\ATK Package\\ATK Hotkey\\AsusNbKeys.exe"
|
||||
],
|
||||
"HControl": [
|
||||
"C:\\Program Files (x86)\\ASUS\\ATK Package\\ATK Hotkey\\HControl.exe"
|
||||
],
|
||||
"Ditto": [
|
||||
"C:\\Program Files\\Ditto\\Ditto.exe"
|
||||
]
|
||||
|
||||
}
|
32
Runas/Runas/Runas.csproj
Normal file
32
Runas/Runas/Runas.csproj
Normal file
@@ -0,0 +1,32 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<ApplicationIcon />
|
||||
<StartupObject />
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Update="Program.cs">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Compile>
|
||||
<Compile Update="Properties\Resources.Designer.cs">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Update="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
9
Runas/Runas/Runas.csproj.user
Normal file
9
Runas/Runas/Runas.csproj.user
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup />
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Update="Properties\Resources.resx">
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
</Project>
|
79
Runas/Runas/app.manifest
Normal file
79
Runas/Runas/app.manifest
Normal file
@@ -0,0 +1,79 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||
<security>
|
||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<!-- UAC Manifest Options
|
||||
If you want to change the Windows User Account Control level replace the
|
||||
requestedExecutionLevel node with one of the following.
|
||||
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
||||
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
|
||||
|
||||
Specifying requestedExecutionLevel element will disable file and registry virtualization.
|
||||
Remove this element if your application requires this virtualization for backwards
|
||||
compatibility.
|
||||
-->
|
||||
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
|
||||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||
<application>
|
||||
<!-- A list of the Windows versions that this application has been tested on
|
||||
and is designed to work with. Uncomment the appropriate elements
|
||||
and Windows will automatically select the most compatible environment. -->
|
||||
|
||||
<!-- Windows Vista -->
|
||||
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
|
||||
|
||||
<!-- Windows 7 -->
|
||||
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
|
||||
|
||||
<!-- Windows 8 -->
|
||||
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
|
||||
|
||||
<!-- Windows 8.1 -->
|
||||
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
|
||||
|
||||
<!-- Windows 10 -->
|
||||
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
|
||||
|
||||
</application>
|
||||
</compatibility>
|
||||
|
||||
<!-- Indicates that the application is DPI-aware and will not be automatically scaled by Windows at higher
|
||||
DPIs. Windows Presentation Foundation (WPF) applications are automatically DPI-aware and do not need
|
||||
to opt in. Windows Forms applications targeting .NET Framework 4.6 that opt into this setting, should
|
||||
also set the 'EnableWindowsFormsHighDpiAutoResizing' setting to 'true' in their app.config.
|
||||
|
||||
Makes the application long-path aware. See https://docs.microsoft.com/windows/win32/fileio/maximum-file-path-limitation -->
|
||||
<!--
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
||||
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
|
||||
</windowsSettings>
|
||||
</application>
|
||||
-->
|
||||
|
||||
<!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->
|
||||
<!--
|
||||
<dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity
|
||||
type="win32"
|
||||
name="Microsoft.Windows.Common-Controls"
|
||||
version="6.0.0.0"
|
||||
processorArchitecture="*"
|
||||
publicKeyToken="6595b64144ccf1df"
|
||||
language="*"
|
||||
/>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
-->
|
||||
|
||||
</assembly>
|
BIN
Runas/Runas/bin/Debug/desktop.ini
Normal file
BIN
Runas/Runas/bin/Debug/desktop.ini
Normal file
Binary file not shown.
BIN
Runas/Runas/bin/Debug/net5.0/Newtonsoft.Json.dll
Normal file
BIN
Runas/Runas/bin/Debug/net5.0/Newtonsoft.Json.dll
Normal file
Binary file not shown.
51
Runas/Runas/bin/Debug/net5.0/Program.cs
Normal file
51
Runas/Runas/bin/Debug/net5.0/Program.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using Newtonsoft.Json;
|
||||
using System.Diagnostics;
|
||||
namespace Runas
|
||||
{
|
||||
class Program
|
||||
{
|
||||
public static dynamic jprograms = JsonConvert.DeserializeObject(Properties.Resources.progs);
|
||||
|
||||
public static bool DoRun(string program)
|
||||
{
|
||||
Process[] process = Process.GetProcessesByName(program);
|
||||
return (process.Length > 0);
|
||||
}
|
||||
public static void RunProcess(string programName)
|
||||
{
|
||||
|
||||
if (!(DoRun(programName)))
|
||||
{
|
||||
if (programName.Equals("AutoHotKey"))
|
||||
{
|
||||
Process.Start(jprograms[programName][0].Value, $"\u0022{jprograms[programName][1].Value.ToString()}\u0022");
|
||||
}
|
||||
|
||||
else if (jprograms[programName].Count > 1)
|
||||
{
|
||||
foreach (var prog in jprograms[programName])
|
||||
{
|
||||
if (System.IO.File.Exists(prog.Value))
|
||||
{
|
||||
Process.Start(prog.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (jprograms[programName].Count == 1)
|
||||
{
|
||||
Process.Start(jprograms[programName][0].Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
static void Main(string[] args)
|
||||
{
|
||||
foreach(var prog in jprograms)
|
||||
{
|
||||
string ProgProg = ((Newtonsoft.Json.Linq.JProperty)prog).Name;
|
||||
System.Threading.Thread thread = new (new System.Threading.ThreadStart(() => RunProcess(ProgProg)));
|
||||
thread.Start();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
85
Runas/Runas/bin/Debug/net5.0/Properties/Resources.Designer.cs
generated
Normal file
85
Runas/Runas/bin/Debug/net5.0/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,85 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Runas.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Runas.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to {
|
||||
/// "AutoHotKey": [
|
||||
/// "C:\\Program Files\\AutoHotkey\\AutoHotkey.exe",
|
||||
/// "D:\\Drive\\טוויקים למחשב\\myscript 3.0\\myscript 2.0.ahk"
|
||||
/// ],
|
||||
/// "Lightshot": [
|
||||
/// "C:\\Program Files (x86)\\Skillbrains\\lightshot\\Lightshot.exe"
|
||||
/// ],
|
||||
/// "AsusNbKeys": [
|
||||
/// "C:\\Program Files (x86)\\ASUS\\ATK Package\\AsusNbKeys\\AsusNbKeys.exe",
|
||||
/// "C:\\Program Files (x86)\\ASUS\\ATK Package\\ATK Hotkey\\AsusNbKeys.exe"
|
||||
/// ],
|
||||
/// "HControl": [
|
||||
/// "C:\\Program Files (x86)\\ASUS\ [rest of string was truncated]";.
|
||||
/// </summary>
|
||||
internal static string progs {
|
||||
get {
|
||||
return ResourceManager.GetString("progs", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
BIN
Runas/Runas/bin/Debug/net5.0/Properties/desktop.ini
Normal file
BIN
Runas/Runas/bin/Debug/net5.0/Properties/desktop.ini
Normal file
Binary file not shown.
41
Runas/Runas/bin/Debug/net5.0/Runas.deps.json
Normal file
41
Runas/Runas/bin/Debug/net5.0/Runas.deps.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v5.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v5.0": {
|
||||
"Runas/1.0.0": {
|
||||
"dependencies": {
|
||||
"Newtonsoft.Json": "13.0.1"
|
||||
},
|
||||
"runtime": {
|
||||
"Runas.dll": {}
|
||||
}
|
||||
},
|
||||
"Newtonsoft.Json/13.0.1": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Newtonsoft.Json.dll": {
|
||||
"assemblyVersion": "13.0.0.0",
|
||||
"fileVersion": "13.0.1.25517"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Runas/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"Newtonsoft.Json/13.0.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
|
||||
"path": "newtonsoft.json/13.0.1",
|
||||
"hashPath": "newtonsoft.json.13.0.1.nupkg.sha512"
|
||||
}
|
||||
}
|
||||
}
|
BIN
Runas/Runas/bin/Debug/net5.0/Runas.dll
Normal file
BIN
Runas/Runas/bin/Debug/net5.0/Runas.dll
Normal file
Binary file not shown.
BIN
Runas/Runas/bin/Debug/net5.0/Runas.exe
Normal file
BIN
Runas/Runas/bin/Debug/net5.0/Runas.exe
Normal file
Binary file not shown.
BIN
Runas/Runas/bin/Debug/net5.0/Runas.pdb
Normal file
BIN
Runas/Runas/bin/Debug/net5.0/Runas.pdb
Normal file
Binary file not shown.
@@ -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"
|
||||
]
|
||||
}
|
||||
}
|
9
Runas/Runas/bin/Debug/net5.0/Runas.runtimeconfig.json
Normal file
9
Runas/Runas/bin/Debug/net5.0/Runas.runtimeconfig.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net5.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "5.0.0"
|
||||
}
|
||||
}
|
||||
}
|
BIN
Runas/Runas/bin/Debug/net5.0/desktop.ini
Normal file
BIN
Runas/Runas/bin/Debug/net5.0/desktop.ini
Normal file
Binary file not shown.
BIN
Runas/Runas/bin/Debug/net5.0/ref/Runas.dll
Normal file
BIN
Runas/Runas/bin/Debug/net5.0/ref/Runas.dll
Normal file
Binary file not shown.
BIN
Runas/Runas/bin/Debug/net5.0/ref/desktop.ini
Normal file
BIN
Runas/Runas/bin/Debug/net5.0/ref/desktop.ini
Normal file
Binary file not shown.
BIN
Runas/Runas/bin/Release/desktop.ini
Normal file
BIN
Runas/Runas/bin/Release/desktop.ini
Normal file
Binary file not shown.
BIN
Runas/Runas/bin/Release/net5.0/desktop.ini
Normal file
BIN
Runas/Runas/bin/Release/net5.0/desktop.ini
Normal file
Binary file not shown.
BIN
Runas/Runas/bin/Release/net5.0/ref/desktop.ini
Normal file
BIN
Runas/Runas/bin/Release/net5.0/ref/desktop.ini
Normal file
Binary file not shown.
BIN
Runas/Runas/bin/desktop.ini
Normal file
BIN
Runas/Runas/bin/desktop.ini
Normal file
Binary file not shown.
BIN
Runas/Runas/desktop.ini
Normal file
BIN
Runas/Runas/desktop.ini
Normal file
Binary file not shown.
BIN
Runas/Runas/obj/Debug/desktop.ini
Normal file
BIN
Runas/Runas/obj/Debug/desktop.ini
Normal file
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]
|
23
Runas/Runas/obj/Debug/net5.0/Runas.AssemblyInfo.cs
Normal file
23
Runas/Runas/obj/Debug/net5.0/Runas.AssemblyInfo.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Runas")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Runas")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Runas")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
@@ -0,0 +1 @@
|
||||
be4894790f00c01a0a16ecfee71bb96e4388edf0
|
@@ -0,0 +1,10 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net5.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.PublishSingleFile =
|
||||
build_property.IncludeAllContentForSelfExtract =
|
||||
build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows
|
||||
build_property.RootNamespace = Runas
|
||||
build_property.ProjectDir = D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\
|
Binary file not shown.
BIN
Runas/Runas/obj/Debug/net5.0/Runas.assets.cache
Normal file
BIN
Runas/Runas/obj/Debug/net5.0/Runas.assets.cache
Normal file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
abe8d238f5fed52e69d40ef0d57d0c90f780886f
|
@@ -0,0 +1,42 @@
|
||||
C:\Users\סארט\source\repos\Runas\Runas\bin\Debug\net5.0\Runas.exe
|
||||
C:\Users\סארט\source\repos\Runas\Runas\bin\Debug\net5.0\Runas.deps.json
|
||||
C:\Users\סארט\source\repos\Runas\Runas\bin\Debug\net5.0\Runas.runtimeconfig.json
|
||||
C:\Users\סארט\source\repos\Runas\Runas\bin\Debug\net5.0\Runas.runtimeconfig.dev.json
|
||||
C:\Users\סארט\source\repos\Runas\Runas\bin\Debug\net5.0\Runas.dll
|
||||
C:\Users\סארט\source\repos\Runas\Runas\bin\Debug\net5.0\ref\Runas.dll
|
||||
C:\Users\סארט\source\repos\Runas\Runas\bin\Debug\net5.0\Runas.pdb
|
||||
C:\Users\סארט\source\repos\Runas\Runas\bin\Debug\net5.0\Newtonsoft.Json.dll
|
||||
C:\Users\סארט\source\repos\Runas\Runas\obj\Debug\net5.0\Runas.csproj.AssemblyReference.cache
|
||||
C:\Users\סארט\source\repos\Runas\Runas\obj\Debug\net5.0\Runas.Properties.Resources.resources
|
||||
C:\Users\סארט\source\repos\Runas\Runas\obj\Debug\net5.0\Runas.csproj.GenerateResource.cache
|
||||
C:\Users\סארט\source\repos\Runas\Runas\obj\Debug\net5.0\Runas.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Users\סארט\source\repos\Runas\Runas\obj\Debug\net5.0\Runas.AssemblyInfoInputs.cache
|
||||
C:\Users\סארט\source\repos\Runas\Runas\obj\Debug\net5.0\Runas.AssemblyInfo.cs
|
||||
C:\Users\סארט\source\repos\Runas\Runas\obj\Debug\net5.0\Runas.csproj.CoreCompileInputs.cache
|
||||
C:\Users\סארט\source\repos\Runas\Runas\obj\Debug\net5.0\Runas.csproj.CopyComplete
|
||||
C:\Users\סארט\source\repos\Runas\Runas\obj\Debug\net5.0\Runas.dll
|
||||
C:\Users\סארט\source\repos\Runas\Runas\obj\Debug\net5.0\ref\Runas.dll
|
||||
C:\Users\סארט\source\repos\Runas\Runas\obj\Debug\net5.0\Runas.pdb
|
||||
C:\Users\סארט\source\repos\Runas\Runas\obj\Debug\net5.0\Runas.genruntimeconfig.cache
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\bin\Debug\net5.0\Runas.exe
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\bin\Debug\net5.0\Runas.deps.json
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\bin\Debug\net5.0\Runas.runtimeconfig.json
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\bin\Debug\net5.0\Runas.runtimeconfig.dev.json
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\bin\Debug\net5.0\Runas.dll
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\bin\Debug\net5.0\ref\Runas.dll
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\bin\Debug\net5.0\Runas.pdb
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\bin\Debug\net5.0\Newtonsoft.Json.dll
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\obj\Debug\net5.0\Runas.csproj.AssemblyReference.cache
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\obj\Debug\net5.0\Runas.GeneratedMSBuildEditorConfig.editorconfig
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\obj\Debug\net5.0\Runas.AssemblyInfoInputs.cache
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\obj\Debug\net5.0\Runas.AssemblyInfo.cs
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\obj\Debug\net5.0\Runas.csproj.CoreCompileInputs.cache
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\obj\Debug\net5.0\Runas.csproj.CopyComplete
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\obj\Debug\net5.0\Runas.dll
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\obj\Debug\net5.0\ref\Runas.dll
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\obj\Debug\net5.0\Runas.pdb
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\obj\Debug\net5.0\Runas.genruntimeconfig.cache
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\obj\Debug\net5.0\Runas.Properties.Resources.resources
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\obj\Debug\net5.0\Runas.csproj.GenerateResource.cache
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\bin\Debug\net5.0\Program.cs
|
||||
D:\Drive\טוויקים למחשב\סקריפטוש\C#\Runas\Runas\bin\Debug\net5.0\Properties\Resources.Designer.cs
|
BIN
Runas/Runas/obj/Debug/net5.0/Runas.csproj.GenerateResource.cache
Normal file
BIN
Runas/Runas/obj/Debug/net5.0/Runas.csproj.GenerateResource.cache
Normal file
Binary file not shown.
BIN
Runas/Runas/obj/Debug/net5.0/Runas.dll
Normal file
BIN
Runas/Runas/obj/Debug/net5.0/Runas.dll
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
95c8f15094a815fa6134beb8c0d579034af79de3
|
BIN
Runas/Runas/obj/Debug/net5.0/Runas.pdb
Normal file
BIN
Runas/Runas/obj/Debug/net5.0/Runas.pdb
Normal file
Binary file not shown.
Binary file not shown.
BIN
Runas/Runas/obj/Debug/net5.0/TempPE/desktop.ini
Normal file
BIN
Runas/Runas/obj/Debug/net5.0/TempPE/desktop.ini
Normal file
Binary file not shown.
BIN
Runas/Runas/obj/Debug/net5.0/apphost.exe
Normal file
BIN
Runas/Runas/obj/Debug/net5.0/apphost.exe
Normal file
Binary file not shown.
BIN
Runas/Runas/obj/Debug/net5.0/desktop.ini
Normal file
BIN
Runas/Runas/obj/Debug/net5.0/desktop.ini
Normal file
Binary file not shown.
BIN
Runas/Runas/obj/Debug/net5.0/ref/Runas.dll
Normal file
BIN
Runas/Runas/obj/Debug/net5.0/ref/Runas.dll
Normal file
Binary file not shown.
BIN
Runas/Runas/obj/Debug/net5.0/ref/desktop.ini
Normal file
BIN
Runas/Runas/obj/Debug/net5.0/ref/desktop.ini
Normal file
Binary file not shown.
BIN
Runas/Runas/obj/Release/desktop.ini
Normal file
BIN
Runas/Runas/obj/Release/desktop.ini
Normal file
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]
|
23
Runas/Runas/obj/Release/net5.0/Runas.AssemblyInfo.cs
Normal file
23
Runas/Runas/obj/Release/net5.0/Runas.AssemblyInfo.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Runas")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Runas")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Runas")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
@@ -0,0 +1 @@
|
||||
449448acb18a11c7fc5490e78494e06c0e2a4718
|
@@ -0,0 +1,8 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net5.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.PublishSingleFile =
|
||||
build_property.IncludeAllContentForSelfExtract =
|
||||
build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows
|
BIN
Runas/Runas/obj/Release/net5.0/Runas.assets.cache
Normal file
BIN
Runas/Runas/obj/Release/net5.0/Runas.assets.cache
Normal file
Binary file not shown.
BIN
Runas/Runas/obj/Release/net5.0/desktop.ini
Normal file
BIN
Runas/Runas/obj/Release/net5.0/desktop.ini
Normal file
Binary file not shown.
BIN
Runas/Runas/obj/Release/net5.0/ref/desktop.ini
Normal file
BIN
Runas/Runas/obj/Release/net5.0/ref/desktop.ini
Normal file
Binary file not shown.
72
Runas/Runas/obj/Runas.csproj.nuget.dgspec.json
Normal file
72
Runas/Runas/obj/Runas.csproj.nuget.dgspec.json
Normal file
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"D:\\Drive\\טוויקים למחשב\\סקריפטוש\\C#\\Runas\\Runas\\Runas.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"D:\\Drive\\טוויקים למחשב\\סקריפטוש\\C#\\Runas\\Runas\\Runas.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "D:\\Drive\\טוויקים למחשב\\סקריפטוש\\C#\\Runas\\Runas\\Runas.csproj",
|
||||
"projectName": "Runas",
|
||||
"projectPath": "D:\\Drive\\טוויקים למחשב\\סקריפטוש\\C#\\Runas\\Runas\\Runas.csproj",
|
||||
"packagesPath": "C:\\Users\\סארט\\.nuget\\packages\\",
|
||||
"outputPath": "D:\\Drive\\טוויקים למחשב\\סקריפטוש\\C#\\Runas\\Runas\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\סארט\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net5.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net5.0": {
|
||||
"targetAlias": "net5.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net5.0": {
|
||||
"targetAlias": "net5.0",
|
||||
"dependencies": {
|
||||
"Newtonsoft.Json": {
|
||||
"target": "Package",
|
||||
"version": "[13.0.1, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.400\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
19
Runas/Runas/obj/Runas.csproj.nuget.g.props
Normal file
19
Runas/Runas/obj/Runas.csproj.nuget.g.props
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\סארט\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.11.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\סארט\.nuget\packages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
</PropertyGroup>
|
||||
</Project>
|
6
Runas/Runas/obj/Runas.csproj.nuget.g.targets
Normal file
6
Runas/Runas/obj/Runas.csproj.nuget.g.targets
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
</PropertyGroup>
|
||||
</Project>
|
BIN
Runas/Runas/obj/desktop.ini
Normal file
BIN
Runas/Runas/obj/desktop.ini
Normal file
Binary file not shown.
118
Runas/Runas/obj/project.assets.json
Normal file
118
Runas/Runas/obj/project.assets.json
Normal file
@@ -0,0 +1,118 @@
|
||||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"net5.0": {
|
||||
"Newtonsoft.Json/13.0.1": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
"lib/netstandard2.0/Newtonsoft.Json.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Newtonsoft.Json.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Newtonsoft.Json/13.0.1": {
|
||||
"sha512": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
|
||||
"type": "package",
|
||||
"path": "newtonsoft.json/13.0.1",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"LICENSE.md",
|
||||
"lib/net20/Newtonsoft.Json.dll",
|
||||
"lib/net20/Newtonsoft.Json.xml",
|
||||
"lib/net35/Newtonsoft.Json.dll",
|
||||
"lib/net35/Newtonsoft.Json.xml",
|
||||
"lib/net40/Newtonsoft.Json.dll",
|
||||
"lib/net40/Newtonsoft.Json.xml",
|
||||
"lib/net45/Newtonsoft.Json.dll",
|
||||
"lib/net45/Newtonsoft.Json.xml",
|
||||
"lib/netstandard1.0/Newtonsoft.Json.dll",
|
||||
"lib/netstandard1.0/Newtonsoft.Json.xml",
|
||||
"lib/netstandard1.3/Newtonsoft.Json.dll",
|
||||
"lib/netstandard1.3/Newtonsoft.Json.xml",
|
||||
"lib/netstandard2.0/Newtonsoft.Json.dll",
|
||||
"lib/netstandard2.0/Newtonsoft.Json.xml",
|
||||
"newtonsoft.json.13.0.1.nupkg.sha512",
|
||||
"newtonsoft.json.nuspec",
|
||||
"packageIcon.png"
|
||||
]
|
||||
}
|
||||
},
|
||||
"projectFileDependencyGroups": {
|
||||
"net5.0": [
|
||||
"Newtonsoft.Json >= 13.0.1"
|
||||
]
|
||||
},
|
||||
"packageFolders": {
|
||||
"C:\\Users\\סארט\\.nuget\\packages\\": {},
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "D:\\Drive\\טוויקים למחשב\\סקריפטוש\\C#\\Runas\\Runas\\Runas.csproj",
|
||||
"projectName": "Runas",
|
||||
"projectPath": "D:\\Drive\\טוויקים למחשב\\סקריפטוש\\C#\\Runas\\Runas\\Runas.csproj",
|
||||
"packagesPath": "C:\\Users\\סארט\\.nuget\\packages\\",
|
||||
"outputPath": "D:\\Drive\\טוויקים למחשב\\סקריפטוש\\C#\\Runas\\Runas\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\סארט\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net5.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net5.0": {
|
||||
"targetAlias": "net5.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net5.0": {
|
||||
"targetAlias": "net5.0",
|
||||
"dependencies": {
|
||||
"Newtonsoft.Json": {
|
||||
"target": "Package",
|
||||
"version": "[13.0.1, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.400\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
10
Runas/Runas/obj/project.nuget.cache
Normal file
10
Runas/Runas/obj/project.nuget.cache
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "2dRrkMNmSfdvCvxCOfVDdkKtwQO3AH6Ilcw5X9plBjliNzbW41cu6gcjTJG+hntXsnyvR6630agClPHTiIFthQ==",
|
||||
"success": true,
|
||||
"projectFilePath": "D:\\Drive\\טוויקים למחשב\\סקריפטוש\\C#\\Runas\\Runas\\Runas.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"C:\\Users\\סארט\\.nuget\\packages\\newtonsoft.json\\13.0.1\\newtonsoft.json.13.0.1.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
}
|
BIN
Runas/desktop.ini
Normal file
BIN
Runas/desktop.ini
Normal file
Binary file not shown.
Reference in New Issue
Block a user