All the runas of mine
This commit is contained in:
BIN
.vs/ProjectEvaluation/runas.metadata.v2
Normal file
BIN
.vs/ProjectEvaluation/runas.metadata.v2
Normal file
Binary file not shown.
BIN
.vs/ProjectEvaluation/runas.metadata.v5.2
Normal file
BIN
.vs/ProjectEvaluation/runas.metadata.v5.2
Normal file
Binary file not shown.
BIN
.vs/ProjectEvaluation/runas.metadata.v6.1
Normal file
BIN
.vs/ProjectEvaluation/runas.metadata.v6.1
Normal file
Binary file not shown.
BIN
.vs/ProjectEvaluation/runas.projects.v2
Normal file
BIN
.vs/ProjectEvaluation/runas.projects.v2
Normal file
Binary file not shown.
BIN
.vs/ProjectEvaluation/runas.projects.v5.2
Normal file
BIN
.vs/ProjectEvaluation/runas.projects.v5.2
Normal file
Binary file not shown.
BIN
.vs/ProjectEvaluation/runas.projects.v6.1
Normal file
BIN
.vs/ProjectEvaluation/runas.projects.v6.1
Normal file
Binary file not shown.
BIN
.vs/Runas/DesignTimeBuild/.dtbcache.v2
Normal file
BIN
.vs/Runas/DesignTimeBuild/.dtbcache.v2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
0
.vs/Runas/FileContentIndex/read.lock
Normal file
0
.vs/Runas/FileContentIndex/read.lock
Normal file
BIN
.vs/Runas/v16/.suo
Normal file
BIN
.vs/Runas/v16/.suo
Normal file
Binary file not shown.
BIN
.vs/Runas/v17/.futdcache.v1
Normal file
BIN
.vs/Runas/v17/.futdcache.v1
Normal file
Binary file not shown.
BIN
.vs/Runas/v17/.futdcache.v2
Normal file
BIN
.vs/Runas/v17/.futdcache.v2
Normal file
Binary file not shown.
BIN
.vs/Runas/v17/.suo
Normal file
BIN
.vs/Runas/v17/.suo
Normal file
Binary file not shown.
25
Runas.sln
Normal file
25
Runas.sln
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.5.33530.505
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "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
|
3
Runas/.vs/ProjectSettings.json
Normal file
3
Runas/.vs/ProjectSettings.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"CurrentProjectSetting": null
|
||||
}
|
Binary file not shown.
0
Runas/.vs/Runas/FileContentIndex/read.lock
Normal file
0
Runas/.vs/Runas/FileContentIndex/read.lock
Normal file
BIN
Runas/.vs/Runas/v17/.suo
Normal file
BIN
Runas/.vs/Runas/v17/.suo
Normal file
Binary file not shown.
12
Runas/.vs/VSWorkspaceState.json
Normal file
12
Runas/.vs/VSWorkspaceState.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"ExpandedNodes": [
|
||||
"",
|
||||
"\\bin",
|
||||
"\\bin\\Debug",
|
||||
"\\bin\\Debug\\net5.0",
|
||||
"\\Properties",
|
||||
"\\Resources"
|
||||
],
|
||||
"SelectedNode": "\\Program.cs",
|
||||
"PreviewInSolutionExplorer": false
|
||||
}
|
BIN
Runas/.vs/slnx.sqlite
Normal file
BIN
Runas/.vs/slnx.sqlite
Normal file
Binary file not shown.
90
Runas/Program.cs
Normal file
90
Runas/Program.cs
Normal file
@@ -0,0 +1,90 @@
|
||||
using Newtonsoft.Json;
|
||||
using System.Diagnostics;
|
||||
using System;
|
||||
using System.Text.RegularExpressions;
|
||||
using Serilog;
|
||||
using Serilog.Core;
|
||||
|
||||
namespace Runas
|
||||
{
|
||||
class Program
|
||||
{
|
||||
public static string DataText = RegexAllEnv(Runas.Properties.Resources.progs);
|
||||
public static dynamic jprograms = JsonConvert.DeserializeObject(DataText);
|
||||
public static string RegexAllEnv(string data)
|
||||
{
|
||||
System.Collections.Hashtable env = (System.Collections.Hashtable)Environment.GetEnvironmentVariables();
|
||||
string val;
|
||||
foreach (System.Collections.DictionaryEntry key in env)
|
||||
{
|
||||
val = (string)key.Value;
|
||||
val = val.Replace(@"\", @"\\");
|
||||
if (key.Key is not (object)"Path" and not (object)"path")
|
||||
{
|
||||
data = val.EndsWith(@"\") ? Regex.Replace(data, $"\\u0025{key.Key}\\u0025\\\\", val, RegexOptions.IgnoreCase) : Regex.Replace(data, $"\\u0025{key.Key}\\u0025", val, RegexOptions.IgnoreCase);
|
||||
// val.EndsWith(@"\")? data.Replace($"%{key.Key}%\\", val) : data.Replace($"%{key.Key}%",val);
|
||||
}
|
||||
}
|
||||
return data;
|
||||
}
|
||||
public static bool DoRun(string program)
|
||||
{
|
||||
Process[] process = Process.GetProcessesByName(program);
|
||||
Log.Information($"{program}:{process.Length > 0}");
|
||||
return (process.Length > 0);
|
||||
}
|
||||
public static void RunProcess(string programName)
|
||||
{
|
||||
|
||||
if (!(DoRun(programName)))
|
||||
{
|
||||
if (programName.Equals("AutoHotKey"))
|
||||
{
|
||||
Log.Information($"\u0022{jprograms[programName][1].Value.ToString()}\u0022");
|
||||
ProcessStartInfo proc = new();
|
||||
proc.UseShellExecute= false;
|
||||
proc.Arguments = $"\u0022{jprograms[programName][1].Value.ToString()}\u0022";
|
||||
proc.FileName = jprograms[programName][0].Value;
|
||||
proc.RedirectStandardError = true;
|
||||
Log.Information(Process.Start(proc).StandardError.ReadToEnd());
|
||||
//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))
|
||||
{
|
||||
Log.Information($"{prog.Value}");
|
||||
Process.Start(prog.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (jprograms[programName].Count == 1)
|
||||
{
|
||||
if (System.IO.File.Exists(jprograms[programName][0].Value))
|
||||
{
|
||||
Log.Information($"{jprograms[programName][0].Value}");
|
||||
Process.Start(jprograms[programName][0].Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Log.Logger = new LoggerConfiguration().WriteTo.File(
|
||||
$"{Environment.CurrentDirectory}/Logs/{DateTime.Now:yyyy-MM-dd}.log",
|
||||
Serilog.Events.LogEventLevel.Information,
|
||||
"{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}[{Level: u3}] {Message:lj}{NewLine}",
|
||||
rollingInterval: RollingInterval.Hour)
|
||||
.CreateLogger();
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
19
Runas/Properties/PublishProfiles/FolderProfile.pubxml
Normal file
19
Runas/Properties/PublishProfiles/FolderProfile.pubxml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
-->
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Any CPU</Platform>
|
||||
<PublishDir>C:\ProgramData\Runs</PublishDir>
|
||||
<PublishProtocol>FileSystem</PublishProtocol>
|
||||
<_TargetId>Folder</_TargetId>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<SelfContained>true</SelfContained>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<PublishReadyToRun>true</PublishReadyToRun>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
</PropertyGroup>
|
||||
</Project>
|
10
Runas/Properties/PublishProfiles/FolderProfile.pubxml.user
Normal file
10
Runas/Properties/PublishProfiles/FolderProfile.pubxml.user
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
-->
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<History>True|2023-05-10T03:20:47.8093947Z;True|2023-05-10T06:17:42.4993268+03:00;True|2023-05-10T06:12:44.8925775+03:00;True|2023-05-10T06:09:03.5233096+03:00;True|2023-05-10T06:04:13.8322513+03:00;True|2023-04-15T16:50:27.2494025+03:00;True|2023-04-13T12:15:40.8121486+03:00;True|2023-04-13T12:14:39.0698838+03:00;True|2023-04-13T11:56:25.1667689+03:00;True|2023-01-28T18:03:25.0217787+02:00;True|2023-01-16T23:36:26.1406639+02:00;True|2023-01-16T23:32:30.2672510+02:00;True|2023-01-16T23:23:32.8409530+02:00;True|2023-01-16T23:17:50.9710950+02:00;</History>
|
||||
<LastFailureDetails />
|
||||
</PropertyGroup>
|
||||
</Project>
|
18
Runas/Properties/PublishProfiles/FolderProfile1.pubxml
Normal file
18
Runas/Properties/PublishProfiles/FolderProfile1.pubxml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
-->
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Any CPU</Platform>
|
||||
<PublishDir>bin\Release\net6.0\publish\win-x64\</PublishDir>
|
||||
<PublishProtocol>FileSystem</PublishProtocol>
|
||||
<_TargetId>Folder</_TargetId>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<SelfContained>true</SelfContained>
|
||||
<PublishReadyToRun>true</PublishReadyToRun>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
</PropertyGroup>
|
||||
</Project>
|
10
Runas/Properties/PublishProfiles/FolderProfile1.pubxml.user
Normal file
10
Runas/Properties/PublishProfiles/FolderProfile1.pubxml.user
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
-->
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<History>True|2023-04-15T13:42:00.6482543Z;True|2023-04-13T12:51:43.2215879+03:00;False|2023-04-13T12:50:39.7094484+03:00;False|2023-04-13T12:49:49.2653416+03:00;False|2023-04-13T12:49:18.8889971+03:00;</History>
|
||||
<LastFailureDetails />
|
||||
</PropertyGroup>
|
||||
</Project>
|
85
Runas/Properties/Resources.Designer.cs
generated
Normal file
85
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/Properties/Resources.resx
Normal file
124
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>
|
26
Runas/Resources/progs.json
Normal file
26
Runas/Resources/progs.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"AutoHotKey": [
|
||||
"C:\\Program Files\\AutoHotkey\\AutoHotkey.exe",
|
||||
"C:\\Users\\Saret\\Programming\\AHK\\myscript\\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"
|
||||
],
|
||||
"PowerToys": [
|
||||
"C:\\Program Files\\PowerToys\\PowerToys.exe"
|
||||
],
|
||||
"FL": [
|
||||
"%localappdata%\\FlowLauncher\\Flow.Launcher.exe"
|
||||
]
|
||||
|
||||
}
|
51
Runas/Runas.csproj
Normal file
51
Runas/Runas.csproj
Normal file
@@ -0,0 +1,51 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ApplicationIcon />
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<StartupObject>Runas.Program</StartupObject>
|
||||
<SignAssembly>False</SignAssembly>
|
||||
<EnforceCodeStyleInBuild>True</EnforceCodeStyleInBuild>
|
||||
<AnalysisLevel>6.0</AnalysisLevel>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<Optimize>True</Optimize>
|
||||
<DebugType>embedded</DebugType>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<DebugType>embedded</DebugType>
|
||||
<Optimize>True</Optimize>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
|
||||
<PackageReference Include="Serilog" Version="2.12.0" />
|
||||
<PackageReference Include="Serilog.Enrichers.Environment" Version="2.2.0" />
|
||||
<PackageReference Include="Serilog.Enrichers.Thread" Version="3.1.0" />
|
||||
<PackageReference Include="Serilog.Extensions.Logging" Version="3.1.0" />
|
||||
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Update="Program.cs">
|
||||
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
||||
</Compile>
|
||||
<Compile Update="Properties\Resources.Designer.cs">
|
||||
<CopyToOutputDirectory>Never</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>
|
11
Runas/Runas.csproj.user
Normal file
11
Runas/Runas.csproj.user
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<_LastSelectedProfileId>C:\Users\Saret\Programming\C#\Runas\Runas\Properties\PublishProfiles\FolderProfile.pubxml</_LastSelectedProfileId>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Update="Properties\Resources.resx">
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
</Project>
|
79
Runas/app.manifest
Normal file
79
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/bin/Debug/Runas.1.0.0.nupkg
Normal file
BIN
Runas/bin/Debug/Runas.1.0.0.nupkg
Normal file
Binary file not shown.
BIN
Runas/bin/Debug/net5.0/Newtonsoft.Json.dll
Normal file
BIN
Runas/bin/Debug/net5.0/Newtonsoft.Json.dll
Normal file
Binary file not shown.
68
Runas/bin/Debug/net5.0/Program.cs
Normal file
68
Runas/bin/Debug/net5.0/Program.cs
Normal file
@@ -0,0 +1,68 @@
|
||||
using Newtonsoft.Json;
|
||||
using System.Diagnostics;
|
||||
using System;
|
||||
using System.Text.RegularExpressions;
|
||||
namespace Runas
|
||||
{
|
||||
class Program
|
||||
{
|
||||
public static string DataText = RegexAllEnv(Runas.Properties.Resources.progs);
|
||||
public static dynamic jprograms = JsonConvert.DeserializeObject(DataText);
|
||||
public static string RegexAllEnv(string data)
|
||||
{
|
||||
System.Collections.Hashtable env = (System.Collections.Hashtable)Environment.GetEnvironmentVariables();
|
||||
string val;
|
||||
foreach (System.Collections.DictionaryEntry key in env)
|
||||
{
|
||||
val = (string)key.Value;
|
||||
val = val.Replace(@"\", @"\\");
|
||||
if (key.Key != "Path" && key.Key != "path")
|
||||
{
|
||||
data = val.EndsWith(@"\") ? Regex.Replace(data, $"\\u0025{key.Key}\\u0025\\\\", val, RegexOptions.IgnoreCase) : Regex.Replace(data, $"\\u0025{key.Key}\\u0025", val, RegexOptions.IgnoreCase);
|
||||
// val.EndsWith(@"\")? data.Replace($"%{key.Key}%\\", val) : data.Replace($"%{key.Key}%",val);
|
||||
}
|
||||
}
|
||||
return data;
|
||||
}
|
||||
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/bin/Debug/net5.0/Properties/Resources.Designer.cs
generated
Normal file
85
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
41
Runas/bin/Debug/net5.0/Runas.deps.json
Normal file
41
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/bin/Debug/net5.0/Runas.dll
Normal file
BIN
Runas/bin/Debug/net5.0/Runas.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Debug/net5.0/Runas.exe
Normal file
BIN
Runas/bin/Debug/net5.0/Runas.exe
Normal file
Binary file not shown.
BIN
Runas/bin/Debug/net5.0/Runas.pdb
Normal file
BIN
Runas/bin/Debug/net5.0/Runas.pdb
Normal file
Binary file not shown.
8
Runas/bin/Debug/net5.0/Runas.runtimeconfig.dev.json
Normal file
8
Runas/bin/Debug/net5.0/Runas.runtimeconfig.dev.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"additionalProbingPaths": [
|
||||
"C:\\Users\\Saret\\.dotnet\\store\\|arch|\\|tfm|",
|
||||
"C:\\Users\\Saret\\.nuget\\packages"
|
||||
]
|
||||
}
|
||||
}
|
9
Runas/bin/Debug/net5.0/Runas.runtimeconfig.json
Normal file
9
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"
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
BIN
Runas/bin/Debug/net6.0/Microsoft.Extensions.Logging.dll
Normal file
BIN
Runas/bin/Debug/net6.0/Microsoft.Extensions.Logging.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Debug/net6.0/Microsoft.Extensions.Options.dll
Normal file
BIN
Runas/bin/Debug/net6.0/Microsoft.Extensions.Options.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Debug/net6.0/Microsoft.Extensions.Primitives.dll
Normal file
BIN
Runas/bin/Debug/net6.0/Microsoft.Extensions.Primitives.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Debug/net6.0/Newtonsoft.Json.dll
Normal file
BIN
Runas/bin/Debug/net6.0/Newtonsoft.Json.dll
Normal file
Binary file not shown.
229
Runas/bin/Debug/net6.0/Runas.deps.json
Normal file
229
Runas/bin/Debug/net6.0/Runas.deps.json
Normal file
@@ -0,0 +1,229 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v6.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v6.0": {
|
||||
"Runas/1.0.0": {
|
||||
"dependencies": {
|
||||
"Newtonsoft.Json": "13.0.2",
|
||||
"Serilog": "2.12.0",
|
||||
"Serilog.Enrichers.Environment": "2.2.0",
|
||||
"Serilog.Enrichers.Thread": "3.1.0",
|
||||
"Serilog.Extensions.Logging": "3.1.0",
|
||||
"Serilog.Sinks.File": "5.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"Runas.dll": {}
|
||||
}
|
||||
},
|
||||
"Microsoft.Extensions.DependencyInjection.Abstractions/2.0.0": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.0.0.17205"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.Extensions.Logging/2.0.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.Extensions.DependencyInjection.Abstractions": "2.0.0",
|
||||
"Microsoft.Extensions.Logging.Abstractions": "2.0.0",
|
||||
"Microsoft.Extensions.Options": "2.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Microsoft.Extensions.Logging.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.0.0.17205"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.Extensions.Logging.Abstractions/2.0.0": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.0.0.17205"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.Extensions.Options/2.0.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.Extensions.DependencyInjection.Abstractions": "2.0.0",
|
||||
"Microsoft.Extensions.Primitives": "2.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Microsoft.Extensions.Options.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.0.0.17205"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.Extensions.Primitives/2.0.0": {
|
||||
"dependencies": {
|
||||
"System.Runtime.CompilerServices.Unsafe": "4.4.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Microsoft.Extensions.Primitives.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.0.0.17205"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Newtonsoft.Json/13.0.2": {
|
||||
"runtime": {
|
||||
"lib/net6.0/Newtonsoft.Json.dll": {
|
||||
"assemblyVersion": "13.0.0.0",
|
||||
"fileVersion": "13.0.2.27524"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog/2.12.0": {
|
||||
"runtime": {
|
||||
"lib/net6.0/Serilog.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.12.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog.Enrichers.Environment/2.2.0": {
|
||||
"dependencies": {
|
||||
"Serilog": "2.12.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Serilog.Enrichers.Environment.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.2.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog.Enrichers.Thread/3.1.0": {
|
||||
"dependencies": {
|
||||
"Serilog": "2.12.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Serilog.Enrichers.Thread.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "3.1.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog.Extensions.Logging/3.1.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.Extensions.Logging": "2.0.0",
|
||||
"Serilog": "2.12.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Serilog.Extensions.Logging.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "3.1.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog.Sinks.File/5.0.0": {
|
||||
"dependencies": {
|
||||
"Serilog": "2.12.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net5.0/Serilog.Sinks.File.dll": {
|
||||
"assemblyVersion": "5.0.0.0",
|
||||
"fileVersion": "5.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Runtime.CompilerServices.Unsafe/4.4.0": {}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Runas/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"Microsoft.Extensions.DependencyInjection.Abstractions/2.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-eUdJ0Q/GfVyUJc0Jal5L1QZLceL78pvEM9wEKcHeI24KorqMDoVX+gWsMGLulQMfOwsUaPtkpQM2pFERTzSfSg==",
|
||||
"path": "microsoft.extensions.dependencyinjection.abstractions/2.0.0",
|
||||
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.2.0.0.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.Extensions.Logging/2.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-VP10syWV/vxYYMKgZ2eDESmUsz3gPxvBn5J6tkVN8lI4M+dF43RN8fWsEPbcAneDmZrHl3Pv23z05nmyGkJlpg==",
|
||||
"path": "microsoft.extensions.logging/2.0.0",
|
||||
"hashPath": "microsoft.extensions.logging.2.0.0.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.Extensions.Logging.Abstractions/2.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-6ZCllUYGFukkymSTx3Yr0G/ajRxoNJp7/FqSxSB4fGISST54ifBhgu4Nc0ItGi3i6DqwuNd8SUyObmiC++AO2Q==",
|
||||
"path": "microsoft.extensions.logging.abstractions/2.0.0",
|
||||
"hashPath": "microsoft.extensions.logging.abstractions.2.0.0.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.Extensions.Options/2.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-sAKBgjl2gWsECBLLR9K54T7/uZaP2n9GhMYHay/oOLfvpvX0+iNAlQ2NJgVE352C9Fs5CDV3VbNTK8T2aNKQFA==",
|
||||
"path": "microsoft.extensions.options/2.0.0",
|
||||
"hashPath": "microsoft.extensions.options.2.0.0.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.Extensions.Primitives/2.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-ukg53qNlqTrK38WA30b5qhw0GD7y3jdI9PHHASjdKyTcBHTevFM2o23tyk3pWCgAV27Bbkm+CPQ2zUe1ZOuYSA==",
|
||||
"path": "microsoft.extensions.primitives/2.0.0",
|
||||
"hashPath": "microsoft.extensions.primitives.2.0.0.nupkg.sha512"
|
||||
},
|
||||
"Newtonsoft.Json/13.0.2": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-R2pZ3B0UjeyHShm9vG+Tu0EBb2lC8b0dFzV9gVn50ofHXh9Smjk6kTn7A/FdAsC8B5cKib1OnGYOXxRBz5XQDg==",
|
||||
"path": "newtonsoft.json/13.0.2",
|
||||
"hashPath": "newtonsoft.json.13.0.2.nupkg.sha512"
|
||||
},
|
||||
"Serilog/2.12.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-xaiJLIdu6rYMKfQMYUZgTy8YK7SMZjB4Yk50C/u//Z4OsvxkUfSPJy4nknfvwAC34yr13q7kcyh4grbwhSxyZg==",
|
||||
"path": "serilog/2.12.0",
|
||||
"hashPath": "serilog.2.12.0.nupkg.sha512"
|
||||
},
|
||||
"Serilog.Enrichers.Environment/2.2.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-DMrj3A4l65kc4JouQyZjjFv7N58Y7lGsB81kSzorTwUGeI2wrTy7CVwSOfG90/Pcu/HV5bwGrUmxDZ38pON+5Q==",
|
||||
"path": "serilog.enrichers.environment/2.2.0",
|
||||
"hashPath": "serilog.enrichers.environment.2.2.0.nupkg.sha512"
|
||||
},
|
||||
"Serilog.Enrichers.Thread/3.1.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-85lWsGRJpRxvKT6j/H67no55SUBsBIvp556TKuBTGhjtoPeq+L7j/sDWbgAtvT0p7u7/phJyX6j35PQ4Vtqw0g==",
|
||||
"path": "serilog.enrichers.thread/3.1.0",
|
||||
"hashPath": "serilog.enrichers.thread.3.1.0.nupkg.sha512"
|
||||
},
|
||||
"Serilog.Extensions.Logging/3.1.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-IWfem7wfrFbB3iw1OikqPFNPEzfayvDuN4WP7Ue1AVFskalMByeWk3QbtUXQR34SBkv1EbZ3AySHda/ErDgpcg==",
|
||||
"path": "serilog.extensions.logging/3.1.0",
|
||||
"hashPath": "serilog.extensions.logging.3.1.0.nupkg.sha512"
|
||||
},
|
||||
"Serilog.Sinks.File/5.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-uwV5hdhWPwUH1szhO8PJpFiahqXmzPzJT/sOijH/kFgUx+cyoDTMM8MHD0adw9+Iem6itoibbUXHYslzXsLEAg==",
|
||||
"path": "serilog.sinks.file/5.0.0",
|
||||
"hashPath": "serilog.sinks.file.5.0.0.nupkg.sha512"
|
||||
},
|
||||
"System.Runtime.CompilerServices.Unsafe/4.4.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-9dLLuBxr5GNmOfl2jSMcsHuteEg32BEfUotmmUkmZjpR3RpVHE8YQwt0ow3p6prwA1ME8WqDVZqrr8z6H8G+Kw==",
|
||||
"path": "system.runtime.compilerservices.unsafe/4.4.0",
|
||||
"hashPath": "system.runtime.compilerservices.unsafe.4.4.0.nupkg.sha512"
|
||||
}
|
||||
}
|
||||
}
|
BIN
Runas/bin/Debug/net6.0/Runas.dll
Normal file
BIN
Runas/bin/Debug/net6.0/Runas.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Debug/net6.0/Runas.exe
Normal file
BIN
Runas/bin/Debug/net6.0/Runas.exe
Normal file
Binary file not shown.
9
Runas/bin/Debug/net6.0/Runas.runtimeconfig.json
Normal file
9
Runas/bin/Debug/net6.0/Runas.runtimeconfig.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net6.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "6.0.0"
|
||||
}
|
||||
}
|
||||
}
|
BIN
Runas/bin/Debug/net6.0/Serilog.Enrichers.Environment.dll
Normal file
BIN
Runas/bin/Debug/net6.0/Serilog.Enrichers.Environment.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Debug/net6.0/Serilog.Enrichers.Thread.dll
Normal file
BIN
Runas/bin/Debug/net6.0/Serilog.Enrichers.Thread.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Debug/net6.0/Serilog.Extensions.Logging.dll
Normal file
BIN
Runas/bin/Debug/net6.0/Serilog.Extensions.Logging.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Debug/net6.0/Serilog.Sinks.File.dll
Normal file
BIN
Runas/bin/Debug/net6.0/Serilog.Sinks.File.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Debug/net6.0/Serilog.dll
Normal file
BIN
Runas/bin/Debug/net6.0/Serilog.dll
Normal file
Binary file not shown.
7
Runas/bin/Release/net6.0/Logs/2023-05-102023051006.log
Normal file
7
Runas/bin/Release/net6.0/Logs/2023-05-102023051006.log
Normal file
@@ -0,0 +1,7 @@
|
||||
2023-05-10 06:20:36.255 +03:00[Information] FL:False
|
||||
2023-05-10 06:20:36.255 +03:00[Information] AsusNbKeys:False
|
||||
2023-05-10 06:20:36.261 +03:00[Information] Lightshot:True
|
||||
2023-05-10 06:20:36.277 +03:00[Information] PowerToys:True
|
||||
2023-05-10 06:20:36.293 +03:00[Information] AutoHotKey:True
|
||||
2023-05-10 06:20:36.293 +03:00[Information] Ditto:True
|
||||
2023-05-10 06:20:36.294 +03:00[Information] HControl:False
|
Binary file not shown.
Binary file not shown.
BIN
Runas/bin/Release/net6.0/Microsoft.Extensions.Logging.dll
Normal file
BIN
Runas/bin/Release/net6.0/Microsoft.Extensions.Logging.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/Microsoft.Extensions.Options.dll
Normal file
BIN
Runas/bin/Release/net6.0/Microsoft.Extensions.Options.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/Microsoft.Extensions.Primitives.dll
Normal file
BIN
Runas/bin/Release/net6.0/Microsoft.Extensions.Primitives.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/Newtonsoft.Json.dll
Normal file
BIN
Runas/bin/Release/net6.0/Newtonsoft.Json.dll
Normal file
Binary file not shown.
229
Runas/bin/Release/net6.0/Runas.deps.json
Normal file
229
Runas/bin/Release/net6.0/Runas.deps.json
Normal file
@@ -0,0 +1,229 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v6.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v6.0": {
|
||||
"Runas/1.0.0": {
|
||||
"dependencies": {
|
||||
"Newtonsoft.Json": "13.0.2",
|
||||
"Serilog": "2.12.0",
|
||||
"Serilog.Enrichers.Environment": "2.2.0",
|
||||
"Serilog.Enrichers.Thread": "3.1.0",
|
||||
"Serilog.Extensions.Logging": "3.1.0",
|
||||
"Serilog.Sinks.File": "5.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"Runas.dll": {}
|
||||
}
|
||||
},
|
||||
"Microsoft.Extensions.DependencyInjection.Abstractions/2.0.0": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.0.0.17205"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.Extensions.Logging/2.0.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.Extensions.DependencyInjection.Abstractions": "2.0.0",
|
||||
"Microsoft.Extensions.Logging.Abstractions": "2.0.0",
|
||||
"Microsoft.Extensions.Options": "2.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Microsoft.Extensions.Logging.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.0.0.17205"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.Extensions.Logging.Abstractions/2.0.0": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.0.0.17205"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.Extensions.Options/2.0.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.Extensions.DependencyInjection.Abstractions": "2.0.0",
|
||||
"Microsoft.Extensions.Primitives": "2.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Microsoft.Extensions.Options.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.0.0.17205"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.Extensions.Primitives/2.0.0": {
|
||||
"dependencies": {
|
||||
"System.Runtime.CompilerServices.Unsafe": "4.4.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Microsoft.Extensions.Primitives.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.0.0.17205"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Newtonsoft.Json/13.0.2": {
|
||||
"runtime": {
|
||||
"lib/net6.0/Newtonsoft.Json.dll": {
|
||||
"assemblyVersion": "13.0.0.0",
|
||||
"fileVersion": "13.0.2.27524"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog/2.12.0": {
|
||||
"runtime": {
|
||||
"lib/net6.0/Serilog.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.12.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog.Enrichers.Environment/2.2.0": {
|
||||
"dependencies": {
|
||||
"Serilog": "2.12.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Serilog.Enrichers.Environment.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "2.2.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog.Enrichers.Thread/3.1.0": {
|
||||
"dependencies": {
|
||||
"Serilog": "2.12.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Serilog.Enrichers.Thread.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "3.1.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog.Extensions.Logging/3.1.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.Extensions.Logging": "2.0.0",
|
||||
"Serilog": "2.12.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Serilog.Extensions.Logging.dll": {
|
||||
"assemblyVersion": "2.0.0.0",
|
||||
"fileVersion": "3.1.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Serilog.Sinks.File/5.0.0": {
|
||||
"dependencies": {
|
||||
"Serilog": "2.12.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net5.0/Serilog.Sinks.File.dll": {
|
||||
"assemblyVersion": "5.0.0.0",
|
||||
"fileVersion": "5.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Runtime.CompilerServices.Unsafe/4.4.0": {}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Runas/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"Microsoft.Extensions.DependencyInjection.Abstractions/2.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-eUdJ0Q/GfVyUJc0Jal5L1QZLceL78pvEM9wEKcHeI24KorqMDoVX+gWsMGLulQMfOwsUaPtkpQM2pFERTzSfSg==",
|
||||
"path": "microsoft.extensions.dependencyinjection.abstractions/2.0.0",
|
||||
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.2.0.0.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.Extensions.Logging/2.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-VP10syWV/vxYYMKgZ2eDESmUsz3gPxvBn5J6tkVN8lI4M+dF43RN8fWsEPbcAneDmZrHl3Pv23z05nmyGkJlpg==",
|
||||
"path": "microsoft.extensions.logging/2.0.0",
|
||||
"hashPath": "microsoft.extensions.logging.2.0.0.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.Extensions.Logging.Abstractions/2.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-6ZCllUYGFukkymSTx3Yr0G/ajRxoNJp7/FqSxSB4fGISST54ifBhgu4Nc0ItGi3i6DqwuNd8SUyObmiC++AO2Q==",
|
||||
"path": "microsoft.extensions.logging.abstractions/2.0.0",
|
||||
"hashPath": "microsoft.extensions.logging.abstractions.2.0.0.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.Extensions.Options/2.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-sAKBgjl2gWsECBLLR9K54T7/uZaP2n9GhMYHay/oOLfvpvX0+iNAlQ2NJgVE352C9Fs5CDV3VbNTK8T2aNKQFA==",
|
||||
"path": "microsoft.extensions.options/2.0.0",
|
||||
"hashPath": "microsoft.extensions.options.2.0.0.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.Extensions.Primitives/2.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-ukg53qNlqTrK38WA30b5qhw0GD7y3jdI9PHHASjdKyTcBHTevFM2o23tyk3pWCgAV27Bbkm+CPQ2zUe1ZOuYSA==",
|
||||
"path": "microsoft.extensions.primitives/2.0.0",
|
||||
"hashPath": "microsoft.extensions.primitives.2.0.0.nupkg.sha512"
|
||||
},
|
||||
"Newtonsoft.Json/13.0.2": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-R2pZ3B0UjeyHShm9vG+Tu0EBb2lC8b0dFzV9gVn50ofHXh9Smjk6kTn7A/FdAsC8B5cKib1OnGYOXxRBz5XQDg==",
|
||||
"path": "newtonsoft.json/13.0.2",
|
||||
"hashPath": "newtonsoft.json.13.0.2.nupkg.sha512"
|
||||
},
|
||||
"Serilog/2.12.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-xaiJLIdu6rYMKfQMYUZgTy8YK7SMZjB4Yk50C/u//Z4OsvxkUfSPJy4nknfvwAC34yr13q7kcyh4grbwhSxyZg==",
|
||||
"path": "serilog/2.12.0",
|
||||
"hashPath": "serilog.2.12.0.nupkg.sha512"
|
||||
},
|
||||
"Serilog.Enrichers.Environment/2.2.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-DMrj3A4l65kc4JouQyZjjFv7N58Y7lGsB81kSzorTwUGeI2wrTy7CVwSOfG90/Pcu/HV5bwGrUmxDZ38pON+5Q==",
|
||||
"path": "serilog.enrichers.environment/2.2.0",
|
||||
"hashPath": "serilog.enrichers.environment.2.2.0.nupkg.sha512"
|
||||
},
|
||||
"Serilog.Enrichers.Thread/3.1.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-85lWsGRJpRxvKT6j/H67no55SUBsBIvp556TKuBTGhjtoPeq+L7j/sDWbgAtvT0p7u7/phJyX6j35PQ4Vtqw0g==",
|
||||
"path": "serilog.enrichers.thread/3.1.0",
|
||||
"hashPath": "serilog.enrichers.thread.3.1.0.nupkg.sha512"
|
||||
},
|
||||
"Serilog.Extensions.Logging/3.1.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-IWfem7wfrFbB3iw1OikqPFNPEzfayvDuN4WP7Ue1AVFskalMByeWk3QbtUXQR34SBkv1EbZ3AySHda/ErDgpcg==",
|
||||
"path": "serilog.extensions.logging/3.1.0",
|
||||
"hashPath": "serilog.extensions.logging.3.1.0.nupkg.sha512"
|
||||
},
|
||||
"Serilog.Sinks.File/5.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-uwV5hdhWPwUH1szhO8PJpFiahqXmzPzJT/sOijH/kFgUx+cyoDTMM8MHD0adw9+Iem6itoibbUXHYslzXsLEAg==",
|
||||
"path": "serilog.sinks.file/5.0.0",
|
||||
"hashPath": "serilog.sinks.file.5.0.0.nupkg.sha512"
|
||||
},
|
||||
"System.Runtime.CompilerServices.Unsafe/4.4.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-9dLLuBxr5GNmOfl2jSMcsHuteEg32BEfUotmmUkmZjpR3RpVHE8YQwt0ow3p6prwA1ME8WqDVZqrr8z6H8G+Kw==",
|
||||
"path": "system.runtime.compilerservices.unsafe/4.4.0",
|
||||
"hashPath": "system.runtime.compilerservices.unsafe.4.4.0.nupkg.sha512"
|
||||
}
|
||||
}
|
||||
}
|
BIN
Runas/bin/Release/net6.0/Runas.dll
Normal file
BIN
Runas/bin/Release/net6.0/Runas.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/Runas.exe
Normal file
BIN
Runas/bin/Release/net6.0/Runas.exe
Normal file
Binary file not shown.
12
Runas/bin/Release/net6.0/Runas.runtimeconfig.json
Normal file
12
Runas/bin/Release/net6.0/Runas.runtimeconfig.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net6.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "6.0.0"
|
||||
},
|
||||
"configProperties": {
|
||||
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false
|
||||
}
|
||||
}
|
||||
}
|
BIN
Runas/bin/Release/net6.0/Serilog.Enrichers.Environment.dll
Normal file
BIN
Runas/bin/Release/net6.0/Serilog.Enrichers.Environment.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/Serilog.Enrichers.Thread.dll
Normal file
BIN
Runas/bin/Release/net6.0/Serilog.Enrichers.Thread.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/Serilog.Extensions.Logging.dll
Normal file
BIN
Runas/bin/Release/net6.0/Serilog.Extensions.Logging.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/Serilog.Sinks.File.dll
Normal file
BIN
Runas/bin/Release/net6.0/Serilog.Sinks.File.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/Serilog.dll
Normal file
BIN
Runas/bin/Release/net6.0/Serilog.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/publish/win-x64/Runas.exe
Normal file
BIN
Runas/bin/Release/net6.0/publish/win-x64/Runas.exe
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/win-x64/Microsoft.CSharp.dll
Normal file
BIN
Runas/bin/Release/net6.0/win-x64/Microsoft.CSharp.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Runas/bin/Release/net6.0/win-x64/Microsoft.VisualBasic.Core.dll
Normal file
BIN
Runas/bin/Release/net6.0/win-x64/Microsoft.VisualBasic.Core.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/win-x64/Microsoft.VisualBasic.dll
Normal file
BIN
Runas/bin/Release/net6.0/win-x64/Microsoft.VisualBasic.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/win-x64/Microsoft.Win32.Primitives.dll
Normal file
BIN
Runas/bin/Release/net6.0/win-x64/Microsoft.Win32.Primitives.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/win-x64/Microsoft.Win32.Registry.dll
Normal file
BIN
Runas/bin/Release/net6.0/win-x64/Microsoft.Win32.Registry.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/win-x64/Newtonsoft.Json.dll
Normal file
BIN
Runas/bin/Release/net6.0/win-x64/Newtonsoft.Json.dll
Normal file
Binary file not shown.
1200
Runas/bin/Release/net6.0/win-x64/Runas.deps.json
Normal file
1200
Runas/bin/Release/net6.0/win-x64/Runas.deps.json
Normal file
File diff suppressed because it is too large
Load Diff
BIN
Runas/bin/Release/net6.0/win-x64/Runas.dll
Normal file
BIN
Runas/bin/Release/net6.0/win-x64/Runas.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/win-x64/Runas.exe
Normal file
BIN
Runas/bin/Release/net6.0/win-x64/Runas.exe
Normal file
Binary file not shown.
24
Runas/bin/Release/net6.0/win-x64/Runas.runtimeconfig.json
Normal file
24
Runas/bin/Release/net6.0/win-x64/Runas.runtimeconfig.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net6.0",
|
||||
"includedFrameworks": [
|
||||
{
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "6.0.16"
|
||||
}
|
||||
],
|
||||
"configProperties": {
|
||||
"Microsoft.Extensions.DependencyInjection.VerifyOpenGenericServiceTrimmability": true,
|
||||
"System.ComponentModel.TypeConverter.EnableUnsafeBinaryFormatterInDesigntimeLicenseContextSerialization": false,
|
||||
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
|
||||
"System.Resources.ResourceManager.AllowCustomResourceTypes": false,
|
||||
"System.Runtime.InteropServices.BuiltInComInterop.IsSupported": false,
|
||||
"System.Runtime.InteropServices.EnableConsumingManagedCodeFromNativeHosting": false,
|
||||
"System.Runtime.InteropServices.EnableCppCLIHostActivation": false,
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
|
||||
"System.StartupHookProvider.IsSupported": false,
|
||||
"System.Threading.Thread.EnableAutoreleasePool": false,
|
||||
"System.Text.Encoding.EnableUnsafeUTF7Encoding": false
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
BIN
Runas/bin/Release/net6.0/win-x64/Serilog.Enrichers.Thread.dll
Normal file
BIN
Runas/bin/Release/net6.0/win-x64/Serilog.Enrichers.Thread.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/win-x64/Serilog.Extensions.Logging.dll
Normal file
BIN
Runas/bin/Release/net6.0/win-x64/Serilog.Extensions.Logging.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/win-x64/Serilog.Sinks.File.dll
Normal file
BIN
Runas/bin/Release/net6.0/win-x64/Serilog.Sinks.File.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/win-x64/Serilog.dll
Normal file
BIN
Runas/bin/Release/net6.0/win-x64/Serilog.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/win-x64/System.AppContext.dll
Normal file
BIN
Runas/bin/Release/net6.0/win-x64/System.AppContext.dll
Normal file
Binary file not shown.
BIN
Runas/bin/Release/net6.0/win-x64/System.Buffers.dll
Normal file
BIN
Runas/bin/Release/net6.0/win-x64/System.Buffers.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user