88 Commits

Author SHA1 Message Date
AndnixSH 8f72cf9dee Merge branch 'pr/48' 2026-05-03 13:17:37 +02:00
AndnixSH 79e8cd2ef9 Refactor + Add Apktool version checks 2026-05-03 11:56:56 +02:00
AndnixSH 5be8c9623a Merge branch 'pr/49' 2026-04-28 17:56:14 +02:00
backryun 08fb90285c ci: package artifact with exe/resources/changelog only 2026-03-05 20:56:43 +09:00
backryun e0e99c862f fix: correct signing/build option handling and drag-drop stability
Use Sign_UseOutputDir in signing flows instead of Zipalign_UseOutputDir
Fix apktool arg composition so -api and -j are both preserved
Fix JarProcess JVM arg order and default java executable handling
Replace non-functional splitTypes string replacement with Regex.Replace in ApkFixer
Remove duplicate private-key click handler registration
Fix APK info drag-drop target textbox and guard drag-drop helpers against empty drops
Keep DEBUG/RELEASE catch split to avoid CS0168 in Release
2026-03-05 20:37:17 +09:00
backryun cfb094a275 Update ADB, apktool, APKEditor 2026-03-05 20:11:35 +09:00
Aleksandr ca58db1975 Update Russian localization 2026-02-16 10:39:19 +03:00
AndnixSH 5e6eee2f5e Update README.md 2026-01-20 21:41:23 +01:00
AndnixSH eb39b5bf69 Update README.md 2026-01-20 21:23:08 +01:00
AndnixSH 8230d8239d Auto remove remaining split elements 2026-01-20 20:59:43 +01:00
AndnixSH 824aadbce1 Update changelog.txt 2025-11-26 17:39:45 +01:00
AndnixSH e12fc939b9 Change version to 3.3.2.1 2025-11-26 17:37:03 +01:00
AndnixSH 0b043a4a3b Merged some changes from #45
- Refactor language selection
- Export image when clicking on icon box in APK Info
- Build overflow
2025-11-25 21:48:22 +01:00
AndnixSH f974e198d5 Refactor 2025-11-17 19:52:36 +01:00
AndnixSH 8c43f59bd1 Fix *.zip and *.apkm not selectable for merging #43 2025-11-15 11:37:57 +01:00
backryun bd1dcf6f64 Refactoring Code(Last) 2025-11-05 01:01:37 +09:00
backryun e0018909dc Refactoring Code(Part 2) 2025-11-05 00:38:36 +09:00
backryun 580c49b59c Refactoring Code(Part 1) 2025-10-20 06:58:03 +09:00
backryun 328736bbab Add Android 36 string 2025-10-20 04:22:55 +09:00
backryun a294aa5a40 Update aapt, zipalign 2025-10-20 04:15:36 +09:00
backryun 17289ff3f3 Update APKEditor & apktool 2025-10-20 04:11:53 +09:00
backryun 4471de12d5 Update Dependencys 2025-10-20 04:08:35 +09:00
backryun 469ccb6c9c Fix build warning 2025-10-20 04:04:41 +09:00
AndnixSH bfd2f41c88 Update changelog.txt 2025-08-02 17:18:03 +02:00
AndnixSH 6cda22c47e Update AssemblyInfo.cs 2025-08-02 17:18:01 +02:00
AndnixSH 73dbd422a8 UI changes 2025-08-02 14:18:24 +02:00
AndnixSH 6411889613 Use aapt2 is false by default 2025-08-02 13:40:07 +02:00
AndnixSH 210390718c Update FormMain.resx 2025-08-02 12:18:17 +02:00
AndnixSH 5704df951e Update config.yml 2025-08-02 12:12:19 +02:00
AndnixSH 9e73936f6d Update config.yml 2025-08-02 12:09:58 +02:00
AndnixSH ddd24ecbd6 Update issue template 2025-08-02 12:06:51 +02:00
AndnixSH e50b8a8658 Fixed issue #40 2025-08-02 11:59:15 +02:00
AndnixSH 5f242bca2f Fixed apktool version output 2025-08-02 10:30:43 +02:00
AndnixSH e2784ce65e Updated tools 2025-08-02 10:29:56 +02:00
AndnixSH 93fc85fc33 Include Language.tr.resx in project 2025-07-30 19:12:09 +02:00
AndnixSH 4c389d58fb Merge branch 'pr/37' 2025-07-30 19:10:04 +02:00
AndnixSH 63e08f4f77 Remove invalid Turkish resx files 2025-07-30 19:09:43 +02:00
AndnixSH 556d01ed74 Remove flickering fix due to tabs flickering #38 2025-07-29 21:54:38 +02:00
AndnixSH eb670e7cd5 Merge branch 'pr/33' 2025-07-29 20:19:35 +02:00
AndnixSH 584df30992 Include Japanese in project 2025-07-29 20:19:14 +02:00
AndnixSH e89522cfcb Merge branch 'pr/36' 2025-07-29 19:31:13 +02:00
AndnixSH 9ffedd3cbf Merge branch 'pr/39' 2025-07-29 18:31:20 +02:00
AndnixSH 7228e182cc Update changelog.txt 2025-07-29 18:28:37 +02:00
Renji Yuusei ecce2c8e18 Update FormSettings.vi-VN.resx 2025-06-16 00:33:12 +07:00
Renji Yuusei 5f83b05335 Update FormMain.vi-VN.resx 2025-06-16 00:31:14 +07:00
Renji Yuusei aa0f62bd58 Update FormAboutBox.vi-VN.resx 2025-06-16 00:26:38 +07:00
Renji Yuusei 13420455c7 Update Language.vi-VN.resx 2025-06-15 21:15:18 +07:00
𝗛𝗼𝗹𝗶 3b90881083 Add Turkish 2025-03-27 17:01:03 +03:00
Hen_Ry be7ed3a533 Update FormMain.de.resx 2025-03-22 18:31:59 +01:00
AndnixSH 4ed20cf3de Revert back to DotNetZip but using ProDotNetZip for fixed vulnerability 2025-03-19 17:14:12 +01:00
AndnixSH aca3de41b7 Update AssemblyInfo.cs 2025-03-18 19:35:39 +01:00
AndnixSH a5497c56da Update packages 2025-03-18 19:35:17 +01:00
AndnixSH 4d2a745b11 Reduced UI flickering 2025-03-18 19:17:07 +01:00
AndnixSH b25fd6451b Fixes
- Removed APK links that are no longer available
- Fixed icon not displaying. It will load icon from Play Store as a last resort
- Faster apk parsing
2025-03-17 17:33:47 +01:00
Re*Index. (ot_inc) 19bd457b65 Merge branch 'master' of https://github.com/reindex-ot/APKToolGUI 2025-02-17 07:41:11 +09:00
Re*Index. (ot_inc) 3e1fc75808 Update Language.ja.resx 2025-02-17 07:40:53 +09:00
Re*Index. (ot_inc) 846ef4f5f1 Update Language.ja.resx 2025-02-17 07:35:47 +09:00
Re*Index. (ot_inc) d87d8af361 Delete APKToolGUI/Languages/Language.ja-JP.resx 2025-02-17 07:28:56 +09:00
Re*Index. (ot_inc) 9d31e8c2c8 Add files via upload 2025-02-17 07:28:23 +09:00
Re*Index. (ot_inc) ecd8b45846 Add files via upload 2025-02-17 07:27:28 +09:00
AndnixSH 8834cbcec2 Update changelog.txt 2025-01-30 12:08:17 +01:00
AndnixSH 1ecbb13692 3.3.1.5 2025-01-30 12:08:05 +01:00
AndnixSH 8084d5288b Update deps 2025-01-30 11:43:30 +01:00
AndnixSH 41f3663d4a Added check if stamp-cert-sha256 exists 2025-01-30 11:37:40 +01:00
AndnixSH add093dd6e Updated Apktool and Apkeditor to latest version 2025-01-30 11:25:03 +01:00
AndnixSH cb69d6b541 #32 2025-01-30 10:40:06 +01:00
AndnixSH e4a8886af6 Update AssemblyInfo.cs 2024-12-01 17:46:04 +01:00
AndnixSH 7b32dade20 Changes with unsigned APK
No longer need to extract signatures, the apktool.jar already does it on its own. And fixed issues adding original signature back to unsigned APK
2024-12-01 17:43:04 +01:00
AndnixSH 3401402bd6 Transition to System.IO.Compression 2024-11-30 22:33:55 +01:00
AndnixSH a7480e5bdf Added option to set threads 2024-11-19 09:12:15 +01:00
AndnixSH 95a69334c3 Merge pull request #29 from VeroZ1/master
Update Chinese Simplified translation
2024-11-18 14:17:53 +01:00
AndnixSH 82bee17ca7 Fixed UI for Viet 2024-11-18 14:14:18 +01:00
Renji Yuusei 61aee3cdcf Update APKToolGUI.csproj 2024-11-13 13:05:48 +07:00
Renji Yuusei 282a6ba6c0 Add Vietnamese language 2024-11-12 18:13:34 +07:00
Renji Yuusei 9ab8ad0013 Create Language.vi-VN.resx 2024-11-12 18:00:11 +07:00
VeroZ1 5953e2feef Update Chinese Simplified translation 2024-11-04 21:40:07 +08:00
AndnixSH 0f7caefaab Update changelog.txt 2024-09-30 15:52:45 +02:00
AndnixSH 48b6736ccf Fixed issue decompiling split apk using Apkeditor 2024-09-30 15:41:38 +02:00
AndnixSH f2329a4b57 Update AssemblyInfo.cs 2024-09-29 20:25:50 +02:00
AndnixSH 456b971183 Update DragDropHandlers.cs 2024-09-29 16:11:46 +02:00
AndnixSH 3417aedbe0 Update APKEditor.jar 2024-09-29 16:11:42 +02:00
AndnixSH 6e3bb9a6dd ? 2024-09-29 11:36:07 +02:00
AndnixSH 26763b0cfa Support window resizing #26 2024-09-27 21:47:04 +02:00
AndnixSH ca05365c16 Update tools 2024-09-27 18:52:15 +02:00
AndnixSH 7581a5c45c Print signature in apk info 2024-04-11 22:52:20 +02:00
AndnixSH 7e7de5f653 Update changelog.txt 2024-03-30 19:14:07 +01:00
AndnixSH 7ccbac83b2 Merge pull request #25 from YorkWaugh/master
Update Chinese Simplified translation
2024-03-29 13:11:31 +01:00
York Waugh af96daca95 Update Chinese Simplified translation 2024-03-24 16:26:31 +08:00
82 changed files with 10728 additions and 4580 deletions
+1 -7
View File
@@ -11,16 +11,10 @@ body:
required: true
- label: I performed a cursory search of the issue tracker on [APK Tool GUI](https://github.com/AndnixSH/APKToolGUI/issues?q=is%3Aissue) to avoid opening a duplicate issue
required: true
- label: I performed a cursory search of the issue tracker on [Apktool] (https://github.com/iBotPeaches/Apktool/issues?q=is%3Aissue) and [Baksmali](https://github.com/JesusFreke/smali/issues?q=is%3Aissue) but did not found an answer
required: true
- label: I am running the latest version of [APK Tool GUI](https://github.com/AndnixSH/APKToolGUI/releases) and [Apktool.jar](https://github.com/iBotPeaches/Apktool/releases).
required: true
- label: I have tried to decompile and compile without changing anything.
- label: I am running the latest version of [APK Tool GUI](https://github.com/AndnixSH/APKToolGUI/releases).
required: true
- label: I have read the [FAQ](https://github.com/AndnixSH/APKToolGUI#faq)
required: true
- label: I have checked using [APKiD](https://github.com/rednaga/APKiD) and verified that the app does not have protection(s) like packer, obfuscation, anti-tamper, anti-cheats etc
required: false
- type: textarea
attributes:
+7 -13
View File
@@ -3,21 +3,15 @@ contact_links:
- name: Apktool Issues List
url: https://github.com/iBotPeaches/Apktool/issues?q=is%3Aissue
about: Check Apktool issues before reporting issue here. Your issue might already exists
- name: Baksmali Issues List
url: https://github.com/JesusFreke/smali/issues?q=is%3Aissue
about: Check Baksmali issues before reporting issue here. Your issue might already exists
- name: System apps modding support forum
url: https://forum.xda-developers.com/all-forums-by-manufacturer
about: For support, questions or help with modding system apps.
- name: Apktool forum
url: https://github.com/iBotPeaches/Apktool/discussions
about: For support, questions or help with Apktool, development and modding
- name: Smali Issues List
url: https://github.com/JesusFreke/smali/issues?q=is%3Aissue
about: Check Baksmali issues before reporting issue here. Your issue might already exists
- name: Smali Issues List 2
url: https://github.com/google/smali/issues?q=is%3Aissue
about: Check Baksmali issues before reporting issue here. Your issue might already exists
- name: Android development and modding support forum
url: https://forum.xda-developers.com/c/android-development-and-hacking.564/
about: For support, questions or help with development and modding
- name: Android development and modding support forum 2
url: https://androidforums.com/forums/android-development.28/
about: For support, questions or help with development and modding
- name: Android development and modding support forum 3
url: https://platinmods.com/forums/modding-questions-discussions.11/
about: For support, questions or help with development and modding
about: For support, questions or help with development and modding'
+47
View File
@@ -0,0 +1,47 @@
name: Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
name: Checkout Code
- name: Setup MSBuild Path
uses: microsoft/setup-msbuild@v1.3.1
- name: Setup NuGet
uses: NuGet/setup-nuget@v2
- name: Restore NuGet Packages
run: nuget restore APKToolGUI.sln
- name: Build Application
run: msbuild APKToolGUI.sln /p:Configuration=Release
- name: Create package directory
run: mkdir package
- name: Copy essential files to package
shell: pwsh
run: |
Copy-Item APKToolGUI/bin/Release/APKToolGUI.exe package/
Copy-Item changelog.txt package/Changelog.txt
if (Test-Path APKToolGUI/bin/Release/Resources) {
Copy-Item APKToolGUI/bin/Release/Resources package/ -Recurse
}
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: APKToolGUI
path: package/
+65 -33
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\Costura.Fody.6.0.0\build\Costura.Fody.props" Condition="Exists('..\packages\Costura.Fody.6.0.0\build\Costura.Fody.props')" />
<Import Project="..\packages\Resource.Embedder.2.2.0\build\Resource.Embedder.props" Condition="Exists('..\packages\Resource.Embedder.2.2.0\build\Resource.Embedder.props')" />
<Import Project="..\packages\Costura.Fody.5.7.0\build\Costura.Fody.props" Condition="Exists('..\packages\Costura.Fody.5.7.0\build\Costura.Fody.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
@@ -77,15 +77,15 @@
<PropertyGroup />
<PropertyGroup />
<ItemGroup>
<Reference Include="Costura, Version=5.7.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Costura.Fody.5.7.0\lib\netstandard1.0\Costura.dll</HintPath>
<Reference Include="Costura, Version=6.0.0.0, Culture=neutral, PublicKeyToken=9919ef960d84173d, processorArchitecture=MSIL">
<HintPath>..\packages\Costura.Fody.6.0.0\lib\netstandard2.0\Costura.dll</HintPath>
</Reference>
<Reference Include="CustomMarshalers" />
<Reference Include="DarkNet, Version=2.3.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\DarkNet.2.3.0\lib\net452\DarkNet.dll</HintPath>
</Reference>
<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 Include="Microsoft.Bcl.HashCode, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft.Bcl.HashCode.6.0.0\lib\net462\Microsoft.Bcl.HashCode.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Build.Framework" />
<Reference Include="Microsoft.Build.Utilities.v4.0" />
@@ -112,6 +112,9 @@
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="ProDotNetZip, Version=1.20.0.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL">
<HintPath>..\packages\ProDotNetZip.1.20.0\lib\netstandard2.0\ProDotNetZip.dll</HintPath>
</Reference>
<Reference Include="ResourceLoader, Version=3.3.1.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\ResourceLoader.3.3.1\lib\netstandard2.0\ResourceLoader.dll</HintPath>
</Reference>
@@ -121,8 +124,11 @@
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
<Reference Include="System.Buffers, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.6.1\lib\net462\System.Buffers.dll</HintPath>
</Reference>
<Reference Include="System.Collections.Immutable, Version=9.0.0.10, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Collections.Immutable.9.0.10\lib\net462\System.Collections.Immutable.dll</HintPath>
</Reference>
<Reference Include="System.ComponentModel.Composition" />
<Reference Include="System.configuration" />
@@ -132,15 +138,20 @@
<Private>True</Private>
</Reference>
<Reference Include="System.Core" />
<Reference Include="System.Data.OracleClient" />
<Reference Include="System.Design" />
<Reference Include="System.Diagnostics.DiagnosticSource, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Diagnostics.DiagnosticSource.8.0.0\lib\net462\System.Diagnostics.DiagnosticSource.dll</HintPath>
<Reference Include="System.Diagnostics.DiagnosticSource, Version=9.0.0.10, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Diagnostics.DiagnosticSource.9.0.10\lib\net462\System.Diagnostics.DiagnosticSource.dll</HintPath>
</Reference>
<Reference Include="System.Diagnostics.Tracing, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Diagnostics.Tracing.4.3.0\lib\net462\System.Diagnostics.Tracing.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.DirectoryServices" />
<Reference Include="System.Formats.Nrbf, Version=9.0.0.10, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Formats.Nrbf.9.0.10\lib\net462\System.Formats.Nrbf.dll</HintPath>
</Reference>
<Reference Include="System.Globalization.Calendars, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Globalization.Calendars.4.3.0\lib\net46\System.Globalization.Calendars.dll</HintPath>
<Private>True</Private>
@@ -151,17 +162,7 @@
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.IO.Compression, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
<HintPath>..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<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>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.IO.FileSystem, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.IO.FileSystem.4.3.0\lib\net46\System.IO.FileSystem.dll</HintPath>
<Private>True</Private>
@@ -183,9 +184,10 @@
<Private>True</Private>
</Reference>
<Reference Include="System.Management" />
<Reference Include="System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll</HintPath>
<Reference Include="System.Memory, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Memory.4.6.3\lib\net462\System.Memory.dll</HintPath>
</Reference>
<Reference Include="System.Net" />
<Reference Include="System.Net.Http, Version=4.1.1.3, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Net.Http.4.3.4\lib\net46\System.Net.Http.dll</HintPath>
<Private>True</Private>
@@ -197,24 +199,27 @@
<Private>True</Private>
</Reference>
<Reference Include="System.Numerics" />
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
<Reference Include="System.Numerics.Vectors, Version=4.1.6.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Numerics.Vectors.4.6.1\lib\net462\System.Numerics.Vectors.dll</HintPath>
</Reference>
<Reference Include="System.Reflection, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Reflection.4.3.0\lib\net462\System.Reflection.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Resources.Extensions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Resources.Extensions.8.0.0\lib\net462\System.Resources.Extensions.dll</HintPath>
<Reference Include="System.Reflection.Metadata, Version=9.0.0.10, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Reflection.Metadata.9.0.10\lib\net462\System.Reflection.Metadata.dll</HintPath>
</Reference>
<Reference Include="System.Resources.Extensions, Version=9.0.0.10, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Resources.Extensions.9.0.10\lib\net462\System.Resources.Extensions.dll</HintPath>
</Reference>
<Reference Include="System.Runtime, Version=4.1.1.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.4.3.1\lib\net462\System.Runtime.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.1.2\lib\net462\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
</Reference>
<Reference Include="System.Runtime.Extensions, Version=4.1.1.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.Extensions.4.3.1\lib\net462\System.Runtime.Extensions.dll</HintPath>
@@ -232,6 +237,9 @@
<Private>True</Private>
</Reference>
<Reference Include="System.Security" />
<Reference Include="System.Security.AccessControl, Version=6.0.0.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Security.AccessControl.6.0.1\lib\net461\System.Security.AccessControl.dll</HintPath>
</Reference>
<Reference Include="System.Security.Cryptography.Algorithms, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Security.Cryptography.Algorithms.4.3.1\lib\net463\System.Security.Cryptography.Algorithms.dll</HintPath>
<Private>True</Private>
@@ -252,11 +260,22 @@
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Security.Permissions, Version=9.0.0.10, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Security.Permissions.9.0.10\lib\net462\System.Security.Permissions.dll</HintPath>
</Reference>
<Reference Include="System.Security.Principal.Windows, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Security.Principal.Windows.5.0.0\lib\net461\System.Security.Principal.Windows.dll</HintPath>
</Reference>
<Reference Include="System.ServiceProcess" />
<Reference Include="System.Text.Encoding.CodePages, Version=9.0.0.10, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Text.Encoding.CodePages.9.0.10\lib\net462\System.Text.Encoding.CodePages.dll</HintPath>
</Reference>
<Reference Include="System.Text.RegularExpressions, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Text.RegularExpressions.4.3.1\lib\net463\System.Text.RegularExpressions.dll</HintPath>
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="System.Transactions" />
<Reference Include="System.Xaml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
@@ -366,6 +385,9 @@
<EmbeddedResource Include="Forms\FormAboutBox.zh-CN.resx">
<DependentUpon>FormAboutBox.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormAboutBox.vi-VN.resx">
<DependentUpon>FormAboutBox.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormMain.de.resx">
<DependentUpon>FormMain.cs</DependentUpon>
</EmbeddedResource>
@@ -378,6 +400,9 @@
<EmbeddedResource Include="Forms\FormMain.zh-CN.resx">
<DependentUpon>FormMain.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormMain.vi-VN.resx">
<DependentUpon>FormMain.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormSettings.de.resx">
<DependentUpon>FormSettings.cs</DependentUpon>
</EmbeddedResource>
@@ -390,11 +415,16 @@
<EmbeddedResource Include="Forms\FormSettings.zh-CN.resx">
<DependentUpon>FormSettings.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormSettings.vi-VN.resx">
<DependentUpon>FormSettings.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Languages\Language.de.resx" />
<EmbeddedResource Include="Languages\Language.hu.resx" />
<EmbeddedResource Include="Languages\Language.pt-BR.resx" />
<EmbeddedResource Include="Languages\Language.ru.resx" />
<EmbeddedResource Include="Languages\Language.tr.resx" />
<EmbeddedResource Include="Languages\Language.zh-CN.resx" />
<EmbeddedResource Include="Languages\Language.vi-VN.resx" />
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
@@ -463,19 +493,19 @@
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\Costura.Fody.5.7.0\build\Costura.Fody.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Costura.Fody.5.7.0\build\Costura.Fody.props'))" />
<Error Condition="!Exists('..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets'))" />
<Error Condition="!Exists('..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets'))" />
<Error Condition="!Exists('..\packages\Resource.Embedder.2.2.0\build\Resource.Embedder.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Resource.Embedder.2.2.0\build\Resource.Embedder.props'))" />
<Error Condition="!Exists('..\packages\Fody.6.8.0\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.6.8.0\build\Fody.targets'))" />
<Error Condition="!Exists('..\packages\Costura.Fody.6.0.0\build\Costura.Fody.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Costura.Fody.6.0.0\build\Costura.Fody.props'))" />
<Error Condition="!Exists('..\packages\Costura.Fody.6.0.0\build\Costura.Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Costura.Fody.6.0.0\build\Costura.Fody.targets'))" />
<Error Condition="!Exists('..\packages\Fody.6.9.3\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.6.9.3\build\Fody.targets'))" />
<Error Condition="!Exists('..\packages\System.ValueTuple.4.6.1\build\net471\System.ValueTuple.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\System.ValueTuple.4.6.1\build\net471\System.ValueTuple.targets'))" />
</Target>
<Import Project="..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets" Condition="Exists('..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets')" />
<Import Project="..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets" Condition="Exists('..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets')" />
<PropertyGroup>
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
<Import Project="..\packages\Fody.6.8.0\build\Fody.targets" Condition="Exists('..\packages\Fody.6.8.0\build\Fody.targets')" />
<Import Project="..\packages\Costura.Fody.6.0.0\build\Costura.Fody.targets" Condition="Exists('..\packages\Costura.Fody.6.0.0\build\Costura.Fody.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
@@ -483,4 +513,6 @@
<Target Name="AfterBuild">
</Target>
-->
<Import Project="..\packages\Fody.6.9.3\build\Fody.targets" Condition="Exists('..\packages\Fody.6.9.3\build\Fody.targets')" />
<Import Project="..\packages\System.ValueTuple.4.6.1\build\net471\System.ValueTuple.targets" Condition="Exists('..\packages\System.ValueTuple.4.6.1\build\net471\System.ValueTuple.targets')" />
</Project>
+2 -1
View File
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishUrlHistory>publish\</PublishUrlHistory>
@@ -9,6 +9,7 @@
<ErrorReportUrlHistory />
<FallbackCulture>ru-RU</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles>
<ProjectView>ShowAllFiles</ProjectView>
</PropertyGroup>
<PropertyGroup>
<EnableSecurityDebugging>false</EnableSecurityDebugging>
+114 -32
View File
@@ -1,8 +1,10 @@
using System;
using APKToolGUI.Web;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
@@ -66,10 +68,23 @@ namespace APKToolGUI.Utils
public string ApkDlLink;
public string AppIcon;
public string FullInfo;
internal string AppIcon = null;
internal string AppIcon120 = null;
internal string AppIcon160 = null;
internal string AppIcon240 = null;
internal string AppIcon320 = null;
internal string AppIcon480 = null;
internal string AppIcon640 = null;
internal string AppIcon65534 = null;
public bool Parse(string file)
{
@@ -87,34 +102,32 @@ namespace APKToolGUI.Utils
List<string> nativecode = new List<string> { };
List<string> nativecode2 = new List<string> { };
StringBuilder permissionsBuilder = new StringBuilder();
foreach (string line in lines)
{
switch (line.Split(':')[0])
{
case "package":
PackageName = StringExt.Regex(@"(?<=package: name=\')(.*?)(?=\')", line);
VersionName = StringExt.Regex(@"(?<=versionName=\')(.*?)(?=\')", line);
VersionCode = StringExt.Regex(@"(?<=versionCode=\')(.*?)(?=\')", line);
PackageName = StringExt.RegexExtract(@"(?<=package: name=\')(.*?)(?=\')", line);
VersionName = StringExt.RegexExtract(@"(?<=versionName=\')(.*?)(?=\')", line);
VersionCode = StringExt.RegexExtract(@"(?<=versionCode=\')(.*?)(?=\')", line);
break;
case "uses-permission":
Permissions += StringExt.Regex(@"(?<=name=\')(.*?)(?=\')", line) + "\n";
permissionsBuilder.AppendLine(StringExt.RegexExtract(@"(?<=name=\')(.*?)(?=\')", line));
break;
case "sdkVersion":
MinSdkVersionDetailed = SdkToAndroidVer(StringExt.Regex(@"(?<=sdkVersion:\')(.*?)(?=\')", line));
MinSdkVersion = StringExt.Regex(@"(?<=sdkVersion:\')(.*?)(?=\')", line);
MinSdkVersionDetailed = SdkToAndroidVer(StringExt.RegexExtract(@"(?<=sdkVersion:\')(.*?)(?=\')", line));
MinSdkVersion = StringExt.RegexExtract(@"(?<=sdkVersion:\')(.*?)(?=\')", line);
break;
case "targetSdkVersion":
TargetSdkVersionDetailed = SdkToAndroidVer(StringExt.Regex(@"(?<=targetSdkVersion:\')(.*?)(?=\')", line));
TargetSdkVersion = StringExt.Regex(@"(?<=targetSdkVersion:\')(.*?)(?=\')", line);
TargetSdkVersionDetailed = SdkToAndroidVer(StringExt.RegexExtract(@"(?<=targetSdkVersion:\')(.*?)(?=\')", line));
TargetSdkVersion = StringExt.RegexExtract(@"(?<=targetSdkVersion:\')(.*?)(?=\')", line);
break;
case "application-label":
AppName = StringExt.Regex(@"(?<=application-label:\')(.*?)(?=\')", line);
break;
case "application":
AppIcon = GetIcon(file, StringExt.Regex(@"(?<=icon=\')(.*?)(?=\')", line));
AppName = StringExt.RegexExtract(@"(?<=application-label:\')(.*?)(?=\')", line);
break;
case "launchable-activity":
LaunchableActivity = StringExt.Regex(@"(?<=name=\')(.*?)(?=\')", line);
LaunchableActivity = StringExt.RegexExtract(@"(?<=name=\')(.*?)(?=\')", line);
break;
case "supports-screens":
var screens = Regex.Matches(line.Split(':')[1], @"(?<= \')(.*?)(?=\')").Cast<Match>().Select(m => m.Value).ToList();
@@ -136,13 +149,25 @@ namespace APKToolGUI.Utils
break;
}
}
Permissions = permissionsBuilder.ToString();
List<string> combinedList = nativecode2.Concat(nativecode).ToList();
NativeCode += string.Join(", ", combinedList);
ApkFile = file;
PlayStoreLink = "https://play.google.com/store/apps/details?id=" + PackageName;
ApkComboLink = "https://apkcombo.com/a/" + PackageName;
ApkPureLink = "https://apkpure.com/a/" + PackageName;
ApkAioLink = "https://apkaio.com/app/" + PackageName;
ApkSupportLink = "https://apk.support/app/" + PackageName;
ApkMirrorLink = "https://www.apkmirror.com/?post_type=app_release&searchtype=apk&s=" + PackageName;
ApkGkLink = "https://apkgk.com/" + PackageName + "/download";
AppIcon120 = StringExt.RegexExtract(@"(?<=application-icon-120:\')(.*?)(?=\')", FullInfo);
AppIcon160 = StringExt.RegexExtract(@"(?<=application-icon-160:\')(.*?)(?=\')", FullInfo);
AppIcon240 = StringExt.RegexExtract(@"(?<=application-icon-240:\')(.*?)(?=\')", FullInfo);
AppIcon320 = StringExt.RegexExtract(@"(?<=application-icon-320:\')(.*?)(?=\')", FullInfo);
AppIcon480 = StringExt.RegexExtract(@"(?<=application-icon-480:\')(.*?)(?=\')", FullInfo);
AppIcon640 = StringExt.RegexExtract(@"(?<=application-icon-640:\')(.*?)(?=\')", FullInfo);
AppIcon65534 = StringExt.RegexExtract(@"(?<=application-icon-65534:\')(.*?)(?=\')", FullInfo);
result = true;
}
@@ -170,31 +195,86 @@ namespace APKToolGUI.Utils
return apkinfo;
}
string[] iconFolder = { "mipmap-xxxhdpi-v4", "mipmap-xxhdpi-v4", "mipmap-xhdpi-v4", "mipmap-hdpi-v4", "mipmap-mdpi-v4", "mipmap-xhdpi", "mipmap-hdpi", "drawable-xxxhdpi-v4", "drawable-xxhdpi-v4", "drawable-xhdpi-v4", "drawable-hdpi-v4", "drawable-mdpi-v4" };
private string GetIcon(string apkPath, string iconPath)
public string GetIcon(string apkPath)
{
iconPath = iconPath.Replace(".xml", ".png");
string[] png = { "mipmap-xxxhdpi-v4", "mipmap-xxhdpi-v4", "mipmap-xhdpi-v4", "mipmap-hdpi-v4", "mipmap-mdpi-v4", "mipmap-xhdpi", "mipmap-hdpi", "drawable-xxxhdpi-v4", "drawable-xxhdpi-v4", "drawable-xhdpi-v4", "drawable-hdpi-v4", "drawable-mdpi-v4" };
string icon = "";
if (iconPath.Contains("anydpi-v26"))
if (!string.IsNullOrEmpty(AppIcon65534))
icon = AppIcon65534;
else if (!string.IsNullOrEmpty(AppIcon640))
icon = AppIcon640;
else if (!string.IsNullOrEmpty(AppIcon480))
icon = AppIcon480;
else if (!string.IsNullOrEmpty(AppIcon320))
icon = AppIcon320;
else if (!string.IsNullOrEmpty(AppIcon240))
icon = AppIcon240;
else if (!string.IsNullOrEmpty(AppIcon160))
icon = AppIcon160;
else if (!string.IsNullOrEmpty(AppIcon120))
icon = AppIcon120;
icon = icon.Replace(".xml", ".png");
Debug.WriteLine("Icon: " + icon);
string cacheDir = Path.Combine(Program.TEMP_PATH, PackageName);
string iconLocation = Path.Combine(cacheDir, Path.GetFileName(icon));
Directory.CreateDirectory(cacheDir);
if (icon.Contains("anydpi-v26"))
{
foreach (string folder in iconFolder)
foreach (string Png in png)
{
string icon = iconPath.Replace("mipmap-anydpi-v26", folder).Replace("drawable-anydpi-v26", folder);
if (ZipUtils.Exists(apkPath, icon))
string icon2 = icon.Replace("mipmap-anydpi-v26", Png).Replace("drawable-anydpi-v26", Png);
ZipUtils.ExtractFile(apkPath, icon2, cacheDir);
if (File.Exists(iconLocation))
{
Debug.WriteLine("Icon path " + icon);
return icon;
break;
}
}
return iconPath.Replace("mipmap-anydpi-v26", "mipmap-xhdpi").Replace(".xml", ".png");
}
else if (icon.Contains("v26"))
{
string icon2 = icon.Replace("v26", "v4");
ZipUtils.ExtractFile(apkPath, icon2, cacheDir);
icon2 = icon.Replace("-v26", "");
ZipUtils.ExtractFile(apkPath, icon2, cacheDir);
}
else
{
Debug.WriteLine("Icon path " + iconPath);
return iconPath;
ZipUtils.ExtractFile(apkPath, icon, cacheDir);
}
if (!File.Exists(iconLocation))
{
try
{
WebDownload w = new WebDownload();
string ps = w.DownloadString("https://play.google.com/store/apps/details?id=" + PackageName);
//File.WriteAllText("R:\\t.txt", ps);
string icondl = Path.Combine(cacheDir, "icon.png");
Directory.CreateDirectory(cacheDir);
w.DownloadFile(StringExt.RegexExtract(@"(?<=\""image\"":\"")(.*?)(?=\"",\"")", ps), icondl);
iconLocation = icondl;
}
catch (System.Net.WebException ex)
{
Debug.WriteLine($"[AaptParser] Failed to download icon from web: {ex.Message}");
// Icon download failure is not critical, use default value
}
catch (IOException ex)
{
Debug.WriteLine($"[AaptParser] Failed to save icon file: {ex.Message}");
}
catch (Exception ex)
{
Debug.WriteLine($"[AaptParser] Unexpected error getting icon: {ex.Message}");
}
}
return iconLocation;
}
//https://apilevels.com/
@@ -202,12 +282,14 @@ namespace APKToolGUI.Utils
{
switch (sdk)
{
case "36":
return sdk + ": Android 16";
case "35":
return sdk + ": Android 15";
case "34":
return sdk + ": Android 14";
case "33":
return sdk + ": Android 14";
return sdk + ": Android 13";
case "32":
return sdk + ": Android 12.0L";
case "31":
+78 -23
View File
@@ -10,9 +10,11 @@ using System.Windows.Shapes;
namespace APKToolGUI
{
public class Adb
public class Adb : IDisposable
{
Process processAdb;
private bool disposed = false;
static class Keys
{
public const string Devices = " devices -l"; //list connected devices (-l for long output)
@@ -43,10 +45,10 @@ namespace APKToolGUI
processAdb = new Process();
processAdb.EnableRaisingEvents = true;
processAdb.StartInfo.FileName = AdbFileName;
processAdb.StartInfo.UseShellExecute = false; //отключаем использование оболочки, чтобы можно было читать данные вывода
processAdb.StartInfo.RedirectStandardOutput = true; // разрешаем перенаправление данных вывода
processAdb.StartInfo.RedirectStandardError = true; // разрешаем перенаправление данных вывода
processAdb.StartInfo.CreateNoWindow = true; //запрещаем создавать окно для запускаемой программы
processAdb.StartInfo.UseShellExecute = false; // Disable shell execution to read output data
processAdb.StartInfo.RedirectStandardOutput = true; // Allow output redirection
processAdb.StartInfo.RedirectStandardError = true; // Allow error redirection
processAdb.StartInfo.CreateNoWindow = true; // Do not create window for the launched program
processAdb.Exited += processAdb_Exited;
}
@@ -64,14 +66,62 @@ namespace APKToolGUI
{
foreach (var process in Process.GetProcessesByName("adb"))
{
if (process.Id == processAdb.Id)
using (process)
{
ProcessUtils.KillAllProcessesSpawnedBy((uint)processAdb.Id);
process.Kill();
if (process.Id == processAdb.Id)
{
ProcessUtils.KillAllProcessesSpawnedBy((uint)processAdb.Id);
process.Kill();
}
}
}
}
catch { }
catch (Exception ex)
{
Debug.WriteLine($"[Adb] Cancel failed: {ex.Message}");
// Process termination failure is not critical, so continue
}
}
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
protected virtual void Dispose(bool disposing)
{
if (!disposed)
{
if (disposing)
{
if (processAdb != null)
{
try
{
if (!processAdb.HasExited)
{
processAdb.Kill();
}
}
catch (Exception ex)
{
Debug.WriteLine($"[Adb] Error disposing process: {ex.Message}");
}
finally
{
processAdb.Dispose();
processAdb = null;
}
}
}
disposed = true;
}
}
~Adb()
{
Dispose(false);
}
public int Install(string device, string inputApk)
@@ -120,26 +170,31 @@ namespace APKToolGUI
{
Log.d("ADB: " + adbFileName + " " + Keys.Devices);
Process process = new Process();
process.EnableRaisingEvents = true;
process.StartInfo.FileName = adbFileName;
process.StartInfo.UseShellExecute = false;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.RedirectStandardError = true;
process.StartInfo.CreateNoWindow = true;
process.EnableRaisingEvents = false;
process.StartInfo.Arguments = Keys.Devices;
process.Start();
string devices = process.StandardOutput.ReadToEnd();
process.WaitForExit();
return devices;
using (Process process = new Process())
{
process.EnableRaisingEvents = true;
process.StartInfo.FileName = adbFileName;
process.StartInfo.UseShellExecute = false;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.RedirectStandardError = true;
process.StartInfo.CreateNoWindow = true;
process.EnableRaisingEvents = false;
process.StartInfo.Arguments = Keys.Devices;
process.Start();
string devices = process.StandardOutput.ReadToEnd();
process.WaitForExit();
return devices;
}
}
public void KillProcess()
{
foreach (var process in Process.GetProcessesByName("adb"))
{
process.Kill();
using (process)
{
process.Kill();
}
}
}
}
+55 -5
View File
@@ -8,8 +8,10 @@ using System.Windows.Forms;
namespace APKToolGUI
{
public class ApkEditor : JarProcess
public class ApkEditor : JarProcess, IDisposable
{
private bool disposed = false;
public new event ApkEditorExitedEventHandler Exited;
string _jarPath;
@@ -72,14 +74,28 @@ namespace APKToolGUI
{
foreach (var process in Process.GetProcessesByName("java"))
{
if (process.Id == Id)
using (process)
{
ProcessUtils.KillAllProcessesSpawnedBy((uint)Id);
process.Kill();
if (process.Id == Id)
{
ProcessUtils.KillAllProcessesSpawnedBy((uint)Id);
process.Kill();
}
}
}
}
catch { }
catch (InvalidOperationException ex)
{
Debug.WriteLine($"[ApkEditor] Process already exited: {ex.Message}");
}
catch (System.ComponentModel.Win32Exception ex)
{
Debug.WriteLine($"[ApkEditor] Failed to access process: {ex.Message}");
}
catch (Exception ex)
{
Debug.WriteLine($"[ApkEditor] Failed to cancel process: {ex.Message}");
}
}
public int Merge(string input, string output)
@@ -158,6 +174,40 @@ namespace APKToolGUI
return version.Replace("\r\n", "");
}
}
public new void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
protected new virtual void Dispose(bool disposing)
{
if (!disposed)
{
if (disposing)
{
try
{
Cancel();
}
catch (Exception ex)
{
Debug.WriteLine($"[ApkEditor] Error during disposal: {ex.Message}");
}
finally
{
base.Dispose();
}
}
disposed = true;
}
}
~ApkEditor()
{
Dispose(false);
}
}
public class ApkEditorExitedEventArgs : EventArgs
+70 -16
View File
@@ -1,7 +1,9 @@
using APKToolGUI.Utils;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
@@ -15,28 +17,49 @@ namespace APKToolGUI.ApkTool
public static bool FixAndroidManifest(string decompilePath)
{
string manifestPath = Path.Combine(decompilePath, "AndroidManifest.xml");
if (File.Exists(manifestPath))
if (!File.Exists(manifestPath))
return false;
try
{
string maniFestText = File.ReadAllText(manifestPath);
maniFestText = maniFestText.Replace("\\ ", "\\u003");
maniFestText = maniFestText.Replace("android:isSplitRequired=\"true\"", "");
maniFestText = maniFestText.Replace("android:extractNativeLibs=\"false\"", "");
maniFestText = maniFestText.Replace("android:useEmbeddedDex=\"true\"", "");
maniFestText = maniFestText.Replace("android:manageSpace=\"true\"", "");
maniFestText = maniFestText.Replace("android:localeConfig=\"@xml/locales_config\"", "");
maniFestText = maniFestText.Replace("STAMP_TYPE_DISTRIBUTION_APK", "STAMP_TYPE_STANDALONE_APK");
File.WriteAllText(manifestPath, maniFestText);
string manifestText = File.ReadAllText(manifestPath);
manifestText = manifestText.Replace("\\ ", "\\u003");
manifestText = manifestText.Replace("android:isSplitRequired=\"true\"", "");
manifestText = manifestText.Replace("android:extractNativeLibs=\"false\"", "");
manifestText = manifestText.Replace("android:useEmbeddedDex=\"true\"", "");
manifestText = manifestText.Replace("android:manageSpace=\"true\"", "");
manifestText = manifestText.Replace("android:localeConfig=\"@xml/locales_config\"", "");
manifestText = manifestText.Replace("STAMP_TYPE_DISTRIBUTION_APK", "STAMP_TYPE_STANDALONE_APK");
manifestText = Regex.Replace(manifestText, @"\s*android:requiredSplitTypes=""[^""]*""", "");
manifestText = Regex.Replace(manifestText, @"\s*android:splitTypes=""[^""]*""", "");
File.WriteAllText(manifestPath, manifestText);
return true;
}
return false;
catch (IOException ex)
{
System.Diagnostics.Debug.WriteLine($"[ApkFixer] Failed to fix AndroidManifest.xml: {ex.Message}");
return false;
}
catch (UnauthorizedAccessException ex)
{
System.Diagnostics.Debug.WriteLine($"[ApkFixer] Access denied to AndroidManifest.xml: {ex.Message}");
return false;
}
catch (Exception ex)
{
System.Diagnostics.Debug.WriteLine($"[ApkFixer] Unexpected error fixing AndroidManifest.xml: {ex.Message}");
return false;
}
}
public static bool FixApktoolYml(string decompilePath)
{
string ymlPath = Path.Combine(decompilePath, "apktool.yml");
if (File.Exists(ymlPath))
if (!File.Exists(ymlPath))
return false;
try
{
string yml = File.ReadAllText(ymlPath);
yml = yml.Replace("sparseResources: true", "sparseResources: false");
@@ -44,18 +67,49 @@ namespace APKToolGUI.ApkTool
File.WriteAllText(ymlPath, yml);
return true;
}
return false;
catch (IOException ex)
{
System.Diagnostics.Debug.WriteLine($"[ApkFixer] Failed to fix apktool.yml: {ex.Message}");
return false;
}
catch (UnauthorizedAccessException ex)
{
System.Diagnostics.Debug.WriteLine($"[ApkFixer] Access denied to apktool.yml: {ex.Message}");
return false;
}
catch (Exception ex)
{
System.Diagnostics.Debug.WriteLine($"[ApkFixer] Unexpected error fixing apktool.yml: {ex.Message}");
return false;
}
}
public static bool RemoveApkToolDummies(string path)
{
string resPath = Path.Combine(path, "res", "values");
if (Directory.Exists(resPath))
if (!Directory.Exists(resPath))
return false;
try
{
DirectoryUtils.ReplaceinFilesRegex(resPath, "(.*(?:APKTOOL_DUMMY).*)", "");
return true;
}
return false;
catch (IOException ex)
{
System.Diagnostics.Debug.WriteLine($"[ApkFixer] Failed to remove APKTOOL_DUMMY: {ex.Message}");
return false;
}
catch (UnauthorizedAccessException ex)
{
System.Diagnostics.Debug.WriteLine($"[ApkFixer] Access denied while removing APKTOOL_DUMMY: {ex.Message}");
return false;
}
catch (Exception ex)
{
System.Diagnostics.Debug.WriteLine($"[ApkFixer] Unexpected error removing APKTOOL_DUMMY: {ex.Message}");
return false;
}
}
}
}
+234 -69
View File
@@ -11,54 +11,121 @@ using Java;
namespace APKToolGUI
{
public class Apktool : JarProcess
public class Apktool : JarProcess, IDisposable
{
enum ApktoolActionType
private bool disposed = false;
private static readonly Regex ApktoolVersionRegex = new Regex(@"v?(?<version>\d+\.\d+\.\d+)", RegexOptions.Compiled | RegexOptions.IgnoreCase);
public Version ParsedVersion { get; private set; }
public string Version { get; private set; }
public Apktool(string javaPath, string jarPath) : base(javaPath, jarPath)
{
Decompile,
Build,
InstallFramework,
ClearFramework,
Null
Exited += Apktool_Exited;
OutputDataReceived += Apktool_OutputDataReceived;
ErrorDataReceived += Apktool_ErrorDataReceived;
string apktoolVersion = GetVersion();
string apktoolVersionOld = GetVersionOld();
if (!String.IsNullOrWhiteSpace(apktoolVersion) && !Regex.IsMatch(apktoolVersion, @"\r\n?|\n"))
Version = apktoolVersion;
else if (!String.IsNullOrWhiteSpace(apktoolVersionOld) && !Regex.IsMatch(apktoolVersionOld, @"\r\n?|\n"))
Version = apktoolVersionOld;
ParsedVersion = ParseVersion(Version);
Debug.WriteLine($"[Apktool] Parsed version: {ParsedVersion}");
}
static class DecompileKeys
{
public const string NoSource = " -s"; //Do not decode sources.
public const string NoResource = " -r"; //Do not decode resources.
public const string NoDebugInfo = " -b"; //don't write out debug info (.local, .param, .line, etc.)
public const string Force = " -f"; //Skip changes detection and build all files.
public const string FrameworkPath = " -p"; //Uses framework files located in <dir>.
public const string KeepBrokenResource = " -k"; //Use if there was an error and some resources were dropped
public const string MatchOriginal = " -m"; //Keeps files to closest to original as possible. Prevents rebuild.
public const string OutputDir = " -o"; //The name of folder that gets written. Default is apk.out
public const string OnlyMainClasses = " -only-main-classes"; //Only disassemble the main dex classes (classes[0-9]*.dex) in the root.
public const string ApiLevel = " -api"; //The numeric api-level of the file to generate, e.g. 14 for ICS.
//Do not decode sources.
public const string NoSource = " -s";
//Do not decode resources.
public const string NoResource = " -r";
//don't write out debug info (.local, .param, .line, etc.)
//The -b flag has been removed from APKtool 3.0.1 and later versions,
//but the --no-debug-info flag is supported in all versions.
public const string NoDebugInfo = " --no-debug-info";
//Skip changes detection and build all files.
public const string Force = " -f";
//Uses framework files located in <dir>.
public const string FrameworkPath = " -p";
//Use if there was an error and some resources were dropped
public const string KeepBrokenResource = " -k";
//Keeps files to closest to original as possible. Prevents rebuild.
public const string MatchOriginal = " -m";
//The name of folder that gets written. Default is apk.out
public const string OutputDir = " -o";
//Only disassemble the main dex classes (classes[0-9]*.dex) in the root.
public const string OnlyMainClasses = " --only-main-classes";
//The numeric api-level of the file to generate, e.g. 14 for ICS.
public const string ApiLevel = " -api";
// Sets the number of threads to use.
public const string Jobs = " -j";
}
static class BuildKeys
{
public const string ForceAll = " -f"; //Skip changes detection and build all files.
public const string CopyOriginal = " -c"; //opies original AndroidManifest.xml and META-INF. See project page for more info.
public const string Aapt = " -a"; //Loads aapt from specified location.
public const string FrameworkPath = " -p"; //Uses framework files located in <dir>.
public const string OutputAppPath = " -o"; // The name of apk that gets written. Default is dist/name.apk
public const string NoCrunch = " -nc"; // Disable crunching of resource files during the build step.
public const string ApiLevel = " -api"; //The numeric api-level of the file to generate, e.g. 14 for ICS.
public const string UseAapt2 = " --use-aapt2"; //Upgrades apktool to use experimental aapt2 binary.
public const string NetSecConf = " --net-sec-conf"; //Add a generic Network Security Configuration file in the output APK
//Skip changes detection and build all files.
public const string ForceAll = " -f";
//opies original AndroidManifest.xml and META-INF. See project page for more info.
public const string CopyOriginal = " -c";
//Loads aapt from specified location.
public const string Aapt = " -a";
//Uses framework files located in <dir>.
public const string FrameworkPath = " -p";
// The name of apk that gets written. Default is dist/name.apk
public const string OutputAppPath = " -o";
// Disable crunching of resource files during the build step.
public const string NoCrunch = " -nc";
//The numeric api-level of the file to generate, e.g. 14 for ICS.
public const string ApiLevel = " -api";
//Upgrades apktool to use experimental aapt2 binary.
public const string UseAapt2 = " --use-aapt2";
//Add a generic Network Security Configuration file in the output APK
public const string NetSecConf = " --net-sec-conf";
// Sets the number of threads to use.
public const string Jobs = " -j";
}
static class InstallFrameworkKeys
{
public const string FrameDir = " -p"; //Stores framework files into <dir>.
public const string Tag = " -t"; //Tag frameworks using <tag>.
//Stores framework files into <dir>.
public const string FrameDir = " -p";
//Tag frameworks using <tag>.
public const string Tag = " -t";
}
static class EmptyFrameworkKeys
{
public const string FrameDir = " -p"; //Stores framework files into <dir>.
public const string ForceDelete = " -f"; //Force delete destination directory.
//Stores framework files into <dir>.
public const string FrameDir = " -p";
//Force delete destination directory.
public const string ForceDelete = " -f";
//Include all framework files regardless of tag. (3.0.1+)
public const string All = " -a";
}
ApktoolDataReceivedEventHandler onApktoolOutputDataRecieved;
@@ -87,15 +154,6 @@ namespace APKToolGUI
}
}
string _jarPath;
public Apktool(string javaPath, string jarPath) : base(javaPath, jarPath)
{
_jarPath = jarPath;
Exited += Apktool_Exited;
OutputDataReceived += Apktool_OutputDataReceived;
ErrorDataReceived += Apktool_ErrorDataReceived;
}
private void Apktool_ErrorDataReceived(object sender, DataReceivedEventArgs e)
{
if (onApktoolErrorDataRecieved != null && e.Data != null)
@@ -116,7 +174,7 @@ namespace APKToolGUI
public int Decompile(string inputPath, string outputDir)
{
string keyNoSrc = null, keyNoRes = null, keyForce = null, keyFramePath = null, keyMatchOriginal = null, keyOutputDir = null, onlyMainClasses = null, noDebugInfo = null, keyKeepBrokenRes = null, apiLevel = null;
string keyNoSrc = null, keyNoRes = null, keyForce = null, keyFramePath = null, keyMatchOriginal = null, keyOutputDir = null, onlyMainClasses = null, noDebugInfo = null, keyKeepBrokenRes = null, apiLevel = null, jobs = null;
if (Settings.Default.Decode_NoSrc)
keyNoSrc = DecompileKeys.NoSource;
@@ -128,7 +186,7 @@ namespace APKToolGUI
keyKeepBrokenRes = DecompileKeys.KeepBrokenResource;
if (Settings.Default.Decode_MatchOriginal)
keyMatchOriginal = DecompileKeys.MatchOriginal;
if (Settings.Default.Decode_OnlyMainClasses && !Settings.Default.Decode_NoSrc)
if (Settings.Default.Decode_OnlyMainClasses && !Settings.Default.Decode_NoSrc && IsVersionAtMost("2.12.1"))
onlyMainClasses = DecompileKeys.OnlyMainClasses;
if (Settings.Default.Decode_NoDebugInfo)
noDebugInfo = DecompileKeys.NoDebugInfo;
@@ -138,11 +196,13 @@ namespace APKToolGUI
keyFramePath = String.Format("{0} \"{1}\"", DecompileKeys.FrameworkPath, Program.STANDALONE_FRAMEWORK_DIR);
if (Settings.Default.Decode_SetApiLevel)
apiLevel = String.Format("{0} {1}", DecompileKeys.ApiLevel, Settings.Default.Decode_ApiLevel);
if (Settings.Default.Decode_SetJobs)
jobs = String.Format("{0} {1}", DecompileKeys.Jobs, Settings.Default.Decode_Jobs);
keyOutputDir = String.Format("{0} \"{1}\"", DecompileKeys.OutputDir, outputDir);
string args = String.Format($"d{keyNoSrc}{keyNoRes}{keyForce}{onlyMainClasses}{noDebugInfo}{keyMatchOriginal}{keyFramePath}{keyKeepBrokenRes}{apiLevel}{keyOutputDir} \"{inputPath}\"");
string args = String.Format($"d{keyNoSrc}{keyNoRes}{keyForce}{onlyMainClasses}{noDebugInfo}{keyMatchOriginal}{keyFramePath}{keyKeepBrokenRes}{apiLevel}{jobs}{keyOutputDir} \"{inputPath}\"");
Log.d("Apktool CMD: " + _jarPath + " " + args);
Log.d("Apktool CMD: " + JarPath + " " + args);
Start(args);
BeginOutputReadLine();
@@ -151,28 +211,9 @@ namespace APKToolGUI
return ExitCode;
}
public void Cancel()
{
try
{
foreach (var process in Process.GetProcessesByName("java"))
{
if (process.Id == Id)
{
ProcessUtils.KillAllProcessesSpawnedBy((uint)Id);
process.Kill();
}
}
}
catch (Exception ex)
{
Debug.WriteLine(ex);
}
}
public int Build(string inputFolder, string outputFile)
{
string keyForceAll = null, keyAapt = null, keyCopyOriginal = null, noCrunch = null, keyFramePath = null, keyOutputAppPath = null, apiLevel = null, useAapt2 = null, netSecConf = null;
string keyForceAll = null, keyAapt = null, keyCopyOriginal = null, noCrunch = null, keyFramePath = null, keyOutputAppPath = null, apiLevel = null, jobs = null, useAapt2 = null, netSecConf = null;
if (Settings.Default.Build_ForceAll)
keyForceAll = BuildKeys.ForceAll;
@@ -185,18 +226,20 @@ namespace APKToolGUI
if (Settings.Default.Build_UseFramework)
keyFramePath = String.Format("{0} \"{1}\"", BuildKeys.FrameworkPath, Settings.Default.Framework_FrameDir);
else
keyFramePath = String.Format("{0} \"{1}\"", DecompileKeys.FrameworkPath, Program.STANDALONE_FRAMEWORK_DIR);
keyFramePath = String.Format("{0} \"{1}\"", BuildKeys.FrameworkPath, Program.STANDALONE_FRAMEWORK_DIR);
if (Settings.Default.Build_SetApiLevel)
apiLevel = String.Format("{0} {1}", DecompileKeys.ApiLevel, Settings.Default.Build_ApiLevel);
apiLevel = String.Format("{0} {1}", BuildKeys.ApiLevel, Settings.Default.Build_ApiLevel);
if (Settings.Default.Build_SetJobs)
jobs = String.Format("{0} {1}", BuildKeys.Jobs, Settings.Default.Build_Jobs);
if (Settings.Default.Build_UseAapt2)
useAapt2 = BuildKeys.UseAapt2;
if (Settings.Default.Build_NetSecConf)
netSecConf = BuildKeys.NetSecConf;
keyOutputAppPath = String.Format("{0} \"{1}\"", BuildKeys.OutputAppPath, outputFile);
string args = String.Format($"b{keyForceAll}{keyAapt}{keyCopyOriginal}{noCrunch}{keyFramePath}{apiLevel}{useAapt2}{netSecConf}{keyOutputAppPath} \"{inputFolder}\"");
string args = String.Format($"b{keyForceAll}{keyAapt}{keyCopyOriginal}{noCrunch}{keyFramePath}{apiLevel}{jobs}{useAapt2}{netSecConf}{keyOutputAppPath} \"{inputFolder}\"");
Log.d("Apktool CMD: " + _jarPath + " " + args);
Log.d("Apktool CMD: " + JarPath + " " + args);
Start(args);
BeginOutputReadLine();
@@ -217,7 +260,7 @@ namespace APKToolGUI
string args = String.Format($"if{keyFrameDir}{keyTag} \"{inputPath}\"");
Log.d("Apktool CMD: " + _jarPath + " " + args);
Log.d("Apktool CMD: " + JarPath + " " + args);
Start(args);
BeginOutputReadLine();
@@ -235,8 +278,10 @@ namespace APKToolGUI
keyFramePath = String.Format("{0} \"{1}\"", DecompileKeys.FrameworkPath, Program.STANDALONE_FRAMEWORK_DIR);
string args = String.Format($"empty-framework-dir {EmptyFrameworkKeys.ForceDelete} {keyFramePath}");
if (IsVersionAtLeast("3.0.1"))
args = String.Format($"clean-frameworks {EmptyFrameworkKeys.All} {keyFramePath}");
Log.d("Apktool CMD: " + _jarPath + " " + args);
Log.d("Apktool CMD: " + JarPath + " " + args);
Start(args);
BeginOutputReadLine();
@@ -245,7 +290,54 @@ namespace APKToolGUI
return ExitCode;
}
public bool IsVersionAtLeast(string minimumVersion)
{
if (String.IsNullOrWhiteSpace(minimumVersion))
throw new ArgumentException("Minimum version cannot be null or empty.", nameof(minimumVersion));
return ParsedVersion.CompareTo(new Version(minimumVersion)) >= 0;
}
public bool IsVersionAtMost(string maximumVersion)
{
if (String.IsNullOrWhiteSpace(maximumVersion))
throw new ArgumentException("Maximum version cannot be null or empty.", nameof(maximumVersion));
return ParsedVersion.CompareTo(new Version(maximumVersion)) <= 0;
}
private static Version ParseVersion(string rawVersion)
{
if (String.IsNullOrWhiteSpace(rawVersion))
return null;
Match match = ApktoolVersionRegex.Match(rawVersion.Trim());
if (!match.Success)
return null;
try
{
return new Version(match.Groups["version"].Value);
}
catch (Exception)
{
return null;
}
}
public string GetVersion()
{
using (JarProcess apktoolJar = new JarProcess(JavaPath, JarPath))
{
apktoolJar.EnableRaisingEvents = false;
apktoolJar.Start("version");
string version = apktoolJar.StandardOutput.ReadToEnd();
apktoolJar.WaitForExit(3000);
return version.Replace("\r\n", "");
}
}
public string GetVersionOld()
{
using (JarProcess apktoolJar = new JarProcess(JavaPath, JarPath))
{
@@ -256,6 +348,70 @@ namespace APKToolGUI
return version.Replace("\r\n", "");
}
}
public void Cancel()
{
try
{
foreach (var process in Process.GetProcessesByName("java"))
{
using (process)
{
if (process.Id == Id)
{
ProcessUtils.KillAllProcessesSpawnedBy((uint)Id);
process.Kill();
}
}
}
}
catch (InvalidOperationException ex)
{
Debug.WriteLine($"[Apktool] Process already exited: {ex.Message}");
}
catch (System.ComponentModel.Win32Exception ex)
{
Debug.WriteLine($"[Apktool] Failed to access process: {ex.Message}");
}
catch (Exception ex)
{
Debug.WriteLine($"[Apktool] Failed to cancel process: {ex.Message}");
}
}
public new void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
protected new virtual void Dispose(bool disposing)
{
if (!disposed)
{
if (disposing)
{
try
{
Cancel();
}
catch (Exception ex)
{
Debug.WriteLine($"[Apktool] Error during disposal: {ex.Message}");
}
finally
{
base.Dispose();
}
}
disposed = true;
}
}
~Apktool()
{
Dispose(false);
}
}
public delegate void ApktoolDataReceivedEventHandler(Object sender, ApktoolDataReceivedEventArgs e);
@@ -336,4 +492,13 @@ namespace APKToolGUI
Error,
Unknown
}
enum ApktoolActionType
{
Decompile,
Build,
InstallFramework,
ClearFramework,
Null
}
}
+55 -5
View File
@@ -7,8 +7,10 @@ using APKToolGUI.Utils;
namespace APKToolGUI
{
public class Baksmali : JarProcess
public class Baksmali : JarProcess, IDisposable
{
private bool disposed = false;
public new event BaksmaliExitedEventHandler Exited;
string _jarPath;
@@ -72,14 +74,28 @@ namespace APKToolGUI
{
foreach (var process in Process.GetProcessesByName("java"))
{
if (process.Id == Id)
using (process)
{
ProcessUtils.KillAllProcessesSpawnedBy((uint)Id);
process.Kill();
if (process.Id == Id)
{
ProcessUtils.KillAllProcessesSpawnedBy((uint)Id);
process.Kill();
}
}
}
}
catch { }
catch (InvalidOperationException ex)
{
Debug.WriteLine($"[Baksmali] Process already exited: {ex.Message}");
}
catch (System.ComponentModel.Win32Exception ex)
{
Debug.WriteLine($"[Baksmali] Failed to access process: {ex.Message}");
}
catch (Exception ex)
{
Debug.WriteLine($"[Baksmali] Failed to cancel process: {ex.Message}");
}
}
public int Disassemble(string input, string output)
@@ -99,6 +115,40 @@ namespace APKToolGUI
CancelErrorRead();
return ExitCode;
}
public new void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
protected new virtual void Dispose(bool disposing)
{
if (!disposed)
{
if (disposing)
{
try
{
Cancel();
}
catch (Exception ex)
{
Debug.WriteLine($"[Baksmali] Error during disposal: {ex.Message}");
}
finally
{
base.Dispose();
}
}
disposed = true;
}
}
~Baksmali()
{
Dispose(false);
}
}
public class BaksmaliExitedEventArgs : EventArgs
+69 -5
View File
@@ -3,11 +3,14 @@ using Java;
using System.Diagnostics;
using APKToolGUI.Properties;
using APKToolGUI.Utils;
using System.IO.Packaging;
namespace APKToolGUI
{
public class Signapk : JarProcess
public class Signapk : JarProcess, IDisposable
{
private bool disposed = false;
public new event SignapkExitedEventHandler Exited;
private string lastSourceApk;
@@ -74,14 +77,28 @@ namespace APKToolGUI
{
foreach (var process in Process.GetProcessesByName("java"))
{
if (process.Id == Id)
using (process)
{
ProcessUtils.KillAllProcessesSpawnedBy((uint)Id);
process.Kill();
if (process.Id == Id)
{
ProcessUtils.KillAllProcessesSpawnedBy((uint)Id);
process.Kill();
}
}
}
}
catch { }
catch (InvalidOperationException ex)
{
Debug.WriteLine($"[Signapk] Process already exited: {ex.Message}");
}
catch (System.ComponentModel.Win32Exception ex)
{
Debug.WriteLine($"[Signapk] Failed to access process: {ex.Message}");
}
catch (Exception ex)
{
Debug.WriteLine($"[Signapk] Failed to cancel process: {ex.Message}");
}
}
public int Sign(string input, string output)
@@ -138,6 +155,53 @@ namespace APKToolGUI
CancelErrorRead();
return ExitCode;
}
public string GetSignature(string apkFile)
{
using (JarProcess apktoolJar = new JarProcess(JavaPath, JarPath))
{
apktoolJar.EnableRaisingEvents = false;
apktoolJar.Start($"verify --print-certs \"{apkFile}\"");
string version = apktoolJar.StandardOutput.ReadToEnd();
version += apktoolJar.StandardError.ReadToEnd();
apktoolJar.WaitForExit();
return version;
}
}
public new void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
protected new virtual void Dispose(bool disposing)
{
if (!disposed)
{
if (disposing)
{
try
{
Cancel();
}
catch (Exception ex)
{
Debug.WriteLine($"[Signapk] Error during disposal: {ex.Message}");
}
finally
{
base.Dispose();
}
}
disposed = true;
}
}
~Signapk()
{
Dispose(false);
}
}
public delegate void SignapkExitedEventHandler(object sender, SignapkExitedEventArgs e);
+55 -5
View File
@@ -7,8 +7,10 @@ using APKToolGUI.Utils;
namespace APKToolGUI
{
public class Smali : JarProcess
public class Smali : JarProcess, IDisposable
{
private bool disposed = false;
public new event SmaliExitedEventHandler Exited;
string _jarPath;
@@ -69,14 +71,28 @@ namespace APKToolGUI
{
foreach (var process in Process.GetProcessesByName("java"))
{
if (process.Id == Id)
using (process)
{
ProcessUtils.KillAllProcessesSpawnedBy((uint)Id);
process.Kill();
if (process.Id == Id)
{
ProcessUtils.KillAllProcessesSpawnedBy((uint)Id);
process.Kill();
}
}
}
}
catch { }
catch (InvalidOperationException ex)
{
Debug.WriteLine($"[Smali] Process already exited: {ex.Message}");
}
catch (System.ComponentModel.Win32Exception ex)
{
Debug.WriteLine($"[Smali] Failed to access process: {ex.Message}");
}
catch (Exception ex)
{
Debug.WriteLine($"[Smali] Failed to cancel process: {ex.Message}");
}
}
public int Assemble(string input, string output)
@@ -96,6 +112,40 @@ namespace APKToolGUI
CancelErrorRead();
return ExitCode;
}
public new void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
protected new virtual void Dispose(bool disposing)
{
if (!disposed)
{
if (disposing)
{
try
{
Cancel();
}
catch (Exception ex)
{
Debug.WriteLine($"[Smali] Error during disposal: {ex.Message}");
}
finally
{
base.Dispose();
}
}
disposed = true;
}
}
~Smali()
{
Dispose(false);
}
}
public class SmaliExitedEventArgs : EventArgs
+116 -14
View File
@@ -6,9 +6,11 @@ using System.IO;
namespace APKToolGUI
{
public class Zipalign
public class Zipalign : IDisposable
{
Process processZipalign;
private bool disposed = false;
static class Keys
{
public const string CheckOnly = " -c";
@@ -37,10 +39,10 @@ namespace APKToolGUI
processZipalign = new Process();
processZipalign.EnableRaisingEvents = true;
processZipalign.StartInfo.FileName = zipalignFileName;
processZipalign.StartInfo.UseShellExecute = false; //отключаем использование оболочки, чтобы можно было читать данные вывода
processZipalign.StartInfo.RedirectStandardOutput = true; // разрешаем перенаправление данных вывода
processZipalign.StartInfo.RedirectStandardError = true; // разрешаем перенаправление данных вывода
processZipalign.StartInfo.CreateNoWindow = true; //запрещаем создавать окно для запускаемой программы
processZipalign.StartInfo.UseShellExecute = false; // Disable shell execution to read output data
processZipalign.StartInfo.RedirectStandardOutput = true; // Allow output redirection
processZipalign.StartInfo.RedirectStandardError = true; // Allow error redirection
processZipalign.StartInfo.CreateNoWindow = true; // Do not create window for the launched program
processZipalign.Exited += processZipalign_Exited;
}
@@ -58,14 +60,62 @@ namespace APKToolGUI
{
foreach (var process in Process.GetProcessesByName("zipalign"))
{
if (process.Id == processZipalign.Id)
using (process)
{
ProcessUtils.KillAllProcessesSpawnedBy((uint)processZipalign.Id);
process.Kill();
if (process.Id == processZipalign.Id)
{
ProcessUtils.KillAllProcessesSpawnedBy((uint)processZipalign.Id);
process.Kill();
}
}
}
}
catch { }
catch (Exception ex)
{
Debug.WriteLine($"[Zipalign] Cancel failed: {ex.Message}");
// Process termination failure is not critical, so continue
}
}
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
protected virtual void Dispose(bool disposing)
{
if (!disposed)
{
if (disposing)
{
if (processZipalign != null)
{
try
{
if (!processZipalign.HasExited)
{
processZipalign.Kill();
}
}
catch (Exception ex)
{
Debug.WriteLine($"[Zipalign] Error disposing process: {ex.Message}");
}
finally
{
processZipalign.Dispose();
processZipalign = null;
}
}
}
disposed = true;
}
}
~Zipalign()
{
Dispose(false);
}
public int Align(string input, string output)
@@ -102,11 +152,63 @@ namespace APKToolGUI
processZipalign.BeginErrorReadLine();
processZipalign.WaitForExit();
//if (!Settings.Default.Zipalign_CheckOnly && Settings.Default.Zipalign_OverwriteOutputFile)
//{
File.Delete(output);
File.Move(PathUtils.GetDirectoryNameWithoutExtension(output) + "_align_temp.apk", output);
//}
// Handle temp file (only when not in CheckOnly mode)
if (!Settings.Default.Zipalign_CheckOnly)
{
string tempFile = PathUtils.GetDirectoryNameWithoutExtension(output) + "_align_temp.apk";
try
{
// 1. Delete output file
if (File.Exists(output))
{
File.Delete(output);
Debug.WriteLine($"[Zipalign] Deleted existing output: {output}");
}
// 2. Check temp file existence and move
if (File.Exists(tempFile))
{
File.Move(tempFile, output);
Debug.WriteLine($"[Zipalign] Moved temp file to output: {tempFile} -> {output}");
}
else
{
Debug.WriteLine($"[Zipalign] Warning: Temp file not found: {tempFile}");
return 1; // Return failure code
}
}
catch (IOException ex)
{
Debug.WriteLine($"[Zipalign] Failed to process output file: {ex.Message}");
// Attempt to cleanup temp file
try
{
if (File.Exists(tempFile))
{
File.Delete(tempFile);
Debug.WriteLine($"[Zipalign] Cleaned up temp file: {tempFile}");
}
}
catch (Exception cleanupEx)
{
Debug.WriteLine($"[Zipalign] Failed to cleanup temp file: {cleanupEx.Message}");
}
return 1;
}
catch (UnauthorizedAccessException ex)
{
Debug.WriteLine($"[Zipalign] Access denied: {ex.Message}");
return 1;
}
catch (Exception ex)
{
Debug.WriteLine($"[Zipalign] Unexpected error processing output: {ex.Message}");
return 1;
}
}
return ExitCode;
}
+7
View File
@@ -38,6 +38,13 @@ namespace APKToolGUI.Controls
public static void SetThemeTabControl(Control component, Control.ControlCollection container)
{
if (component is SplitContainer)
{
foreach (Control control in component.Controls)
{
SetThemeTabControl(control, container);
}
}
if (component is TabControl)
{
((TabControl)component).DrawMode = TabDrawMode.OwnerDrawFixed;
+39 -4
View File
@@ -29,12 +29,27 @@
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="Unmanaged32Assemblies" type="xs:string">
<xs:annotation>
<xs:documentation>A list of unmanaged 32 bit assembly names to include, delimited with line breaks.</xs:documentation>
<xs:documentation>Obsolete, use UnmanagedWinX86Assemblies instead</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="UnmanagedWinX86Assemblies" type="xs:string">
<xs:annotation>
<xs:documentation>A list of unmanaged X86 (32 bit) assembly names to include, delimited with line breaks.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="Unmanaged64Assemblies" type="xs:string">
<xs:annotation>
<xs:documentation>A list of unmanaged 64 bit assembly names to include, delimited with line breaks.</xs:documentation>
<xs:documentation>Obsolete, use UnmanagedWinX64Assemblies instead.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="UnmanagedWinX64Assemblies" type="xs:string">
<xs:annotation>
<xs:documentation>A list of unmanaged X64 (64 bit) assembly names to include, delimited with line breaks.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="UnmanagedWinArm64Assemblies" type="xs:string">
<xs:annotation>
<xs:documentation>A list of unmanaged Arm64 (64 bit) assembly names to include, delimited with line breaks.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="PreloadOrder" type="xs:string">
@@ -73,6 +88,11 @@
<xs:documentation>As part of Costura, embedded assemblies are no longer included as part of the build. This cleanup can be turned off.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DisableEventSubscription" type="xs:boolean">
<xs:annotation>
<xs:documentation>The attach method no longer subscribes to the `AppDomain.AssemblyResolve` (.NET 4.x) and `AssemblyLoadContext.Resolving` (.NET 6.0+) events.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="LoadAtModuleInit" type="xs:boolean">
<xs:annotation>
<xs:documentation>Costura by default will load as part of the module initialization. This flag disables that behavior. Make sure you call CosturaUtility.Initialize() somewhere in your code.</xs:documentation>
@@ -105,12 +125,27 @@
</xs:attribute>
<xs:attribute name="Unmanaged32Assemblies" type="xs:string">
<xs:annotation>
<xs:documentation>A list of unmanaged 32 bit assembly names to include, delimited with |.</xs:documentation>
<xs:documentation>Obsolete, use UnmanagedWinX86Assemblies instead</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UnmanagedWinX86Assemblies" type="xs:string">
<xs:annotation>
<xs:documentation>A list of unmanaged X86 (32 bit) assembly names to include, delimited with |.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Unmanaged64Assemblies" type="xs:string">
<xs:annotation>
<xs:documentation>A list of unmanaged 64 bit assembly names to include, delimited with |.</xs:documentation>
<xs:documentation>Obsolete, use UnmanagedWinX64Assemblies instead</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UnmanagedWinX64Assemblies" type="xs:string">
<xs:annotation>
<xs:documentation>A list of unmanaged X64 (64 bit) assembly names to include, delimited with |.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UnmanagedWinArm64Assemblies" type="xs:string">
<xs:annotation>
<xs:documentation>A list of unmanaged Arm64 (64 bit) assembly names to include, delimited with |.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PreloadOrder" type="xs:string">
+138
View File
@@ -0,0 +1,138 @@
<?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>
<data name="labelProductName.Text" xml:space="preserve">
<value>Tên phần mềm</value>
</data>
<data name="labelVersion.Text" xml:space="preserve">
<value>Phiên bản</value>
</data>
<data name="labelCopyright.Text" xml:space="preserve">
<value>Bản quyền</value>
</data>
<data name="textBoxDescription.Text" xml:space="preserve">
<value>Mô tả</value>
</data>
<data name="linkLabel1.Text" xml:space="preserve">
<value>Kho Github</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>Giới thiệu</value>
</data>
</root>
+1 -1
View File
@@ -130,7 +130,7 @@
<value>描述</value>
</data>
<data name="linkLabel1.Text" xml:space="preserve">
<value>Github反馈</value>
<value>Github 仓库</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>关于</value>
+863 -804
View File
File diff suppressed because it is too large Load Diff
+367 -288
View File
@@ -1,4 +1,5 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
@@ -10,18 +11,13 @@ using APKToolGUI.Properties;
using APKToolGUI.ApkTool;
using APKToolGUI.Utils;
using System.Threading.Tasks;
using System.Collections.Generic;
using APKToolGUI.Handlers;
using Microsoft.WindowsAPICodePack.Taskbar;
using System.Media;
using Ionic.Zip;
using System.Linq;
using System.Windows.Interop;
using System.Security.Cryptography;
using static System.Windows.Forms.VisualStyles.VisualStyleElement;
using APKToolGUI.Controls;
using Dark.Net;
using APKEasyTool;
using Ionic.Zip;
using System.Text.RegularExpressions;
namespace APKToolGUI
{
@@ -45,6 +41,8 @@ namespace APKToolGUI
private Stopwatch stopwatch = new Stopwatch();
private string lastStartedDate;
private Image previousApkIcon;
internal static FormMain Instance { get; private set; }
public FormMain()
@@ -61,6 +59,8 @@ namespace APKToolGUI
Text += " - v" + ProductVersion;
Application.ApplicationExit += new EventHandler(Application_ApplicationExit);
aapt = new AaptParser();
if (!File.Exists(Settings.Default.Decode_InputAppPath))
Settings.Default.Decode_InputAppPath = "";
if (!Directory.Exists(Settings.Default.Build_InputDir))
@@ -112,72 +112,6 @@ namespace APKToolGUI
new TaskBarJumpList(Handle);
}
private async void FormMain_Shown(object sender, EventArgs e)
{
await Task.Factory.StartNew(() =>
{
InitializeUpdateChecker();
InitializeZipalign();
javaPath = JavaUtils.GetJavaPath();
if (javaPath != null)
{
InitializeBaksmali();
InitializeSmali();
InitializeAPKTool();
InitializeSignapk();
InitializeApkEditor();
string javaVersion = apktool.GetJavaVersion();
if (javaVersion != null)
{
ToLog(ApktoolEventType.None, javaVersion);
string apktoolVersion = apktool.GetVersion();
string apkeditorVersion = apkeditor.GetVersion();
if (!String.IsNullOrWhiteSpace(apktoolVersion))
ToLog(ApktoolEventType.None, String.Format(Language.APKToolVersion + " {0}", apktoolVersion));
else
ToLog(ApktoolEventType.Error, Language.CantDetectApktoolVersion);
if (!String.IsNullOrWhiteSpace(apkeditorVersion))
ToLog(ApktoolEventType.None, apkeditorVersion);
else
ToLog(ApktoolEventType.Error, Language.CantDetectApkeditorVersion);
}
else
ToLog(ApktoolEventType.Error, Language.ErrorJavaDetect);
}
else
{
ToLog(ApktoolEventType.Error, Language.ErrorJavaDetect);
BeginInvoke(new MethodInvoker(delegate
{
tabPageMain.Enabled = false;
tabPageBaksmali.Enabled = false;
tabPageInstallFramework.Enabled = false;
}));
}
InitializeAdb();
if (AdminUtils.IsAdministrator())
ToLog(ApktoolEventType.Warning, Language.DragDropNotSupported);
else
ToLog(ApktoolEventType.None, Language.DragDropSupported);
ToLog(ApktoolEventType.None, String.Format(Language.TempDirectory, Program.TEMP_PATH));
TimeSpan updateInterval = DateTime.Now - Settings.Default.LastUpdateCheck;
if (updateInterval.Days > 0 && Settings.Default.CheckForUpdateAtStartup)
updateCheker.CheckAsync(true);
});
ToStatus(Language.Done, Resources.done);
RunCmdArgs();
await ListDevices();
}
#region Context menu args
private async void RunCmdArgs()
{
@@ -243,115 +177,159 @@ namespace APKToolGUI
#region Get APK Info
internal async Task GetApkInfo(string file)
{
if (File.Exists(file))
if (!File.Exists(file))
return;
ToLog(ApktoolEventType.None, Language.ParsingApkInfo);
ToStatus(Language.ParsingApkInfo, Resources.waiting);
try
{
ToLog(ApktoolEventType.None, Language.ParsingApkInfo);
ToStatus(Language.ParsingApkInfo, Resources.waiting);
string splitPath = Path.Combine(Program.TEMP_PATH, "SplitInfo");
// Parse APK in background
var parseResult = await ParseApkInBackgroundAsync(file, splitPath);
try
if (parseResult.Success)
{
string splitPath = Path.Combine(Program.TEMP_PATH, "SplitInfo");
string arch = "";
await Task.Factory.StartNew(() =>
{
DirectoryUtils.Delete(splitPath);
if (file.ContainsAny(".xapk", ".zip", ".apks", ".apkm"))
{
Directory.CreateDirectory(splitPath);
using (ZipFile zipDest = ZipFile.Read(file))
{
bool mainApkFound = false;
foreach (ZipEntry entry in zipDest.Entries)
{
if (!mainApkFound && !entry.FileName.Contains("config.") && entry.FileName.EndsWith(".apk"))
{
Debug.WriteLine("Found main APK" + entry.FileName);
entry.Extract(splitPath, ExtractExistingFileAction.OverwriteSilently);
file = Path.Combine(splitPath, entry.FileName);
mainApkFound = true;
}
if (entry.FileName.Contains("lib/armeabi-v7a"))
{
arch += "armeabi-v7a, ";
}
if (entry.FileName.Contains("lib/arm64-v8a"))
{
arch += "arm64-v8a, ";
}
if (entry.FileName.Contains("lib/x86"))
{
arch += "x86, ";
}
if (entry.FileName.Contains("lib/x86_64"))
{
arch += "x86_64, ";
}
}
}
}
});
bool parsed = false;
await Task.Factory.StartNew(() =>
{
aapt = new AaptParser();
parsed = aapt.Parse(file);
});
if (parsed)
{
if (apkIconPicBox.Image != null)
{
apkIconPicBox.Image.Dispose();
apkIconPicBox.Image = null;
}
fileTxtBox.Text = aapt.ApkFile;
appTxtBox.Text = aapt.AppName;
packNameTxtBox.Text = aapt.PackageName;
verTxtBox.Text = aapt.VersionName;
buildTxtBox.Text = aapt.VersionCode;
minSdkTxtBox.Text = aapt.MinSdkVersionDetailed;
targetSdkTxtBox.Text = aapt.TargetSdkVersionDetailed;
screenTxtBox.Text = aapt.Screens;
densityTxtBox.Text = aapt.Densities;
permTxtBox.Text = aapt.Permissions;
localsTxtBox.Text = aapt.Locales;
fullInfoTextBox.Text = aapt.FullInfo;
if (!String.IsNullOrEmpty(aapt.NativeCode))
archSdkTxtBox.Text = aapt.NativeCode;
else
archSdkTxtBox.Text = arch.RemoveLast(", ");
launchActivityTxtBox.Text = aapt.LaunchableActivity;
if (aapt.AppIcon != null)
{
await Task.Factory.StartNew(() =>
{
ZipUtils.ExtractFile(file, aapt.AppIcon, Path.Combine(Program.TEMP_PATH, aapt.PackageName));
});
string icon = Path.Combine(Program.TEMP_PATH, aapt.PackageName, Path.GetFileName(aapt.AppIcon));
if (File.Exists(icon))
{
apkIconPicBox.Image = BitmapUtils.LoadBitmap(icon);
}
}
DirectoryUtils.Delete(splitPath);
}
}
catch (Exception ex)
{
#if DEBUG
ToLog(ApktoolEventType.Warning, Language.ErrorGettingApkInfo + "\n" + ex.ToString());
#else
ToLog(ApktoolEventType.Warning, Language.ErrorGettingApkInfo);
#endif
// UI update is automatically executed on UI thread
UpdateApkInfoUI(parseResult);
// Get signature info in background
var signature = await Task.Run(() => signapk.GetSignature(parseResult.ActualFilePath));
// Update signature info UI
InvokeOnUIThread(() => sigTxtBox.Text = signature);
}
ToLog(ApktoolEventType.Success, Language.Done);
ToStatus(Language.Done, Resources.done);
}
#if DEBUG
catch (Exception ex)
{
ToLog(ApktoolEventType.Warning, Language.ErrorGettingApkInfo + "\n" + ex.ToString());
}
#else
catch (Exception)
{
ToLog(ApktoolEventType.Warning, Language.ErrorGettingApkInfo);
}
#endif
}
private async Task<ApkParseResult> ParseApkInBackgroundAsync(string file, string splitPath)
{
return await Task.Run(() =>
{
try
{
DirectoryUtils.Delete(splitPath);
List<string> archList = new List<string>();
string actualFile = file;
if (file.ContainsAny(".xapk", ".zip", ".apks", ".apkm"))
{
Directory.CreateDirectory(splitPath);
using (ZipFile zipDest = ZipFile.Read(file))
{
bool mainApkFound = false;
foreach (ZipEntry entry in zipDest.Entries)
{
if (!mainApkFound && !entry.FileName.Contains("config.") && entry.FileName.EndsWith(".apk"))
{
Debug.WriteLine("Found main APK: " + entry.FileName);
string extractPath = Path.Combine(splitPath, entry.FileName);
Directory.CreateDirectory(Path.GetDirectoryName(extractPath));
entry.Extract(splitPath, ExtractExistingFileAction.OverwriteSilently);
actualFile = extractPath;
mainApkFound = true;
}
if (entry.FileName.Contains("lib/armeabi-v7a") && !archList.Contains("armeabi-v7a"))
archList.Add("armeabi-v7a");
if (entry.FileName.Contains("lib/arm64-v8a") && !archList.Contains("arm64-v8a"))
archList.Add("arm64-v8a");
if (entry.FileName.Contains("lib/x86") && !archList.Contains("x86"))
archList.Add("x86");
if (entry.FileName.Contains("lib/x86_64") && !archList.Contains("x86_64"))
archList.Add("x86_64");
}
}
}
var aaptParser = new AaptParser();
var parsed = aaptParser.Parse(actualFile);
DirectoryUtils.Delete(splitPath);
return new ApkParseResult
{
Success = parsed,
Aapt = aaptParser,
Architecture = string.Join(", ", archList),
ActualFilePath = actualFile
};
}
catch (Exception ex)
{
Debug.WriteLine($"Error parsing APK: {ex.Message}");
DirectoryUtils.Delete(splitPath);
return new ApkParseResult { Success = false };
}
});
}
private void UpdateApkInfoUI(ApkParseResult result)
{
// Explicitly dispose previous image
if (previousApkIcon != null)
{
previousApkIcon.Dispose();
previousApkIcon = null;
Debug.WriteLine("[FormMain] Disposed previous APK icon");
}
// Remove PictureBox image reference
if (apkIconPicBox.Image != null)
{
apkIconPicBox.Image = null;
}
fileTxtBox.Text = result.Aapt.ApkFile;
appTxtBox.Text = result.Aapt.AppName;
packNameTxtBox.Text = result.Aapt.PackageName;
verTxtBox.Text = result.Aapt.VersionName;
buildTxtBox.Text = result.Aapt.VersionCode;
minSdkTxtBox.Text = result.Aapt.MinSdkVersionDetailed;
targetSdkTxtBox.Text = result.Aapt.TargetSdkVersionDetailed;
screenTxtBox.Text = result.Aapt.Screens;
densityTxtBox.Text = result.Aapt.Densities;
permTxtBox.Text = result.Aapt.Permissions;
localsTxtBox.Text = result.Aapt.Locales;
fullInfoTextBox.Text = result.Aapt.FullInfo;
launchActivityTxtBox.Text = result.Aapt.LaunchableActivity;
if (!String.IsNullOrEmpty(result.Aapt.NativeCode))
archSdkTxtBox.Text = result.Aapt.NativeCode;
else
archSdkTxtBox.Text = result.Architecture;
// Load new image and save reference
previousApkIcon = BitmapUtils.LoadBitmap(result.Aapt.GetIcon(result.ActualFilePath));
apkIconPicBox.Image = previousApkIcon;
sigTxtBox.Text = "Loading...";
}
private class ApkParseResult
{
public bool Success { get; set; }
public AaptParser Aapt { get; set; }
public string Architecture { get; set; }
public string ActualFilePath { get; set; }
}
#endregion
@@ -392,29 +370,22 @@ namespace APKToolGUI
#region Log & Status
internal void ToStatus(string message, Image statusImage)
{
BeginInvoke(new MethodInvoker(delegate
BeginInvokeOnUIThread(() =>
{
toolStripStatusLabelStateText.Text = message.Replace("\n", "").Replace("\r", "");
toolStripStatusLabelStateImage.Image = statusImage;
}));
});
}
internal void ToLog(string time, string message, Color backColor)
{
Debug.WriteLine(time + " " + message);
if (logTxtBox.InvokeRequired)
Invoke(new Action(delegate ()
{
//richTextBox1.SelectionColor = color ?? Color.Black;
logTxtBox.SelectionColor = backColor;
logTxtBox.AppendText(time + " " + message + Environment.NewLine);
}));
else
InvokeOnUIThread(() =>
{
logTxtBox.SelectionColor = backColor;
logTxtBox.AppendText(time + " " + message + Environment.NewLine);
}
});
}
internal void ToLog(ApktoolEventType eventType, string message)
@@ -453,6 +424,7 @@ namespace APKToolGUI
color = Color.DarkOrange;
else
color = Color.Orange;
color = Color.White;
break;
case ApktoolEventType.Unknown:
if (Program.IsDarkTheme())
@@ -593,7 +565,6 @@ namespace APKToolGUI
string tempApk = Path.Combine(Program.TEMP_PATH, "dec.apk");
string tempDecApk = Path.Combine(Program.TEMP_PATH, "dec");
string decOrigDir = Path.Combine(tempDecApk, "original");
string splitDir = Path.Combine(Program.TEMP_PATH, "SplitTmp");
string extractedDir = Path.Combine(splitDir, "ExtractedApks");
@@ -608,7 +579,7 @@ namespace APKToolGUI
DirectoryUtils.Delete(splitDir);
Directory.CreateDirectory(splitDir);
await Task.Factory.StartNew(() =>
await Task.Run(() =>
{
if (Settings.Default.Framework_ClearBeforeDecode)
{
@@ -634,27 +605,21 @@ namespace APKToolGUI
code = apkeditor.Merge(extractedDir, tempApk);
if (code == 0)
{
code = apktool.Decompile(tempApk, tempDecApk);
if (useAPKEditorForDecompilingItem.Checked)
code = apkeditor.Decompile(tempApk, tempDecApk);
else
code = apktool.Decompile(tempApk, tempDecApk);
if (code == 0)
{
ToLog(ApktoolEventType.None, Language.ExtractOrigSignature);
foreach (string apk in apkfiles)
{
ZipUtils.ExtractDirectory(apk, "META-INF", decOrigDir);
ZipUtils.ExtractFile(apk, "stamp-cert-sha256", decOrigDir);
break;
}
ToLog(ApktoolEventType.None, String.Format(Language.MoveTempApkFileToOutput, tempDecApk, outputDir));
DirectoryUtils.Delete(outputDir);
DirectoryUtils.Copy(tempDecApk, outputDir);
textBox_BUILD_InputProjectDir.BeginInvoke(new Action(delegate
BeginInvokeOnUIThread(() =>
{
textBox_BUILD_InputProjectDir.Text = outputDir;
}));
});
ToLog(ApktoolEventType.None, String.Format(Language.DecompilingSuccessfullyCompleted, outputDir));
if (Settings.Default.Decode_FixError)
@@ -704,7 +669,7 @@ namespace APKToolGUI
try
{
await Task.Factory.StartNew(() =>
await Task.Run(() =>
{
ToLog(ApktoolEventType.None, String.Format(Language.InputFile, inputSplitApk));
@@ -739,15 +704,10 @@ namespace APKToolGUI
#region Apktool
public async void SetApktoolPath()
{
apktool.JarPath = Program.APKTOOL_PATH;
if (Settings.Default.UseCustomApktool)
{
apktool.JarPath = Settings.Default.ApktoolPath;
}
InitializeAPKTool();
string apktoolVersion = apktool.GetVersion();
if (!String.IsNullOrWhiteSpace(apktoolVersion))
ToLog(ApktoolEventType.None, String.Format(Language.APKToolVersion + " \"{0}\"", apktoolVersion));
if (!String.IsNullOrWhiteSpace(apktool.Version))
ToLog(ApktoolEventType.None, $"{Language.APKToolVersion} \"{apktool.Version}\"");
else
ToLog(ApktoolEventType.Error, Language.CantDetectApktoolVersion);
@@ -791,7 +751,7 @@ namespace APKToolGUI
try
{
await Task.Factory.StartNew(() =>
await Task.Run(() =>
{
if (apktool.ClearFramework() == 0)
{
@@ -824,8 +784,10 @@ namespace APKToolGUI
outputDir = Path.Combine(Settings.Default.Decode_OutputDir, Path.GetFileNameWithoutExtension(inputApk));
string tempApk = Path.Combine(Program.TEMP_PATH, "dec.apk");
string tempDecApk = Path.Combine(Program.TEMP_PATH, "dec");
string outputTempDir = tempApk.Replace(".apk", "");
string outputDecDir = outputDir;
string decOrigDir = Path.Combine(tempDecApk, "original");
try
{
@@ -834,7 +796,7 @@ namespace APKToolGUI
ToLog(ApktoolEventType.Error, String.Format(Language.DecodeDesDirExists, outputDir));
return 1;
}
await Task.Factory.StartNew(() =>
await Task.Run(() =>
{
if (Settings.Default.Framework_ClearBeforeDecode && !Settings.Default.UseApkeditor)
{
@@ -873,10 +835,10 @@ namespace APKToolGUI
DirectoryUtils.Copy(outputTempDir, outputDir);
}
textBox_BUILD_InputProjectDir.BeginInvoke(new Action(delegate
BeginInvokeOnUIThread(() =>
{
textBox_BUILD_InputProjectDir.Text = outputDir;
}));
});
ToLog(ApktoolEventType.None, String.Format(Language.DecompilingSuccessfullyCompleted, outputDir));
if (Settings.Default.Decode_FixError && !useAPKEditorForDecompilingItem.Checked)
@@ -961,6 +923,8 @@ namespace APKToolGUI
{
string unsignedApkPath = Path.Combine(Path.GetDirectoryName(outputCompiledApkFile), Path.GetFileName(outputUnsignedApk));
ZipUtils.UpdateDirectory(outputFile, Path.Combine(inputFolder, "original", "META-INF"), "META-INF");
if (File.Exists(Path.Combine(inputFolder, "original", "stamp-cert-sha256")))
ZipUtils.UpdateFile(outputFile, Path.Combine(inputFolder, "original", "stamp-cert-sha256"));
ToLog(ApktoolEventType.Infomation, String.Format(Language.CopyFileTo, outputFile, unsignedApkPath));
File.Copy(outputFile, unsignedApkPath, true);
}
@@ -1072,7 +1036,7 @@ namespace APKToolGUI
Running(Language.DecompilingDex);
ToLog(ApktoolEventType.None, String.Format(Language.InputFile, inputFile));
await Task.Factory.StartNew(() =>
await Task.Run(() =>
{
string outputDir = String.Format("{0}", Path.Combine(Path.GetDirectoryName(inputFile), "dexout", Path.GetFileNameWithoutExtension(inputFile)));
if (Settings.Default.Baksmali_UseOutputDir && !IgnoreOutputDirContextMenu)
@@ -1081,10 +1045,10 @@ namespace APKToolGUI
code = baksmali.Disassemble(inputFile, outputDir);
if (code == 0)
{
textBox_BUILD_InputProjectDir.BeginInvoke(new Action(delegate
BeginInvokeOnUIThread(() =>
{
smaliBrowseInputDirTxtBox.Text = outputDir;
}));
});
Done(String.Format(Language.DecompilingSuccessfullyCompleted, outputDir));
}
else
@@ -1128,7 +1092,7 @@ namespace APKToolGUI
ToLog(ApktoolEventType.None, String.Format(Language.InputDirectory, inputDir));
await Task.Factory.StartNew(() =>
await Task.Run(() =>
{
string outputDir = String.Format("{0}.dex", inputDir);
if (Settings.Default.Smali_UseOutputDir && !IgnoreOutputDirContextMenu)
@@ -1185,7 +1149,7 @@ namespace APKToolGUI
try
{
await Task.Factory.StartNew(() =>
await Task.Run(() =>
{
string tempApk = Path.Combine(Program.TEMP_PATH, "tempapk.apk");
string outputApkFile = outputDir;
@@ -1266,7 +1230,7 @@ namespace APKToolGUI
Running(Language.Signing);
string outputFile = input;
if (Settings.Default.Zipalign_UseOutputDir && !IgnoreOutputDirContextMenu)
if (Settings.Default.Sign_UseOutputDir && !IgnoreOutputDirContextMenu)
outputFile = Path.Combine(Settings.Default.Sign_OutputDir, Path.GetFileName(input));
if (!Settings.Default.Sign_OverwriteInputFile)
outputFile = PathUtils.GetDirectoryNameWithoutExtension(outputFile) + "_signed.apk";
@@ -1278,7 +1242,7 @@ namespace APKToolGUI
try
{
await Task.Factory.StartNew(() =>
await Task.Run(() =>
{
if (Settings.Default.Utf8FilenameSupport)
{
@@ -1372,7 +1336,7 @@ namespace APKToolGUI
{
devicesListBox.Items.Clear();
await Task.Factory.StartNew(() =>
await Task.Run(() =>
{
devices = adb.GetDevices();
});
@@ -1422,7 +1386,7 @@ namespace APKToolGUI
try
{
await Task.Factory.StartNew(() =>
await Task.Run(() =>
{
code = adb.Install(device, inputApk);
if (code == 0)
@@ -1446,12 +1410,78 @@ namespace APKToolGUI
#endregion
#region Form handlers
private async void FormMain_Shown(object sender, EventArgs e)
{
await Task.Run(() =>
{
InitializeUpdateChecker();
InitializeZipalign();
javaPath = JavaUtils.GetJavaPath();
if (javaPath != null)
{
InitializeBaksmali();
InitializeSmali();
InitializeAPKTool();
InitializeSignapk();
InitializeApkEditor();
string javaVersion = apktool.GetJavaVersion();
if (javaVersion != null)
{
ToLog(ApktoolEventType.None, javaVersion);
if (!String.IsNullOrWhiteSpace(apktool.Version) && !Regex.IsMatch(apktool.Version, @"\r\n?|\n"))
ToLog(ApktoolEventType.None, $"{Language.APKToolVersion} {apktool.Version}");
else
ToLog(ApktoolEventType.Error, Language.CantDetectApktoolVersion);
string apkeditorVersion = apkeditor.GetVersion();
if (!String.IsNullOrWhiteSpace(apkeditorVersion))
ToLog(ApktoolEventType.None, apkeditorVersion);
else
ToLog(ApktoolEventType.Error, Language.CantDetectApkeditorVersion);
}
else
ToLog(ApktoolEventType.Error, Language.ErrorJavaDetect);
}
else
{
ToLog(ApktoolEventType.Error, Language.ErrorJavaDetect);
BeginInvoke(new MethodInvoker(delegate
{
tabPageMain.Enabled = false;
tabPageBaksmali.Enabled = false;
tabPageInstallFramework.Enabled = false;
}));
}
InitializeAdb();
if (AdminUtils.IsAdministrator())
ToLog(ApktoolEventType.Warning, Language.DragDropNotSupported);
else
ToLog(ApktoolEventType.None, Language.DragDropSupported);
ToLog(ApktoolEventType.None, String.Format(Language.TempDirectory, Program.TEMP_PATH));
TimeSpan updateInterval = DateTime.Now - Settings.Default.LastUpdateCheck;
if (updateInterval.Days > 0 && Settings.Default.CheckForUpdateAtStartup)
updateCheker.CheckAsync(true);
});
ToStatus(Language.Done, Resources.done);
RunCmdArgs();
await ListDevices();
}
private async void clearTempFolderToolStripMenuItem_Click(object sender, EventArgs e)
{
Running(Language.ClearTempFolder);
try
{
await Task.Factory.StartNew(() =>
await Task.Run(() =>
{
foreach (var subDir in new DirectoryInfo(Program.TEMP_MAIN).EnumerateDirectories())
{
@@ -1486,6 +1516,39 @@ namespace APKToolGUI
{
Save();
// Dispose APK icon image
try
{
if (previousApkIcon != null)
{
previousApkIcon.Dispose();
previousApkIcon = null;
Debug.WriteLine("[FormMain] Cleaned up APK icon on exit");
}
}
catch (Exception ex)
{
Debug.WriteLine($"[FormMain] Error disposing APK icon: {ex.Message}");
}
// Dispose all tool instances
try
{
adb?.Dispose();
zipalign?.Dispose();
apktool?.Dispose();
signapk?.Dispose();
baksmali?.Dispose();
smali?.Dispose();
apkeditor?.Dispose();
Debug.WriteLine("[FormMain] All tool instances disposed successfully");
}
catch (Exception ex)
{
Debug.WriteLine($"[FormMain] Error disposing resources: {ex.Message}");
}
DirectoryUtils.Delete(Program.TEMP_PATH);
}
@@ -1493,69 +1556,17 @@ namespace APKToolGUI
{
set
{
if (button_BUILD_Build.InvokeRequired)
button_BUILD_Build.BeginInvoke(new Action(delegate
{
button_BUILD_Build.Enabled = value;
}));
else
BeginInvokeOnUIThread(() =>
{
button_BUILD_Build.Enabled = value;
if (button_DECODE_Decode.InvokeRequired)
button_DECODE_Decode.BeginInvoke(new Action(delegate
{
button_DECODE_Decode.Enabled = value;
}));
else
button_DECODE_Decode.Enabled = value;
if (button_IF_InstallFramework.InvokeRequired)
button_IF_InstallFramework.BeginInvoke(new Action(delegate
{
button_IF_InstallFramework.Enabled = value;
}));
else
button_IF_InstallFramework.Enabled = value;
if (button_ZIPALIGN_Align.InvokeRequired)
button_ZIPALIGN_Align.BeginInvoke(new Action(delegate
{
button_ZIPALIGN_Align.Enabled = value;
}));
else
button_ZIPALIGN_Align.Enabled = value;
if (button_SIGN_Sign.InvokeRequired)
button_SIGN_Sign.BeginInvoke(new Action(delegate
{
button_SIGN_Sign.Enabled = value;
}));
else
button_SIGN_Sign.Enabled = value;
if (decSmaliBtn.InvokeRequired)
decSmaliBtn.BeginInvoke(new Action(delegate
{
decSmaliBtn.Enabled = value;
}));
else
decSmaliBtn.Enabled = value;
if (comSmaliBtn.InvokeRequired)
comSmaliBtn.BeginInvoke(new Action(delegate
{
comSmaliBtn.Enabled = value;
}));
else
comSmaliBtn.Enabled = value;
if (mergeApkBtn.InvokeRequired)
mergeApkBtn.BeginInvoke(new Action(delegate
{
mergeApkBtn.Enabled = value;
}));
else
mergeApkBtn.Enabled = value;
});
}
}
@@ -1563,15 +1574,18 @@ namespace APKToolGUI
{
set
{
killAdbBtn.Enabled = value;
refreshDevicesBtn.Enabled = value;
installApkBtn.Enabled = value;
devicesListBox.Enabled = value;
apkPathAdbTxtBox.Enabled = value;
selApkAdbBtn.Enabled = value;
setVendorChkBox.Enabled = value;
overrideAbiCheckBox.Enabled = value;
overrideAbiComboBox.Enabled = value;
InvokeOnUIThread(() =>
{
killAdbBtn.Enabled = value;
refreshDevicesBtn.Enabled = value;
installApkBtn.Enabled = value;
devicesListBox.Enabled = value;
apkPathAdbTxtBox.Enabled = value;
selApkAdbBtn.Enabled = value;
setVendorChkBox.Enabled = value;
overrideAbiCheckBox.Enabled = value;
overrideAbiComboBox.Enabled = value;
});
}
}
@@ -1579,6 +1593,53 @@ namespace APKToolGUI
{
MessageBox.Show(message, Application.ProductName, MessageBoxButtons.OK, status);
}
#region UI Thread Helpers
/// <summary>
/// Execute action synchronously on UI thread
/// </summary>
private void InvokeOnUIThread(Action action)
{
if (InvokeRequired)
{
Invoke(action);
}
else
{
action();
}
}
/// <summary>
/// Execute action asynchronously on UI thread (Fire and forget)
/// </summary>
private void BeginInvokeOnUIThread(Action action)
{
if (InvokeRequired)
{
BeginInvoke(action);
}
else
{
action();
}
}
/// <summary>
/// Execute function on UI thread and return result
/// </summary>
private T InvokeOnUIThread<T>(Func<T> func)
{
if (InvokeRequired)
{
return (T)Invoke(func);
}
else
{
return func();
}
}
#endregion
#endregion
#region Config
@@ -1627,5 +1688,23 @@ namespace APKToolGUI
}
}
#endregion
private void apkIconPicBox_Click(object sender, EventArgs e)
{
if (apkIconPicBox.Image != null)
{
using (SaveFileDialog saveFile = new SaveFileDialog())
{
saveFile.Filter = "PNG Image|*.png";
saveFile.Title = "Save an Image File";
saveFile.FileName = appTxtBox.Text; // Set default filename to app name
if (saveFile.ShowDialog() == DialogResult.OK && !String.IsNullOrEmpty(saveFile.FileName))
{
apkIconPicBox.Image.Save(saveFile.FileName, System.Drawing.Imaging.ImageFormat.Png);
}
}
}
}
}
}
}
+3
View File
@@ -277,6 +277,9 @@
<data name="groupBox_DECODE_Options.Text" xml:space="preserve">
<value>Optionen</value>
</data>
<data name="checkBox3.Text" xml:space="preserve">
<value>Anzahl der zu verwendenden Threads festlegen.</value>
</data>
<data name="checkBox7.Size" type="System.Drawing.Size, System.Drawing">
<value>457, 17</value>
</data>
File diff suppressed because it is too large Load Diff
+75
View File
@@ -275,4 +275,79 @@
<data name="label_SIGN_PublicKey.Text" xml:space="preserve">
<value>Открытый ключ</value>
</data>
<data name="tabPageMain.Text" xml:space="preserve">
<value>Главная</value>
</data>
<data name="tabPageApkInfo.Text" xml:space="preserve">
<value>Инфо APK</value>
</data>
<data name="checkBox4.Text" xml:space="preserve">
<value>Количество потоков:</value>
</data>
<data name="checkBox_BUILD_NetSecConf.Text" xml:space="preserve">
<value>Добавить файл конфигурации сетевой безопасности (Network Security Configuration)</value>
</data>
<data name="useAapt2ChkBox.Text" xml:space="preserve">
<value>Использовать aapt2 (для версий apktool &lt; 2.11.1)</value>
</data>
<data name="buildSetApiLvlChkBox.Text" xml:space="preserve">
<value>Установить уровень API (напр. 14 для ICS)</value>
</data>
<data name="createUnsignApkChkBox.Text" xml:space="preserve">
<value>Создать неподписанный APK с оригинальной подписью (Core Patch)</value>
</data>
<data name="signAfterBuildChkBox.Text" xml:space="preserve">
<value>Подписать после сборки / выравнивания</value>
</data>
<data name="zipalignAfterBuildChkBox.Text" xml:space="preserve">
<value>Выровнять после сборки</value>
</data>
<data name="checkBox_BUILD_NoCrunch.Text" xml:space="preserve">
<value>Отключить сжатие ресурсов</value>
</data>
<data name="tabPageBaksmali.Text" xml:space="preserve">
<value>Baksmali / Smali</value>
</data>
<data name="tabPageAdb.Text" xml:space="preserve">
<value>ADB</value>
</data>
<data name="mergeApkBtn.Text" xml:space="preserve">
<value>Слияние APK</value>
</data>
<data name="selSplitApkBtn.Text" xml:space="preserve">
<value>Выбрать Split APK</value>
</data>
<data name="baksmaliUseOutputChkBox.Text" xml:space="preserve">
<value>Свой каталог вывода:</value>
</data>
<data name="smaliUseOutputChkBox.Text" xml:space="preserve">
<value>Свой каталог вывода:</value>
</data>
<data name="killAdbBtn.Text" xml:space="preserve">
<value>Перезапустить ADB</value>
</data>
<data name="installApkBtn.Text" xml:space="preserve">
<value>Установить APK</value>
</data>
<data name="refreshDevicesBtn.Text" xml:space="preserve">
<value>Обновить список</value>
</data>
<data name="selApkAdbBtn.Text" xml:space="preserve">
<value>Выбрать APK</value>
</data>
<data name="overrideAbiCheckBox.Text" xml:space="preserve">
<value>Переопределить ABI:</value>
</data>
<data name="bakSmaliGroupBox.Text" xml:space="preserve">
<value>Baksmali (DEX -&gt; Smali)</value>
</data>
<data name="smaliGroupBox.Text" xml:space="preserve">
<value>Smali (Smali -&gt; DEX)</value>
</data>
<data name="decSmaliBtn.Text" xml:space="preserve">
<value>Дизассемблировать</value>
</data>
<data name="comSmaliBtn.Text" xml:space="preserve">
<value>Ассемблировать</value>
</data>
</root>
+549
View File
@@ -0,0 +1,549 @@
<?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>
<data name="splitApkTxt.Text" xml:space="preserve">
<value>Hợp nhất các tệp APK bị chia nhỏ thành một tệp APK duy nhất:</value>
</data>
<data name="mergeApkBtn.Text" xml:space="preserve">
<value>Hợp nhất</value>
</data>
<data name="comApkOpenDir.Text" xml:space="preserve">
<value>Thư mục APK đã biên dịch</value>
</data>
<data name="decOutOpenDirBtn.Text" xml:space="preserve">
<value>Thư mục đầu ra dịch ngược</value>
</data>
<data name="signApkOpenDirBtn.Text" xml:space="preserve">
<value>Thư mục APK đã ký</value>
</data>
<data name="alignApkOpenDirBtn.Text" xml:space="preserve">
<value>Thư mục APK đã Zipalign</value>
</data>
<data name="decApkOpenDirBtn.Text" xml:space="preserve">
<value>Thư mục APK đã dịch ngược</value>
</data>
<data name="compileOutputOpenDirBtn.Text" xml:space="preserve">
<value>Thư mục đầu ra biên dịch</value>
</data>
<data name="button_OpenMainActivity.Text" xml:space="preserve">
<value>Smali của Activity khởi động</value>
</data>
<data name="label4.Text" xml:space="preserve">
<value>Ký APK:</value>
</data>
<data name="button_SIGN_Sign.Text" xml:space="preserve">
<value>Ký</value>
</data>
<data name="label3.Text" xml:space="preserve">
<value>Zipalign tệp APK:</value>
</data>
<data name="button_ZIPALIGN_Align.Text" xml:space="preserve">
<value>Zipalign</value>
</data>
<data name="label2.Text" xml:space="preserve">
<value>Thư mục APK đã dịch ngược:</value>
</data>
<data name="button_BUILD_Build.Text" xml:space="preserve">
<value>Biên dịch</value>
</data>
<data name="label1.Text" xml:space="preserve">
<value>Tệp APK/XAPK/APKS/ZIP/APKM:</value>
</data>
<data name="button_DECODE_Decode.Text" xml:space="preserve">
<value>Dịch ngược</value>
</data>
<data name="tabPageMain.Text" xml:space="preserve">
<value>Trang chính</value>
</data>
<data name="label31.Text" xml:space="preserve">
<value>Activity khởi động:</value>
</data>
<data name="label30.Text" xml:space="preserve">
<value>Kiến trúc:</value>
</data>
<data name="label17.Text" xml:space="preserve">
<value>Tệp:</value>
</data>
<data name="label18.Text" xml:space="preserve">
<value>Bản địa hóa:</value>
</data>
<data name="label15.Text" xml:space="preserve">
<value>Quyền:</value>
</data>
<data name="label14.Text" xml:space="preserve">
<value>Mật độ (DPI):</value>
</data>
<data name="label19.Text" xml:space="preserve">
<value>Liên kết cửa hàng:</value>
</data>
<data name="label7.Text" xml:space="preserve">
<value>Tên ứng dụng:</value>
</data>
<data name="label9.Text" xml:space="preserve">
<value>Tên gói ứng dụng:</value>
</data>
<data name="label8.Text" xml:space="preserve">
<value>Phiên bản:</value>
</data>
<data name="label11.Text" xml:space="preserve">
<value>SDK tương thích tối thiểu:</value>
</data>
<data name="label10.Text" xml:space="preserve">
<value>Tên mã:</value>
</data>
<data name="label13.Text" xml:space="preserve">
<value>Kích thước màn hình</value>
</data>
<data name="label12.Text" xml:space="preserve">
<value>SDK mục tiêu:</value>
</data>
<data name="basicInfoTabPage.Text" xml:space="preserve">
<value>Thông tin cơ bản</value>
</data>
<data name="tabPage3.Text" xml:space="preserve">
<value>Thông tin đầy đủ</value>
</data>
<data name="tabPageApkInfo.Text" xml:space="preserve">
<value>Thông tin APK</value>
</data>
<data name="checkBox7.Text" xml:space="preserve">
<value>Không phân tích thông tin APK khi chọn APK để dịch ngược</value>
</data>
<data name="decSetApiLvlChkBox.Text" xml:space="preserve">
<value>Đặt cấp độ API cho các tệp sẽ được tạo, ví dụ: 14 cho ICS.</value>
</data>
<data name="checkBox_DECODE_FixError.Text" xml:space="preserve">
<value>Sửa lỗi ApkTool sau khi dịch ngược</value>
</data>
<data name="checkBox_DECODE_FixError.ToolTip" xml:space="preserve">
<value>Sẽ xóa extractNativeLibs, useEmbeddedDex, APKTOOL_DUMMY, các thuộc tính liên quan đến split và đặt sparseresource thành false</value>
</data>
<data name="checkBox_DECODE_OnlyMainClasses.Text" xml:space="preserve">
<value>Chỉ dịch ngược các tệp dex chính trong thư mục gốc (classes[0-9]*.dex).</value>
</data>
<data name="checkBox_DECODE_OnlyMainClasses.ToolTip" xml:space="preserve">
<value>Sửa lỗi ApkTool bất thường</value>
</data>
<data name="checkBox_DECODE_UseFramework.Text" xml:space="preserve">
<value>Sử dụng vị trí tệp framework:</value>
</data>
<data name="checkBox_DECODE_MatchOriginal.Text" xml:space="preserve">
<value>Giữ các tệp gần với bản gốc nhất có thể, ngăn việc xây dựng lại</value>
</data>
<data name="checkBox_DECODE_OutputDirectory.Text" xml:space="preserve">
<value>Thư mục đầu ra:</value>
</data>
<data name="checkBox_DECODE_KeepBrokenRes.Text" xml:space="preserve">
<value>Giữ lại tài nguyên bị hỏng</value>
</data>
<data name="checkBox_DECODE_NoSrc.Text" xml:space="preserve">
<value>Không dịch ngược mã nguồn</value>
</data>
<data name="checkBox_DECODE_Force.Text" xml:space="preserve">
<value>Buộc xóa thư mục đích</value>
</data>
<data name="checkBox_DECODE_NoRes.Text" xml:space="preserve">
<value>Không dịch ngược tài nguyên (resources)</value>
</data>
<data name="checkBox_DECODE_NoDebugInfo.Text" xml:space="preserve">
<value>Không xuất thông tin gỡ lỗi (.local, .param, .line, v.v.)</value>
</data>
<data name="groupBox_DECODE_Options.Text" xml:space="preserve">
<value>Tùy chọn</value>
</data>
<data name="tabPageDecode.Text" xml:space="preserve">
<value>Dịch ngược</value>
</data>
<data name="checkBox_BUILD_NetSecConf.Text" xml:space="preserve">
<value>Thêm cấu hình bảo mật mạng chung vào APK đầu ra</value>
</data>
<data name="useAapt2ChkBox.Text" xml:space="preserve">
<value>Sử dụng aapt2 (Nâng cấp apktool để sử dụng tệp nhị phân aapt2 thử nghiệm)</value>
</data>
<data name="buildSetApiLvlChkBox.Text" xml:space="preserve">
<value>Đặt cấp độ API cho các tệp sẽ được tạo, ví dụ: 14 cho ICS.</value>
</data>
<data name="createUnsignApkChkBox.Text" xml:space="preserve">
<value>Tạo APK chưa ký với chữ ký gốc sau khi biên dịch</value>
</data>
<data name="createUnsignApkChkBox.ToolTip" xml:space="preserve">
<value>Chỉ tương thích với các mô-đun vá lõi, yêu cầu thiết bị đã root.</value>
</data>
<data name="signAfterBuildChkBox.Text" xml:space="preserve">
<value>Ký sau khi Biên dịch/Zipalign</value>
</data>
<data name="zipalignAfterBuildChkBox.Text" xml:space="preserve">
<value>Zipalign sau khi biên dịch</value>
</data>
<data name="checkBox_BUILD_NoCrunch.Text" xml:space="preserve">
<value>Vô hiệu hóa việc xử lý các tệp tài nguyên trong bước biên dịch</value>
</data>
<data name="checkBox_BUILD_ForceAll.Text" xml:space="preserve">
<value>Bỏ qua kiểm tra thay đổi và biên dịch tất cả các tệp</value>
</data>
<data name="checkBox_BUILD_OutputAppPath.Text" xml:space="preserve">
<value>Thư mục đầu ra APK</value>
</data>
<data name="checkBox_BUILD_OutputAppPath.ToolTip" xml:space="preserve">
<value>Thư mục đầu ra đã biên dịch cũng sẽ được sử dụng cho Zipalign và ký</value>
</data>
<data name="checkBox_BUILD_CopyOriginal.Text" xml:space="preserve">
<value>Sao chép thư mục AndroidManifest.xml và META-INF gốc</value>
</data>
<data name="checkBox_BUILD_UseAapt.Text" xml:space="preserve">
<value>Sử dụng vị trí tệp aapt.exe:</value>
</data>
<data name="checkBox_BUILD_UseFramework.Text" xml:space="preserve">
<value>Sử dụng vị trí tệp framework:</value>
</data>
<data name="groupBox_BUILD_Options.Text" xml:space="preserve">
<value>Tùy chọn</value>
</data>
<data name="tabPageBuild.Text" xml:space="preserve">
<value>Biên dịch</value>
</data>
<data name="checkBox2.Text" xml:space="preserve">
<value>Cài đặt APK sau khi ký (đảm bảo đã chọn thiết bị trong tùy chọn ADB trước)</value>
</data>
<data name="checkBox1.Text" xml:space="preserve">
<value>Ghi đè tệp đầu vào</value>
</data>
<data name="autoDelIdsigChkBox.Text" xml:space="preserve">
<value>Tự động xóa tệp idsig</value>
</data>
<data name="schemev4ComboBox.Items" xml:space="preserve">
<value>Mặc định</value>
</data>
<data name="schemev4ComboBox.Items1" xml:space="preserve">
<value>Bật</value>
</data>
<data name="schemev4ComboBox.Items2" xml:space="preserve">
<value>Tắt</value>
</data>
<data name="label27.Text" xml:space="preserve">
<value>Lược đồ ký v4:</value>
</data>
<data name="schemev3ComboBox.Items" xml:space="preserve">
<value>Mặc định</value>
</data>
<data name="schemev3ComboBox.Items1" xml:space="preserve">
<value>Bật</value>
</data>
<data name="schemev3ComboBox.Items2" xml:space="preserve">
<value>Tắt</value>
</data>
<data name="label26.Text" xml:space="preserve">
<value>Lược đồ ký v3:</value>
</data>
<data name="schemev2ComboBox.Items" xml:space="preserve">
<value>Mặc định</value>
</data>
<data name="schemev2ComboBox.Items1" xml:space="preserve">
<value>Bật</value>
</data>
<data name="schemev2ComboBox.Items2" xml:space="preserve">
<value>Tắt</value>
</data>
<data name="label25.Text" xml:space="preserve">
<value>Lược đồ ký v2:</value>
</data>
<data name="schemev1ComboBox.Items" xml:space="preserve">
<value>Mặc định</value>
</data>
<data name="schemev1ComboBox.Items1" xml:space="preserve">
<value>Bật</value>
</data>
<data name="schemev1ComboBox.Items2" xml:space="preserve">
<value>Tắt</value>
</data>
<data name="label24.Text" xml:space="preserve">
<value>Lược đồ ký v1:</value>
</data>
<data name="useAliasChkBox.Text" xml:space="preserve">
<value>Tên bí danh (Alias)</value>
</data>
<data name="label22.Text" xml:space="preserve">
<value>Rất khuyến khích bạn sử dụng khóa của riêng mình, được tạo bằng Android Studio hoặc các công cụ khác</value>
</data>
<data name="label21.Text" xml:space="preserve">
<value>Mật khẩu:</value>
</data>
<data name="label20.Text" xml:space="preserve">
<value>Tệp keystore/jks:</value>
</data>
<data name="useKeyStoreChkBox.Text" xml:space="preserve">
<value>Sử dụng keystore</value>
</data>
<data name="useSigningOutputDir.Text" xml:space="preserve">
<value>Thư mục đầu ra APK:</value>
</data>
<data name="label_SIGN_PrivateKey.Text" xml:space="preserve">
<value>Khóa riêng:</value>
</data>
<data name="label_SIGN_PublicKey.Text" xml:space="preserve">
<value>Khóa công khai:</value>
</data>
<data name="groupBox_SIGN_Options.Text" xml:space="preserve">
<value>Tùy chọn</value>
</data>
<data name="tabPageSign.Text" xml:space="preserve">
<value>Ký</value>
</data>
<data name="zipalignOutputDirChkBox.Text" xml:space="preserve">
<value>Thư mục đầu ra APK:</value>
</data>
<data name="signAfterZipalignChkBox.Text" xml:space="preserve">
<value>Ký sau khi zipalign</value>
</data>
<data name="checkBox_ZIPALIGN_Recompress.Text" xml:space="preserve">
<value>Nén lại bằng Zopfli</value>
</data>
<data name="label_ZIPALIGN_AlignmentBytes.Text" xml:space="preserve">
<value>Căn chỉnh theo byte, ví dụ: '4' cung cấp căn chỉnh 32-bit</value>
</data>
<data name="checkBox_ZIPALIGN_CheckAlignment.Text" xml:space="preserve">
<value>Chỉ kiểm tra căn chỉnh (không sửa đổi tệp)</value>
</data>
<data name="checkBox_ZIPALIGN_VerboseOutput.Text" xml:space="preserve">
<value>Đầu ra chi tiết</value>
</data>
<data name="checkBox_ZIPALIGN_OverwriteOutputFile.Text" xml:space="preserve">
<value>Ghi đè tệp đầu ra hiện có</value>
</data>
<data name="groupBox_ZIPALIGN_Options.Text" xml:space="preserve">
<value>Tùy chọn</value>
</data>
<data name="tabPageZipAlign.Text" xml:space="preserve">
<value>Zipalign</value>
</data>
<data name="openFwFolderBtn.Text" xml:space="preserve">
<value>Mở thư mục framework</value>
</data>
<data name="clearFwBtn.Text" xml:space="preserve">
<value>Xóa bộ nhớ đệm framework</value>
</data>
<data name="clearFwBeforeDecodeChkBox.Text" xml:space="preserve">
<value>Xóa bộ nhớ đệm Framework trước khi dịch ngược</value>
</data>
<data name="groupBox1.Text" xml:space="preserve">
<value>Tùy chọn</value>
</data>
<data name="checkBox_IF_Tag.Text" xml:space="preserve">
<value>Gắn thẻ frameworks bằng:</value>
</data>
<data name="checkBox_IF_FramePath.Text" xml:space="preserve">
<value>Lưu trữ tệp framework vào:</value>
</data>
<data name="button_IF_InstallFramework.Text" xml:space="preserve">
<value>Cài đặt</value>
</data>
<data name="groupBox_IF_Options.Text" xml:space="preserve">
<value>Tùy chọn</value>
</data>
<data name="label29.Text" xml:space="preserve">
<value>Thư mục biên dịch Smali:</value>
</data>
<data name="smaliUseOutputChkBox.Text" xml:space="preserve">
<value>Thư mục đầu ra Dex:</value>
</data>
<data name="comSmaliBtn.Text" xml:space="preserve">
<value>Biên dịch</value>
</data>
<data name="label28.Text" xml:space="preserve">
<value>Dịch ngược Dex:</value>
</data>
<data name="baksmaliUseOutputChkBox.Text" xml:space="preserve">
<value>Thư mục đầu ra:</value>
</data>
<data name="decSmaliBtn.Text" xml:space="preserve">
<value>Dịch ngược</value>
</data>
<data name="label33.Text" xml:space="preserve">
<value>Chọn thiết bị</value>
</data>
<data name="killAdbBtn.Text" xml:space="preserve">
<value>Dừng tiến trình ADB</value>
</data>
<data name="installApkBtn.Text" xml:space="preserve">
<value>Cài đặt APK</value>
</data>
<data name="refreshDevicesBtn.Text" xml:space="preserve">
<value>Làm mới</value>
</data>
<data name="overrideAbiCheckBox.Text" xml:space="preserve">
<value>Ghi đè ABI mặc định của nền tảng:</value>
</data>
<data name="setVendorChkBox.Text" xml:space="preserve">
<value>Đặt nhà cung cấp là Play Store (com.android.vending)</value>
</data>
<data name="label32.Text" xml:space="preserve">
<value>Chọn APK: </value>
</data>
<data name="toolStripStatusLabelStateText.Text" xml:space="preserve">
<value>Đang tải...</value>
</data>
<data name="clearLogToolStripMenuItem.Text" xml:space="preserve">
<value>Xóa nhật ký</value>
</data>
<data name="newInsToolStripMenuItem.Text" xml:space="preserve">
<value>Tiến trình mới</value>
</data>
<data name="saveLogToFileToolStripMenuItem.Text" xml:space="preserve">
<value>Lưu nhật ký</value>
</data>
<data name="openTempFolderToolStripMenuItem.Text" xml:space="preserve">
<value>Mở thư mục tạm</value>
</data>
<data name="clearTempFolderToolStripMenuItem.Text" xml:space="preserve">
<value>Xóa thư mục tạm</value>
</data>
<data name="exitToolStripMenuItem.Text" xml:space="preserve">
<value>Thoát</value>
</data>
<data name="fileToolStripMenuItem.Text" xml:space="preserve">
<value>Tệp</value>
</data>
<data name="useAPKEditorForDecompilingItem.Text" xml:space="preserve">
<value>Sử dụng APKEditor để dịch ngược</value>
</data>
<data name="settingsToolStripMenuItem.Text" xml:space="preserve">
<value>Cài đặt</value>
</data>
<data name="checkForUpdateToolStripMenuItem.Text" xml:space="preserve">
<value>Kiểm tra cập nhật</value>
</data>
<data name="reportAnIsuueToolStripMenuItem.Text" xml:space="preserve">
<value>Báo cáo sự cố</value>
</data>
<data name="apktoolIssuesToolStripMenuItem.Text" xml:space="preserve">
<value>Sự cố Apktool</value>
</data>
<data name="baksmaliIssuesToolStripMenuItem.Text" xml:space="preserve">
<value>Sự cố Baksmali</value>
</data>
<data name="aboutToolStripMenuItem.Text" xml:space="preserve">
<value>Giới thiệu</value>
</data>
<data name="helpToolStripMenuItem.Text" xml:space="preserve">
<value>Trợ giúp</value>
</data>
<data name="checkBox_DECODE_UseApkEditorMerge.Text" xml:space="preserve">
<value>Sử dụng APKEditor.jar để hợp nhất/tách APK (nhanh hơn)</value>
</data>
</root>
+194 -182
View File
@@ -117,35 +117,65 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="splitApkTxt.Text" xml:space="preserve">
<value>将拆分的 APK 合并为单个 APK:</value>
</data>
<data name="mergeApkBtn.Text" xml:space="preserve">
<value>合并</value>
</data>
<data name="comApkOpenDir.Text" xml:space="preserve">
<value>编译的APK目录</value>
<value>编译的 APK 目录</value>
</data>
<data name="decOutOpenDirBtn.Text" xml:space="preserve">
<value>反编译输出目录</value>
</data>
<data name="signApkOpenDirBtn.Text" xml:space="preserve">
<value>签名的APK目录</value>
<value>签名的 APK 目录</value>
</data>
<data name="alignApkOpenDirBtn.Text" xml:space="preserve">
<value>Zip 对齐的 APK 目录</value>
</data>
<data name="decApkOpenDirBtn.Text" xml:space="preserve">
<value>反编译的 APK 目录</value>
</data>
<data name="compileOutputOpenDirBtn.Text" xml:space="preserve">
<value>编译输出目录</value>
</data>
<data name="button_OpenMainActivity.Text" xml:space="preserve">
<value>启动项 smail</value>
</data>
<data name="label4.Text" xml:space="preserve">
<value>APK 签名:</value>
</data>
<data name="button_SIGN_Sign.Text" xml:space="preserve">
<value>签名</value>
</data>
<data name="label3.Text" xml:space="preserve">
<value>APK 文件对齐优化:</value>
</data>
<data name="button_ZIPALIGN_Align.Text" xml:space="preserve">
<value>对齐优化</value>
</data>
<data name="label2.Text" xml:space="preserve">
<value>反编译 APK 目录:</value>
</data>
<data name="button_BUILD_Build.Text" xml:space="preserve">
<value>编译</value>
</data>
<data name="label1.Text" xml:space="preserve">
<value>APK/XAPK/APKS/ZIP/APKM 文件:</value>
</data>
<data name="button_DECODE_Decode.Text" xml:space="preserve">
<value>反编译</value>
</data>
<data name="tabPageMain.Text" xml:space="preserve">
<value>首页</value>
</data>
<data name="basicInfoTabPage.Text" xml:space="preserve">
<value>基本信息</value>
<data name="label31.Text" xml:space="preserve">
<value>启动 activity:</value>
</data>
<data name="tabPage3.Text" xml:space="preserve">
<value>完整信息</value>
</data>
<data name="tabPageApkInfo.Text" xml:space="preserve">
<value>APK信息</value>
<data name="label30.Text" xml:space="preserve">
<value>架构:</value>
</data>
<data name="label17.Text" xml:space="preserve">
<value>文件:</value>
@@ -156,6 +186,9 @@
<data name="label15.Text" xml:space="preserve">
<value>权限:</value>
</data>
<data name="label14.Text" xml:space="preserve">
<value>密度:</value>
</data>
<data name="label19.Text" xml:space="preserve">
<value>商店链接:</value>
</data>
@@ -169,7 +202,7 @@
<value>版本:</value>
</data>
<data name="label11.Text" xml:space="preserve">
<value>最小兼容SDK:</value>
<value>最小兼容 SDK:</value>
</data>
<data name="label10.Text" xml:space="preserve">
<value>代号:</value>
@@ -178,97 +211,106 @@
<value>屏幕尺寸</value>
</data>
<data name="label12.Text" xml:space="preserve">
<value>目标SDK:</value>
<value>目标 SDK:</value>
</data>
<data name="label14.Text" xml:space="preserve">
<value>密度:</value>
<data name="basicInfoTabPage.Text" xml:space="preserve">
<value>基本信息</value>
</data>
<data name="label31.Text" xml:space="preserve">
<value>桌面启动项</value>
<data name="tabPage3.Text" xml:space="preserve">
<value>完整信息</value>
</data>
<data name="label30.Text" xml:space="preserve">
<value>架构:</value>
<data name="tabPageApkInfo.Text" xml:space="preserve">
<value>APK 信息</value>
</data>
<data name="newInsToolStripMenuItem.Text" xml:space="preserve">
<value>新进程</value>
<data name="checkBox7.Text" xml:space="preserve">
<value>在选择 APK 进行反编译时,不要解析 APK 信息</value>
</data>
<data name="saveLogToFileToolStripMenuItem.Text" xml:space="preserve">
<value>保存日志</value>
<data name="decSetApiLvlChkBox.Text" xml:space="preserve">
<value>设置要生成的文件的 API 级别,例如 ICS 的 14。</value>
</data>
<data name="settingsToolStripMenuItem.Text" xml:space="preserve">
<value>设置</value>
<data name="checkBox_DECODE_FixError.Text" xml:space="preserve">
<value>修复反编译后的 ApkTool 错误</value>
</data>
<data name="openTempFolderToolStripMenuItem.Text" xml:space="preserve">
<value>打开缓存目录</value>
<data name="checkBox_DECODE_FixError.ToolTip" xml:space="preserve">
<value>将删除 extractNativeLibs, useEmbeddedDex, APKTOOL_DUMMY,拆分相关属性并将 sparseresource 设置为 false</value>
</data>
<data name="clearTempFolderToolStripMenuItem.Text" xml:space="preserve">
<value>清空缓存目录</value>
<data name="checkBox_DECODE_OnlyMainClasses.Text" xml:space="preserve">
<value>只反汇编根目录中的主索引类(classes[0-9]*.dex)。</value>
</data>
<data name="exitToolStripMenuItem.Text" xml:space="preserve">
<value>退出</value>
<data name="checkBox_DECODE_OnlyMainClasses.ToolTip" xml:space="preserve">
<value>修复异常的 ApkTool 错误</value>
</data>
<data name="fileToolStripMenuItem.Text" xml:space="preserve">
<value>文件</value>
<data name="checkBox_DECODE_UseFramework.Text" xml:space="preserve">
<value>使用的 framework 文件位置:</value>
</data>
<data name="checkForUpdateToolStripMenuItem.Text" xml:space="preserve">
<value>检查更新</value>
<data name="checkBox_DECODE_MatchOriginal.Text" xml:space="preserve">
<value>尽可能保持文件最接近原始,防止重建</value>
</data>
<data name="reportAnIsuueToolStripMenuItem.Text" xml:space="preserve">
<value>反馈问题</value>
<data name="checkBox_DECODE_OutputDirectory.Text" xml:space="preserve">
<value>输出目录:</value>
</data>
<data name="apktoolIssuesToolStripMenuItem.Text" xml:space="preserve">
<value>Apktool问题反馈</value>
<data name="checkBox_DECODE_KeepBrokenRes.Text" xml:space="preserve">
<value>保留损坏资源</value>
</data>
<data name="baksmaliIssuesToolStripMenuItem.Text" xml:space="preserve">
<value>Baksmail问题反馈</value>
<data name="checkBox_DECODE_NoSrc.Text" xml:space="preserve">
<value>不反编译源码</value>
</data>
<data name="aboutToolStripMenuItem.Text" xml:space="preserve">
<value>关于</value>
<data name="checkBox_DECODE_Force.Text" xml:space="preserve">
<value>强制删除目标目录</value>
</data>
<data name="helpToolStripMenuItem.Text" xml:space="preserve">
<value>帮助</value>
<data name="checkBox_DECODE_NoRes.Text" xml:space="preserve">
<value>不反编译 resouces</value>
</data>
<data name="checkBox_DECODE_NoDebugInfo.Text" xml:space="preserve">
<value>不要输出调试信息(.Local, .param, .line等)</value>
</data>
<data name="groupBox_DECODE_Options.Text" xml:space="preserve">
<value>选项</value>
</data>
<data name="tabPageDecode.Text" xml:space="preserve">
<value>反编译</value>
</data>
<data name="checkBox_BUILD_NetSecConf.Text" xml:space="preserve">
<value>在输出APK中添加通用的网络安全配置文件</value>
<value>在输出 APK 中添加通用的网络安全配置文件</value>
</data>
<data name="useAapt2ChkBox.Text" xml:space="preserve">
<value>使用aapt2(升级apktool使用实验性aapt2二进制)</value>
<value>使用 aapt2(升级 apktool 使用实验性 aapt2 二进制)</value>
</data>
<data name="buildSetApiLvlChkBox.Text" xml:space="preserve">
<value>设置要生成的文件的API级别,例如ICS14</value>
<value>设置要生成的文件的 API 级别,例如 ICS14</value>
</data>
<data name="createUnsignApkChkBox.Text" xml:space="preserve">
<value>构建后创建有原始签名的未签名APK</value>
<value>构建后创建有原始签名的未签名 APK</value>
</data>
<data name="createUnsignApkChkBox.ToolTip" xml:space="preserve">
<value>只兼容核心补丁模块,需要root设备。</value>
<value>只兼容核心补丁模块,需要 root 设备。</value>
</data>
<data name="signAfterBuildChkBox.Text" xml:space="preserve">
<value>在构建 / zip对齐后进行签名</value>
<value>在 构建/zip对齐 后进行签名</value>
</data>
<data name="zipalignAfterBuildChkBox.Text" xml:space="preserve">
<value>在构建后进行zip对齐优化</value>
<value>在构建后进行 zip对齐</value>
</data>
<data name="checkBox_BUILD_NoCrunch.Text" xml:space="preserve">
<value>在构建步骤中禁用对resource文件的处理</value>
<value>在构建步骤中禁用对 resource 文件的处理</value>
</data>
<data name="checkBox_BUILD_ForceAll.Text" xml:space="preserve">
<value>跳过变更检测并构建所有文件</value>
</data>
<data name="checkBox_BUILD_OutputAppPath.Text" xml:space="preserve">
<value>APK输出目录</value>
<value>APK 输出目录</value>
</data>
<data name="checkBox_BUILD_OutputAppPath.ToolTip" xml:space="preserve">
<value>编译后的输出目录也将用于Zipalign和签名</value>
<value>编译后的输出目录也将用于 Zipalign 和签名</value>
</data>
<data name="checkBox_BUILD_CopyOriginal.Text" xml:space="preserve">
<value>复制原来的AndroidManifest.xmlMETA-INF文件夹</value>
<value>复制原来的 AndroidManifest.xmlMETA-INF 文件夹</value>
</data>
<data name="checkBox_BUILD_UseAapt.Text" xml:space="preserve">
<value>使用的aapt.exe文件位置:</value>
<value>使用的 aapt.exe 文件位置:</value>
</data>
<data name="checkBox_BUILD_UseFramework.Text" xml:space="preserve">
<value>使用的framework文件位置:</value>
<value>使用的 framework 文件位置:</value>
</data>
<data name="groupBox_BUILD_Options.Text" xml:space="preserve">
<value>选项</value>
@@ -276,38 +318,14 @@
<data name="tabPageBuild.Text" xml:space="preserve">
<value>构建</value>
</data>
<data name="label33.Text" xml:space="preserve">
<value>选择设备</value>
</data>
<data name="killAdbBtn.Text" xml:space="preserve">
<value>结束ADB进程</value>
</data>
<data name="installApkBtn.Text" xml:space="preserve">
<value>安装APK</value>
</data>
<data name="refreshDevicesBtn.Text" xml:space="preserve">
<value>刷新</value>
</data>
<data name="setVendorChkBox.Text" xml:space="preserve">
<value>设置vendor为Play Store (com.android.vending)</value>
</data>
<data name="label32.Text" xml:space="preserve">
<value>选择APK</value>
</data>
<data name="toolStripStatusLabelStateText.Text" xml:space="preserve">
<value>加载中...</value>
</data>
<data name="clearLogToolStripMenuItem.Text" xml:space="preserve">
<value>清除日志</value>
</data>
<data name="checkBox2.Text" xml:space="preserve">
<value>签名后安装APK(确保首先在ADB选项中选择设备)</value>
<value>签名后安装 APK(确保首先在 ADB 选项中选择设备)</value>
</data>
<data name="checkBox1.Text" xml:space="preserve">
<value>覆盖输入文件</value>
</data>
<data name="autoDelIdsigChkBox.Text" xml:space="preserve">
<value>自动删除idsig文件</value>
<value>自动删除 idsig 文件</value>
</data>
<data name="schemev4ComboBox.Items" xml:space="preserve">
<value>默认</value>
@@ -337,7 +355,7 @@
<value>默认</value>
</data>
<data name="schemev2ComboBox.Items1" xml:space="preserve">
<value>选择</value>
<value>启用</value>
</data>
<data name="schemev2ComboBox.Items2" xml:space="preserve">
<value>关闭</value>
@@ -357,17 +375,23 @@
<data name="label24.Text" xml:space="preserve">
<value>签名方案 v1:</value>
</data>
<data name="useAliasChkBox.Text" xml:space="preserve">
<value>别名</value>
</data>
<data name="label22.Text" xml:space="preserve">
<value>强烈建议您使用自己的密钥,通过 Android Studio 或其他工具创建</value>
</data>
<data name="label21.Text" xml:space="preserve">
<value>密码:</value>
</data>
<data name="label20.Text" xml:space="preserve">
<value>keystore/jks文件:</value>
<value>keystore/jks 文件:</value>
</data>
<data name="useKeyStoreChkBox.Text" xml:space="preserve">
<value>使用keystore</value>
<value>使用 keystore</value>
</data>
<data name="useSigningOutputDir.Text" xml:space="preserve">
<value>APK输出目录:</value>
<value>APK 输出目录:</value>
</data>
<data name="label_SIGN_PrivateKey.Text" xml:space="preserve">
<value>私钥:</value>
@@ -382,67 +406,16 @@
<value>签名</value>
</data>
<data name="zipalignOutputDirChkBox.Text" xml:space="preserve">
<value>APK输出目录:</value>
<value>APK 输出目录:</value>
</data>
<data name="signAfterZipalignChkBox.Text" xml:space="preserve">
<value>zip对齐后进行签名</value>
</data>
<data name="checkBox7.Text" xml:space="preserve">
<value>在选择APK进行反编译时,不要解析APK信息</value>
</data>
<data name="checkBox_DECODE_UseApkEditorMerge.Text" xml:space="preserve">
<value>使用APKEditor.jar合并、分离APK(速度更快)</value>
</data>
<data name="decSetApiLvlChkBox.Text" xml:space="preserve">
<value>设置要生成的文件的API级别,例如ICS为14</value>
</data>
<data name="checkBox_DECODE_FixError.Text" xml:space="preserve">
<value>修复反编译后的ApkTool错误</value>
</data>
<data name="checkBox_DECODE_FixError.ToolTip" xml:space="preserve">
<value>将删除extractNativeLibs, useEmbeddedDex, APKTOOL_DUMMY,拆分相关属性并将sparseresource设置为false</value>
</data>
<data name="checkBox_DECODE_OnlyMainClasses.Text" xml:space="preserve">
<value>只反汇编根目录中的主索引类(classes[0-9]*.dex)。</value>
</data>
<data name="checkBox_DECODE_OnlyMainClasses.ToolTip" xml:space="preserve">
<value>修复异常的ApkTool错误</value>
</data>
<data name="checkBox_DECODE_UseFramework.Text" xml:space="preserve">
<value>使用的framework文件位置:</value>
</data>
<data name="checkBox_DECODE_MatchOriginal.Text" xml:space="preserve">
<value>尽可能保持文件最接近原始,防止重建</value>
</data>
<data name="checkBox_DECODE_OutputDirectory.Text" xml:space="preserve">
<value>输出目录:</value>
</data>
<data name="checkBox_DECODE_KeepBrokenRes.Text" xml:space="preserve">
<value>保留损坏资源</value>
</data>
<data name="checkBox_DECODE_Force.Text" xml:space="preserve">
<value>强制删除目标目录</value>
</data>
<data name="checkBox_DECODE_NoDebugInfo.Text" xml:space="preserve">
<value>不要输出调试信息(.Local, .param, .line等)</value>
</data>
<data name="groupBox_DECODE_Options.Text" xml:space="preserve">
<value>选项</value>
</data>
<data name="tabPageDecode.Text" xml:space="preserve">
<value>反编译</value>
</data>
<data name="useAliasChkBox.Text" xml:space="preserve">
<value>别名</value>
</data>
<data name="label22.Text" xml:space="preserve">
<value>强烈建议您使用自己的密钥,通过Android Studio或其他工具创建</value>
</data>
<data name="checkBox_ZIPALIGN_Recompress.Text" xml:space="preserve">
<value>使用Zopfli重新压缩</value>
<value>使用 Zopfli 重新压缩</value>
</data>
<data name="label_ZIPALIGN_AlignmentBytes.Text" xml:space="preserve">
<value>以bytes为单位的对齐,例如: '4' 提供32-bit对齐</value>
<value>以 bytes 为单位的对齐,例如: '4' 提供 32-bit 对齐</value>
</data>
<data name="checkBox_ZIPALIGN_CheckAlignment.Text" xml:space="preserve">
<value>只检查对齐(不修改文件)</value>
@@ -456,62 +429,44 @@
<data name="groupBox_ZIPALIGN_Options.Text" xml:space="preserve">
<value>选项</value>
</data>
<data name="tabPageZipAlign.Text" xml:space="preserve">
<value>Zip对齐</value>
</data>
<data name="openFwFolderBtn.Text" xml:space="preserve">
<value>打开framework目录</value>
<value>打开 framework 目录</value>
</data>
<data name="clearFwBtn.Text" xml:space="preserve">
<value>清空framework缓存</value>
<value>清空 framework 缓存</value>
</data>
<data name="clearFwBeforeDecodeChkBox.Text" xml:space="preserve">
<value>反编译前清空Framework缓存</value>
<value>反编译前清空 Framework 缓存</value>
</data>
<data name="groupBox1.Text" xml:space="preserve">
<value>选项</value>
</data>
<data name="checkBox_IF_Tag.Text" xml:space="preserve">
<value>Tag frameworks 使用:</value>
<value>标签 frameworks 使用:</value>
</data>
<data name="checkBox_IF_FramePath.Text" xml:space="preserve">
<value>将framework文件存储到:</value>
</data>
<data name="groupBox_IF_Options.Text" xml:space="preserve">
<value>选项</value>
</data>
<data name="alignApkOpenDirBtn.Text" xml:space="preserve">
<value>Zip对齐的APK目录</value>
</data>
<data name="decApkOpenDirBtn.Text" xml:space="preserve">
<value>反编译的APK目录</value>
</data>
<data name="compileOutputOpenDirBtn.Text" xml:space="preserve">
<value>编译输出目录</value>
</data>
<data name="label4.Text" xml:space="preserve">
<value>APK签名:</value>
</data>
<data name="button_ZIPALIGN_Align.Text" xml:space="preserve">
<value>对齐优化</value>
</data>
<data name="checkBox_DECODE_NoSrc.Text" xml:space="preserve">
<value>不反编译源码</value>
</data>
<data name="checkBox_DECODE_NoRes.Text" xml:space="preserve">
<value>不反编译resouces</value>
<value>将 framework 文件存储到:</value>
</data>
<data name="button_IF_InstallFramework.Text" xml:space="preserve">
<value>安装</value>
</data>
<data name="groupBox_IF_Options.Text" xml:space="preserve">
<value>选项</value>
</data>
<data name="label29.Text" xml:space="preserve">
<value>Smali编译目录:</value>
<value>Smali 编译目录:</value>
</data>
<data name="smaliUseOutputChkBox.Text" xml:space="preserve">
<value>Dex输出目录:</value>
<value>Dex 输出目录:</value>
</data>
<data name="comSmaliBtn.Text" xml:space="preserve">
<value>编译</value>
</data>
<data name="label28.Text" xml:space="preserve">
<value>dex反编译</value>
<value>Dex 反编译:</value>
</data>
<data name="baksmaliUseOutputChkBox.Text" xml:space="preserve">
<value>输出目录:</value>
@@ -519,19 +474,76 @@
<data name="decSmaliBtn.Text" xml:space="preserve">
<value>反编译</value>
</data>
<data name="label2.Text" xml:space="preserve">
<value>反编译APK目录:</value>
<data name="label33.Text" xml:space="preserve">
<value>选择设备</value>
</data>
<data name="label3.Text" xml:space="preserve">
<value>APK文件对齐优化:</value>
<data name="killAdbBtn.Text" xml:space="preserve">
<value>结束 ADB 进程</value>
</data>
<data name="label1.Text" xml:space="preserve">
<value>APK/XAPK/APKS/ZIP/APKM文件:</value>
<data name="installApkBtn.Text" xml:space="preserve">
<value>安装 APK</value>
</data>
<data name="button_OpenMainActivity.Text" xml:space="preserve">
<value>启动项smail</value>
<data name="refreshDevicesBtn.Text" xml:space="preserve">
<value>刷新</value>
</data>
<data name="tabPageZipAlign.Text" xml:space="preserve">
<value>Zip对齐</value>
<data name="overrideAbiCheckBox.Text" xml:space="preserve">
<value>覆盖平台的默认 ABI:</value>
</data>
<data name="setVendorChkBox.Text" xml:space="preserve">
<value>设置 vendor 为 Play Store (com.android.vending)</value>
</data>
<data name="label32.Text" xml:space="preserve">
<value>选择 APK: </value>
</data>
<data name="toolStripStatusLabelStateText.Text" xml:space="preserve">
<value>加载中...</value>
</data>
<data name="clearLogToolStripMenuItem.Text" xml:space="preserve">
<value>清除日志</value>
</data>
<data name="newInsToolStripMenuItem.Text" xml:space="preserve">
<value>新进程</value>
</data>
<data name="saveLogToFileToolStripMenuItem.Text" xml:space="preserve">
<value>保存日志</value>
</data>
<data name="openTempFolderToolStripMenuItem.Text" xml:space="preserve">
<value>打开缓存目录</value>
</data>
<data name="clearTempFolderToolStripMenuItem.Text" xml:space="preserve">
<value>清空缓存目录</value>
</data>
<data name="exitToolStripMenuItem.Text" xml:space="preserve">
<value>退出</value>
</data>
<data name="fileToolStripMenuItem.Text" xml:space="preserve">
<value>文件</value>
</data>
<data name="useAPKEditorForDecompilingItem.Text" xml:space="preserve">
<value>使用 APKEditor 进行反编译</value>
</data>
<data name="settingsToolStripMenuItem.Text" xml:space="preserve">
<value>设置</value>
</data>
<data name="checkForUpdateToolStripMenuItem.Text" xml:space="preserve">
<value>检查更新</value>
</data>
<data name="reportAnIsuueToolStripMenuItem.Text" xml:space="preserve">
<value>反馈问题</value>
</data>
<data name="apktoolIssuesToolStripMenuItem.Text" xml:space="preserve">
<value>Apktool 问题反馈</value>
</data>
<data name="baksmaliIssuesToolStripMenuItem.Text" xml:space="preserve">
<value>Baksmail 问题反馈</value>
</data>
<data name="aboutToolStripMenuItem.Text" xml:space="preserve">
<value>关于</value>
</data>
<data name="helpToolStripMenuItem.Text" xml:space="preserve">
<value>帮助</value>
</data>
<data name="checkBox_DECODE_UseApkEditorMerge.Text" xml:space="preserve">
<value>使用 APKEditor.jar 合并、分离 APK(速度更快)</value>
</data>
</root>
+130 -130
View File
@@ -32,34 +32,34 @@
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.textBox1 = new System.Windows.Forms.TextBox();
this.checkBox7 = new System.Windows.Forms.CheckBox();
this.checkBox6 = new System.Windows.Forms.CheckBox();
this.themeComboBox = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.customApkToolTxtBox = new System.Windows.Forms.TextBox();
this.customApktoolBtn = new System.Windows.Forms.Button();
this.useCustomApktoolChk = new System.Windows.Forms.CheckBox();
this.label6 = new System.Windows.Forms.Label();
this.checkBox5 = new System.Windows.Forms.CheckBox();
this.checkBox4 = new System.Windows.Forms.CheckBox();
this.customTempLocationTxtBox = new System.Windows.Forms.TextBox();
this.textBoxCustomJavaLocation = new System.Windows.Forms.TextBox();
this.buttonCustomTempLocation = new System.Windows.Forms.Button();
this.checkBox3 = new System.Windows.Forms.CheckBox();
this.buttonCustomJavaLocation = new System.Windows.Forms.Button();
this.checkBox2 = new System.Windows.Forms.CheckBox();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.checkBoxCheckUpdateStartup = new System.Windows.Forms.CheckBox();
this.groupBoxLanguage = new System.Windows.Forms.GroupBox();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.groupBoxContextMenu = new System.Windows.Forms.GroupBox();
this.ignoreOutputContextMenuBox = new System.Windows.Forms.CheckBox();
this.labelAdminRights = new System.Windows.Forms.Label();
this.buttonAddContextMenu = new System.Windows.Forms.Button();
this.buttonRemoveContextMenu = new System.Windows.Forms.Button();
this.buttonCancel = new System.Windows.Forms.Button();
this.buttonОК = new System.Windows.Forms.Button();
this.textBox1 = new System.Windows.Forms.TextBox();
this.checkBox7 = new System.Windows.Forms.CheckBox();
this.checkBox6 = new System.Windows.Forms.CheckBox();
this.customApkToolTxtBox = new System.Windows.Forms.TextBox();
this.useCustomApktoolChk = new System.Windows.Forms.CheckBox();
this.checkBox5 = new System.Windows.Forms.CheckBox();
this.checkBox4 = new System.Windows.Forms.CheckBox();
this.customTempLocationTxtBox = new System.Windows.Forms.TextBox();
this.textBoxCustomJavaLocation = new System.Windows.Forms.TextBox();
this.checkBox3 = new System.Windows.Forms.CheckBox();
this.checkBox2 = new System.Windows.Forms.CheckBox();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.checkBoxCheckUpdateStartup = new System.Windows.Forms.CheckBox();
this.ignoreOutputContextMenuBox = new System.Windows.Forms.CheckBox();
this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
this.groupBox1.SuspendLayout();
@@ -108,38 +108,14 @@
this.groupBox1.Name = "groupBox1";
this.groupBox1.TabStop = false;
//
// textBox1
//
resources.ApplyResources(this.textBox1, "textBox1");
this.textBox1.BackColor = System.Drawing.SystemColors.Window;
this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "CustomJVMArgs", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.textBox1.Name = "textBox1";
this.textBox1.Text = global::APKToolGUI.Properties.Settings.Default.CustomJVMArgs;
//
// checkBox7
//
resources.ApplyResources(this.checkBox7, "checkBox7");
this.checkBox7.Checked = global::APKToolGUI.Properties.Settings.Default.UseCustomJVMArgs;
this.checkBox7.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "UseCustomJVMArgs", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.checkBox7.Name = "checkBox7";
this.checkBox7.UseVisualStyleBackColor = true;
//
// checkBox6
//
resources.ApplyResources(this.checkBox6, "checkBox6");
this.checkBox6.Checked = global::APKToolGUI.Properties.Settings.Default.DebugMode;
this.checkBox6.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "DebugMode", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.checkBox6.Name = "checkBox6";
this.checkBox6.UseVisualStyleBackColor = true;
//
// themeComboBox
//
resources.ApplyResources(this.themeComboBox, "themeComboBox");
this.themeComboBox.FormattingEnabled = true;
this.themeComboBox.Items.AddRange(new object[] {
resources.GetString("themeComboBox.Items"),
resources.GetString("themeComboBox.Items1"),
resources.GetString("themeComboBox.Items2")});
resources.ApplyResources(this.themeComboBox, "themeComboBox");
this.themeComboBox.Name = "themeComboBox";
//
// label1
@@ -147,14 +123,6 @@
resources.ApplyResources(this.label1, "label1");
this.label1.Name = "label1";
//
// customApkToolTxtBox
//
resources.ApplyResources(this.customApkToolTxtBox, "customApkToolTxtBox");
this.customApkToolTxtBox.BackColor = System.Drawing.SystemColors.Window;
this.customApkToolTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "ApktoolPath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.customApkToolTxtBox.Name = "customApkToolTxtBox";
this.customApkToolTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.ApktoolPath;
//
// customApktoolBtn
//
resources.ApplyResources(this.customApktoolBtn, "customApktoolBtn");
@@ -162,52 +130,12 @@
this.customApktoolBtn.UseVisualStyleBackColor = true;
this.customApktoolBtn.Click += new System.EventHandler(this.customApktoolBtn_Click);
//
// useCustomApktoolChk
//
resources.ApplyResources(this.useCustomApktoolChk, "useCustomApktoolChk");
this.useCustomApktoolChk.Checked = global::APKToolGUI.Properties.Settings.Default.UseCustomApktool;
this.useCustomApktoolChk.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "UseCustomApktool", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.useCustomApktoolChk.Name = "useCustomApktoolChk";
this.useCustomApktoolChk.UseVisualStyleBackColor = true;
//
// label6
//
resources.ApplyResources(this.label6, "label6");
this.label6.ForeColor = System.Drawing.Color.DimGray;
this.label6.Name = "label6";
//
// checkBox5
//
resources.ApplyResources(this.checkBox5, "checkBox5");
this.checkBox5.Checked = global::APKToolGUI.Properties.Settings.Default.Utf8FilenameSupport;
this.checkBox5.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Utf8FilenameSupport", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.checkBox5.Name = "checkBox5";
this.checkBox5.UseVisualStyleBackColor = true;
//
// checkBox4
//
resources.ApplyResources(this.checkBox4, "checkBox4");
this.checkBox4.Checked = global::APKToolGUI.Properties.Settings.Default.UseCustomJavaExe;
this.checkBox4.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "UseCustomJavaExe", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.checkBox4.Name = "checkBox4";
this.checkBox4.UseVisualStyleBackColor = true;
//
// customTempLocationTxtBox
//
resources.ApplyResources(this.customTempLocationTxtBox, "customTempLocationTxtBox");
this.customTempLocationTxtBox.BackColor = System.Drawing.SystemColors.Window;
this.customTempLocationTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "TempDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.customTempLocationTxtBox.Name = "customTempLocationTxtBox";
this.customTempLocationTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.TempDir;
//
// textBoxCustomJavaLocation
//
resources.ApplyResources(this.textBoxCustomJavaLocation, "textBoxCustomJavaLocation");
this.textBoxCustomJavaLocation.BackColor = System.Drawing.SystemColors.Window;
this.textBoxCustomJavaLocation.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "JavaExe", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.textBoxCustomJavaLocation.Name = "textBoxCustomJavaLocation";
this.textBoxCustomJavaLocation.Text = global::APKToolGUI.Properties.Settings.Default.JavaExe;
//
// buttonCustomTempLocation
//
resources.ApplyResources(this.buttonCustomTempLocation, "buttonCustomTempLocation");
@@ -215,14 +143,6 @@
this.buttonCustomTempLocation.UseVisualStyleBackColor = true;
this.buttonCustomTempLocation.Click += new System.EventHandler(this.buttonCustomTempLocation_Click);
//
// checkBox3
//
resources.ApplyResources(this.checkBox3, "checkBox3");
this.checkBox3.Checked = global::APKToolGUI.Properties.Settings.Default.UseCustomTempDir;
this.checkBox3.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "UseCustomTempDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.checkBox3.Name = "checkBox3";
this.checkBox3.UseVisualStyleBackColor = true;
//
// buttonCustomJavaLocation
//
resources.ApplyResources(this.buttonCustomJavaLocation, "buttonCustomJavaLocation");
@@ -230,32 +150,6 @@
this.buttonCustomJavaLocation.UseVisualStyleBackColor = true;
this.buttonCustomJavaLocation.Click += new System.EventHandler(this.buttonCustomJavaLocation_Click);
//
// checkBox2
//
resources.ApplyResources(this.checkBox2, "checkBox2");
this.checkBox2.Checked = global::APKToolGUI.Properties.Settings.Default.PlaySoundWhenDone;
this.checkBox2.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "PlaySoundWhenDone", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.checkBox2.Name = "checkBox2";
this.checkBox2.UseVisualStyleBackColor = true;
//
// checkBox1
//
resources.ApplyResources(this.checkBox1, "checkBox1");
this.checkBox1.Checked = global::APKToolGUI.Properties.Settings.Default.ClearLogBeforeAction;
this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBox1.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "ClearLogBeforeAction", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.checkBox1.Name = "checkBox1";
this.checkBox1.UseVisualStyleBackColor = true;
//
// checkBoxCheckUpdateStartup
//
resources.ApplyResources(this.checkBoxCheckUpdateStartup, "checkBoxCheckUpdateStartup");
this.checkBoxCheckUpdateStartup.Checked = global::APKToolGUI.Properties.Settings.Default.CheckForUpdateAtStartup;
this.checkBoxCheckUpdateStartup.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBoxCheckUpdateStartup.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "CheckForUpdateAtStartup", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.checkBoxCheckUpdateStartup.Name = "checkBoxCheckUpdateStartup";
this.checkBoxCheckUpdateStartup.UseVisualStyleBackColor = true;
//
// groupBoxLanguage
//
resources.ApplyResources(this.groupBoxLanguage, "groupBoxLanguage");
@@ -265,8 +159,8 @@
//
// comboBox1
//
resources.ApplyResources(this.comboBox1, "comboBox1");
this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
resources.ApplyResources(this.comboBox1, "comboBox1");
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Name = "comboBox1";
//
@@ -280,14 +174,6 @@
this.groupBoxContextMenu.Name = "groupBoxContextMenu";
this.groupBoxContextMenu.TabStop = false;
//
// ignoreOutputContextMenuBox
//
resources.ApplyResources(this.ignoreOutputContextMenuBox, "ignoreOutputContextMenuBox");
this.ignoreOutputContextMenuBox.Checked = global::APKToolGUI.Properties.Settings.Default.IgnoreOutputDirContextMenu;
this.ignoreOutputContextMenuBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "IgnoreOutputDirContextMenu", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.ignoreOutputContextMenuBox.Name = "ignoreOutputContextMenuBox";
this.ignoreOutputContextMenuBox.UseVisualStyleBackColor = true;
//
// labelAdminRights
//
resources.ApplyResources(this.labelAdminRights, "labelAdminRights");
@@ -321,6 +207,120 @@
this.buttonОК.UseVisualStyleBackColor = true;
this.buttonОК.Click += new System.EventHandler(this.buttonОК_Click);
//
// textBox1
//
resources.ApplyResources(this.textBox1, "textBox1");
this.textBox1.BackColor = System.Drawing.SystemColors.Window;
this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "CustomJVMArgs", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.textBox1.Name = "textBox1";
this.textBox1.Text = global::APKToolGUI.Properties.Settings.Default.CustomJVMArgs;
//
// checkBox7
//
resources.ApplyResources(this.checkBox7, "checkBox7");
this.checkBox7.Checked = global::APKToolGUI.Properties.Settings.Default.UseCustomJVMArgs;
this.checkBox7.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "UseCustomJVMArgs", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.checkBox7.Name = "checkBox7";
this.checkBox7.UseVisualStyleBackColor = true;
//
// checkBox6
//
resources.ApplyResources(this.checkBox6, "checkBox6");
this.checkBox6.Checked = global::APKToolGUI.Properties.Settings.Default.DebugMode;
this.checkBox6.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "DebugMode", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.checkBox6.Name = "checkBox6";
this.checkBox6.UseVisualStyleBackColor = true;
//
// customApkToolTxtBox
//
resources.ApplyResources(this.customApkToolTxtBox, "customApkToolTxtBox");
this.customApkToolTxtBox.BackColor = System.Drawing.SystemColors.Window;
this.customApkToolTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "ApktoolPath", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.customApkToolTxtBox.Name = "customApkToolTxtBox";
this.customApkToolTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.ApktoolPath;
//
// useCustomApktoolChk
//
resources.ApplyResources(this.useCustomApktoolChk, "useCustomApktoolChk");
this.useCustomApktoolChk.Checked = global::APKToolGUI.Properties.Settings.Default.UseCustomApktool;
this.useCustomApktoolChk.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "UseCustomApktool", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.useCustomApktoolChk.Name = "useCustomApktoolChk";
this.useCustomApktoolChk.UseVisualStyleBackColor = true;
//
// checkBox5
//
resources.ApplyResources(this.checkBox5, "checkBox5");
this.checkBox5.Checked = global::APKToolGUI.Properties.Settings.Default.Utf8FilenameSupport;
this.checkBox5.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "Utf8FilenameSupport", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.checkBox5.Name = "checkBox5";
this.checkBox5.UseVisualStyleBackColor = true;
//
// checkBox4
//
resources.ApplyResources(this.checkBox4, "checkBox4");
this.checkBox4.Checked = global::APKToolGUI.Properties.Settings.Default.UseCustomJavaExe;
this.checkBox4.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "UseCustomJavaExe", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.checkBox4.Name = "checkBox4";
this.checkBox4.UseVisualStyleBackColor = true;
//
// customTempLocationTxtBox
//
resources.ApplyResources(this.customTempLocationTxtBox, "customTempLocationTxtBox");
this.customTempLocationTxtBox.BackColor = System.Drawing.SystemColors.Window;
this.customTempLocationTxtBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "TempDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.customTempLocationTxtBox.Name = "customTempLocationTxtBox";
this.customTempLocationTxtBox.Text = global::APKToolGUI.Properties.Settings.Default.TempDir;
//
// textBoxCustomJavaLocation
//
resources.ApplyResources(this.textBoxCustomJavaLocation, "textBoxCustomJavaLocation");
this.textBoxCustomJavaLocation.BackColor = System.Drawing.SystemColors.Window;
this.textBoxCustomJavaLocation.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::APKToolGUI.Properties.Settings.Default, "JavaExe", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.textBoxCustomJavaLocation.Name = "textBoxCustomJavaLocation";
this.textBoxCustomJavaLocation.Text = global::APKToolGUI.Properties.Settings.Default.JavaExe;
//
// checkBox3
//
resources.ApplyResources(this.checkBox3, "checkBox3");
this.checkBox3.Checked = global::APKToolGUI.Properties.Settings.Default.UseCustomTempDir;
this.checkBox3.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "UseCustomTempDir", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.checkBox3.Name = "checkBox3";
this.checkBox3.UseVisualStyleBackColor = true;
//
// checkBox2
//
resources.ApplyResources(this.checkBox2, "checkBox2");
this.checkBox2.Checked = global::APKToolGUI.Properties.Settings.Default.PlaySoundWhenDone;
this.checkBox2.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "PlaySoundWhenDone", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.checkBox2.Name = "checkBox2";
this.checkBox2.UseVisualStyleBackColor = true;
//
// checkBox1
//
resources.ApplyResources(this.checkBox1, "checkBox1");
this.checkBox1.Checked = global::APKToolGUI.Properties.Settings.Default.ClearLogBeforeAction;
this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBox1.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "ClearLogBeforeAction", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.checkBox1.Name = "checkBox1";
this.checkBox1.UseVisualStyleBackColor = true;
//
// checkBoxCheckUpdateStartup
//
resources.ApplyResources(this.checkBoxCheckUpdateStartup, "checkBoxCheckUpdateStartup");
this.checkBoxCheckUpdateStartup.Checked = global::APKToolGUI.Properties.Settings.Default.CheckForUpdateAtStartup;
this.checkBoxCheckUpdateStartup.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBoxCheckUpdateStartup.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "CheckForUpdateAtStartup", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.checkBoxCheckUpdateStartup.Name = "checkBoxCheckUpdateStartup";
this.checkBoxCheckUpdateStartup.UseVisualStyleBackColor = true;
//
// ignoreOutputContextMenuBox
//
resources.ApplyResources(this.ignoreOutputContextMenuBox, "ignoreOutputContextMenuBox");
this.ignoreOutputContextMenuBox.Checked = global::APKToolGUI.Properties.Settings.Default.IgnoreOutputDirContextMenu;
this.ignoreOutputContextMenuBox.DataBindings.Add(new System.Windows.Forms.Binding("Checked", global::APKToolGUI.Properties.Settings.Default, "IgnoreOutputDirContextMenu", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.ignoreOutputContextMenuBox.Name = "ignoreOutputContextMenuBox";
this.ignoreOutputContextMenuBox.UseVisualStyleBackColor = true;
//
// FormSettings
//
resources.ApplyResources(this, "$this");
+1 -1
View File
@@ -139,7 +139,7 @@ namespace APKToolGUI
if (Language.SystemLanguage.Equals(comboBox1.SelectedItem.ToString()))
Settings.Default.Culture = "Auto";
else
Settings.Default.Culture = StringExt.Regex(@"(?<=\[)(.*?)(?=\])", comboBox1.SelectedItem.ToString());
Settings.Default.Culture = StringExt.RegexExtract(@"(?<=\[)(.*?)(?=\])", comboBox1.SelectedItem.ToString());
Settings.Default.Theme = themeComboBox.SelectedIndex;
Settings.Default.Save();
File diff suppressed because it is too large Load Diff
+15
View File
@@ -163,4 +163,19 @@
<data name="$this.Text" xml:space="preserve">
<value>Настройки</value>
</data>
<data name="buttonCustomJavaLocation.Text" xml:space="preserve">
<value>Указать путь к Java</value>
</data>
<data name="useCustomApktoolChk.Text" xml:space="preserve">
<value>Свой путь к Apktool</value>
</data>
<data name="label1.Text" xml:space="preserve">
<value>Тема</value>
</data>
<data name="checkBox6.Text" xml:space="preserve">
<value>Режим отладки</value>
</data>
<data name="checkBox7.Text" xml:space="preserve">
<value>Аргументы JVM</value>
</data>
</root>
+199
View File
@@ -0,0 +1,199 @@
<?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>
<data name="checkBox7.Text" xml:space="preserve">
<value>Tùy chỉnh lệnh JVM</value>
</data>
<data name="checkBox6.Text" xml:space="preserve">
<value>Chế độ gỡ lỗi</value>
</data>
<data name="themeComboBox.Items" xml:space="preserve">
<value>Tự động</value>
</data>
<data name="themeComboBox.Items1" xml:space="preserve">
<value>Sáng</value>
</data>
<data name="themeComboBox.Items2" xml:space="preserve">
<value>Tối</value>
</data>
<data name="label1.Text" xml:space="preserve">
<value>Giao diện</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="useCustomApktoolChk.TabIndex" type="System.Resources.ResXNullRef, System.Windows.Forms">
<value />
</data>
<data name="useCustomApktoolChk.Text" xml:space="preserve">
<value>Vị trí apktool tùy chỉnh</value>
</data>
<data name="label6.Text" xml:space="preserve">
<value>Việc di chuyển các tệp trong quá trình xử lý vào thư mục tạm có thể mất thời gian, vui lòng kiên nhẫn chờ đợi</value>
</data>
<data name="checkBox5.Text" xml:space="preserve">
<value>Hỗ trợ tên tệp UTF-8 (bật khi tên tệp bị lỗi hiển thị)</value>
</data>
<data name="checkBox4.Text" xml:space="preserve">
<value>Vị trí Java tùy chỉnh</value>
</data>
<data name="checkBox3.Text" xml:space="preserve">
<value>Vị trí bộ đệm tùy chỉnh</value>
</data>
<data name="checkBox2.Text" xml:space="preserve">
<value>Âm báo hoàn thành</value>
</data>
<data name="checkBox1.Text" xml:space="preserve">
<value>Xóa nhật ký trước khi thực hiện</value>
</data>
<data name="checkBoxCheckUpdateStartup.Text" xml:space="preserve">
<value>Kiểm tra cập nhật khi khởi động</value>
</data>
<data name="groupBox1.Text" xml:space="preserve">
<value>Chung</value>
</data>
<data name="groupBoxLanguage.Text" xml:space="preserve">
<value>Ngôn ngữ</value>
</data>
<data name="ignoreOutputContextMenuBox.Text" xml:space="preserve">
<value>Bỏ qua thư mục đầu ra tùy chỉnh của menu chuột phải</value>
</data>
<data name="labelAdminRights.Text" xml:space="preserve">
<value>Yêu cầu quyền quản trị</value>
</data>
<data name="buttonAddContextMenu.Text" xml:space="preserve">
<value>Cài đặt</value>
</data>
<data name="buttonRemoveContextMenu.Text" xml:space="preserve">
<value>Gỡ cài đặt</value>
</data>
<data name="groupBoxContextMenu.Text" xml:space="preserve">
<value>Menu chuột phải</value>
</data>
<data name="tabPage1.Text" xml:space="preserve">
<value>Chung</value>
</data>
<data name="buttonCancel.Text" xml:space="preserve">
<value>Hủy</value>
</data>
<data name="buttonОК.Text" xml:space="preserve">
<value>OK</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>Cài đặt</value>
</data>
</root>
+9 -5
View File
@@ -118,7 +118,7 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="checkBox7.Text" xml:space="preserve">
<value>自定义JVM命令</value>
<value>自定义 JVM 命令</value>
</data>
<data name="checkBox6.Text" xml:space="preserve">
<value>调试模式</value>
@@ -135,17 +135,21 @@
<data name="label1.Text" xml:space="preserve">
<value>主题</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="useCustomApktoolChk.TabIndex" type="System.Resources.ResXNullRef, System.Windows.Forms">
<value />
</data>
<data name="useCustomApktoolChk.Text" xml:space="preserve">
<value>自定义apktool位置</value>
<value>自定义 apktool 位置</value>
</data>
<data name="label6.Text" xml:space="preserve">
<value>操作过程的文件移动到缓存目录中需要时间,请耐心等待</value>
</data>
<data name="checkBox5.Text" xml:space="preserve">
<value>UTF-8文件名支持,中文乱码开启</value>
<value>UTF-8 文件名支持,中文乱码开启</value>
</data>
<data name="checkBox4.Text" xml:space="preserve">
<value>自定义Java位置</value>
<value>自定义 Java 位置</value>
</data>
<data name="checkBox3.Text" xml:space="preserve">
<value>自定义缓存位置</value>
@@ -154,7 +158,7 @@
<value>完成提示音</value>
</data>
<data name="checkBox1.Text" xml:space="preserve">
<value>作前清日志</value>
<value>作前清日志</value>
</data>
<data name="checkBoxCheckUpdateStartup.Text" xml:space="preserve">
<value>启动时检查更新</value>
+12 -12
View File
@@ -16,25 +16,25 @@ namespace APKToolGUI.Handlers
public AdbControlEventHandlers(FormMain Main)
{
main = Main;
main.killAdbBtn.Click += killAdbBtn_Click;
main.installApkBtn.Click += installApkBtn_Click;
main.refreshDevicesBtn.Click += refreshDevicesBtn_Click;
main.selApkAdbBtn.Click += selApkAdbBtn_Click;
main.devicesListBox.SelectedValueChanged += devicesListBox_SelectedValueChanged;
main.overrideAbiComboBox.SelectedIndexChanged += ComboBoxChanged;
main.killAdbBtn.Click += KillAdbBtn_Click;
main.installApkBtn.Click += InstallApkBtn_Click;
main.refreshDevicesBtn.Click += RefreshDevicesBtn_Click;
main.selApkAdbBtn.Click += SelApkAdbBtn_Click;
main.devicesListBox.SelectedValueChanged += DevicesListBox_SelectedValueChanged;
main.overrideAbiComboBox.SelectedIndexChanged += OverrideAbiComboBox_SelectedIndexChanged;
}
private void ComboBoxChanged(object sender, EventArgs e)
private void OverrideAbiComboBox_SelectedIndexChanged(object sender, EventArgs e)
{
Settings.Default.Adb_OverrideAbi = main.overrideAbiComboBox.SelectedIndex;
}
private async void refreshDevicesBtn_Click(object sender, EventArgs e)
private async void RefreshDevicesBtn_Click(object sender, EventArgs e)
{
await main.ListDevices();
}
private async void killAdbBtn_Click(object sender, EventArgs e)
private async void KillAdbBtn_Click(object sender, EventArgs e)
{
if (MessageBox.Show(Language.ConfirmKillingAdbServer, Application.ProductName, MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
@@ -43,7 +43,7 @@ namespace APKToolGUI.Handlers
}
}
private async void installApkBtn_Click(object sender, EventArgs e)
private async void InstallApkBtn_Click(object sender, EventArgs e)
{
string inputFile = main.apkPathAdbTxtBox.Text;
if (File.Exists(inputFile))
@@ -54,7 +54,7 @@ namespace APKToolGUI.Handlers
MessageBox.Show(Language.ErrorSelectedFileNotExist, Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
private void selApkAdbBtn_Click(object sender, EventArgs e)
private void SelApkAdbBtn_Click(object sender, EventArgs e)
{
using (OpenFileDialog ofd = new OpenFileDialog())
{
@@ -65,7 +65,7 @@ namespace APKToolGUI.Handlers
}
}
private void devicesListBox_SelectedValueChanged(object sender, EventArgs e)
private void DevicesListBox_SelectedValueChanged(object sender, EventArgs e)
{
main.ToLog(ApktoolEventType.None, String.Format(Language.DeviceSelected, main.devicesListBox.SelectedItem));
main.selAdbDeviceLbl.Text = main.devicesListBox.GetItemText(main.devicesListBox.SelectedItem);
@@ -14,81 +14,60 @@ namespace APKToolGUI.Handlers
public ApkinfoControlEventHandlers(FormMain Main)
{
main = Main;
main.selApkFileInfoBtn.Click += selApkFileInfoBtn_Click;
main.psLinkBtn.Click += psLinkBtn_Click;
main.apkComboLinkBtn.Click += apkComboLinkBtn_Click;
main.apkPureLinkBtn.Click += apkPureLinkBtn_Click;
main.apkGkLinkBtn.Click += apkGkLinkBtn_Click;
main.apkSupportLinkBtn.Click += apkSupportLinkBtn_Click;
main.apkSosLinkBtn.Click += apkSosLinkBtn_Click;
main.apkMirrorLinkBtn.Click += apkMirrorLinkBtn_Click;
main.apkAioLinkBtn.Click += apkAioLinkBtn_Click;
main.apkDlLinkBtn.Click += apkDlLinkBtn_Click;
main.selApkFileInfoBtn.Click += SelApkFileInfoBtn_Click;
main.psLinkBtn.Click += PsLinkBtn_Click;
main.apkComboLinkBtn.Click += ApkComboLinkBtn_Click;
main.apkPureLinkBtn.Click += ApkPureLinkBtn_Click;
main.apkGkLinkBtn.Click += ApkGkLinkBtn_Click;
main.apkSupportLinkBtn.Click += ApkSupportLinkBtn_Click;
main.apkMirrorLinkBtn.Click += ApkMirrorLinkBtn_Click;
}
private void selApkFileInfoBtn_Click(object sender, EventArgs e)
private async void SelApkFileInfoBtn_Click(object sender, EventArgs e)
{
using (OpenFileDialog ofd = new OpenFileDialog())
{
if (ofd.ShowDialog() == DialogResult.OK)
{
main.GetApkInfo(ofd.FileName);
await main.GetApkInfo(ofd.FileName);
}
}
}
private void psLinkBtn_Click(object sender, EventArgs e)
private void PsLinkBtn_Click(object sender, EventArgs e)
{
if (main.aapt != null)
Process.Start(main.aapt.PlayStoreLink);
}
private void apkComboLinkBtn_Click(object sender, EventArgs e)
private void ApkComboLinkBtn_Click(object sender, EventArgs e)
{
if (main.aapt != null)
Process.Start(main.aapt.ApkComboLink);
}
private void apkPureLinkBtn_Click(object sender, EventArgs e)
private void ApkPureLinkBtn_Click(object sender, EventArgs e)
{
if (main.aapt != null)
Process.Start(main.aapt.ApkPureLink);
}
private void apkGkLinkBtn_Click(object sender, EventArgs e)
private void ApkGkLinkBtn_Click(object sender, EventArgs e)
{
if (main.aapt != null)
Process.Start(main.aapt.ApkGkLink);
}
private void apkSupportLinkBtn_Click(object sender, EventArgs e)
private void ApkSupportLinkBtn_Click(object sender, EventArgs e)
{
if (main.aapt != null)
Process.Start(main.aapt.ApkSupportLink);
}
private void apkSosLinkBtn_Click(object sender, EventArgs e)
{
if (main.aapt != null)
Process.Start(main.aapt.ApkSosLink);
}
private void apkMirrorLinkBtn_Click(object sender, EventArgs e)
private void ApkMirrorLinkBtn_Click(object sender, EventArgs e)
{
if (main.aapt != null)
Process.Start(main.aapt.ApkMirrorLink);
}
private void apkAioLinkBtn_Click(object sender, EventArgs e)
{
if (main.aapt != null)
Process.Start(main.aapt.ApkAioLink);
}
private void apkDlLinkBtn_Click(object sender, EventArgs e)
{
if (main.aapt != null)
Process.Start(main.aapt.ApkDlLink);
}
}
}
@@ -19,12 +19,12 @@ namespace APKToolGUI.Handlers
public BaksmaliControlEventHandlers(FormMain Main)
{
main = Main;
main.baksmaliBrowseOutputBtn.Click += baksmaliBrowseOutputBtn_Click;
main.baksmaliBrowseInputDexBtn.Click += baksmaliBrowseInputDexBtn_Click;
main.decSmaliBtn.Click += decSmaliBtn_Click;
main.baksmaliBrowseOutputBtn.Click += BaksmaliBrowseOutputBtn_Click;
main.baksmaliBrowseInputDexBtn.Click += BaksmaliBrowseInputDexBtn_Click;
main.decSmaliBtn.Click += DecSmaliBtn_Click;
}
internal void baksmaliBrowseOutputBtn_Click(object sender, EventArgs e)
internal void BaksmaliBrowseOutputBtn_Click(object sender, EventArgs e)
{
VistaFolderBrowserDialog dlg = new VistaFolderBrowserDialog();
dlg.ShowNewFolderButton = true;
@@ -35,7 +35,7 @@ namespace APKToolGUI.Handlers
}
}
internal void baksmaliBrowseInputDexBtn_Click(object sender, EventArgs e)
internal void BaksmaliBrowseInputDexBtn_Click(object sender, EventArgs e)
{
using (OpenFileDialog ofd = new OpenFileDialog())
{
@@ -46,7 +46,7 @@ namespace APKToolGUI.Handlers
}
}
internal async void decSmaliBtn_Click(object sender, EventArgs e)
internal async void DecSmaliBtn_Click(object sender, EventArgs e)
{
if (main.baksmaliUseOutputChkBox.Checked)
{
@@ -21,14 +21,14 @@ namespace APKToolGUI.Handlers
public BuildControlEventHandlers(FormMain Main)
{
main = Main;
main.button_BUILD_BrowseAaptPath.Click += button_BUILD_BrowseAaptPath_Click;
main.button_BUILD_BrowseFrameDir.Click += button_BUILD_BrowseFrameDir_Click;
main.button_BUILD_BrowseOutputAppPath.Click += button_BUILD_BrowseOutputAppPath_Click;
main.button_BUILD_BrowseInputProjectDir.Click += button_BUILD_BrowseInputProjectDir_Click;
main.button_BUILD_Build.Click += button_BUILD_Build_Click;
main.button_BUILD_BrowseAaptPath.Click += Button_BUILD_BrowseAaptPath_Click;
main.button_BUILD_BrowseFrameDir.Click += Button_BUILD_BrowseFrameDir_Click;
main.button_BUILD_BrowseOutputAppPath.Click += Button_BUILD_BrowseOutputAppPath_Click;
main.button_BUILD_BrowseInputProjectDir.Click += Button_BUILD_BrowseInputProjectDir_Click;
main.button_BUILD_Build.Click += Button_BUILD_Build_Click;
}
internal void button_BUILD_BrowseAaptPath_Click(object sender, EventArgs e)
internal void Button_BUILD_BrowseAaptPath_Click(object sender, EventArgs e)
{
using (OpenFileDialog ofd = new OpenFileDialog())
{
@@ -43,7 +43,7 @@ namespace APKToolGUI.Handlers
}
}
internal void button_BUILD_BrowseFrameDir_Click(object sender, EventArgs e)
internal void Button_BUILD_BrowseFrameDir_Click(object sender, EventArgs e)
{
using (VistaFolderBrowserDialog fbd = new VistaFolderBrowserDialog())
{
@@ -54,7 +54,7 @@ namespace APKToolGUI.Handlers
}
}
internal void button_BUILD_BrowseOutputAppPath_Click(object sender, EventArgs e)
internal void Button_BUILD_BrowseOutputAppPath_Click(object sender, EventArgs e)
{
VistaFolderBrowserDialog dlg = new VistaFolderBrowserDialog();
dlg.ShowNewFolderButton = true;
@@ -65,7 +65,7 @@ namespace APKToolGUI.Handlers
}
}
internal void button_BUILD_BrowseInputProjectDir_Click(object sender, EventArgs e)
internal void Button_BUILD_BrowseInputProjectDir_Click(object sender, EventArgs e)
{
VistaFolderBrowserDialog dlg = new VistaFolderBrowserDialog();
dlg.ShowNewFolderButton = true;
@@ -76,7 +76,7 @@ namespace APKToolGUI.Handlers
}
}
internal async void button_BUILD_Build_Click(object sender, EventArgs e)
internal async void Button_BUILD_Build_Click(object sender, EventArgs e)
{
string decApkDir = main.textBox_BUILD_InputProjectDir.Text;
if (Directory.Exists(main.textBox_BUILD_InputProjectDir.Text))
@@ -19,13 +19,13 @@ namespace APKToolGUI.Handlers
public DecodeControlEventHandlers(FormMain Main)
{
main = Main;
main.button_DECODE_BrowseFrameDir.Click += button_DECODE_BrowseFrameDir_Click;
main.button_DECODE_BrowseOutputDirectory.Click += button_DECODE_BrowseOutputDirectory_Click;
main.button_DECODE_BrowseInputAppPath.Click += button_DECODE_BrowseInputAppPath_Click;
main.button_DECODE_Decode.Click += button_DECODE_Decode_Click;
main.button_DECODE_BrowseFrameDir.Click += Button_DECODE_BrowseFrameDir_Click;
main.button_DECODE_BrowseOutputDirectory.Click += Button_DECODE_BrowseOutputDirectory_Click;
main.button_DECODE_BrowseInputAppPath.Click += Button_DECODE_BrowseInputAppPath_Click;
main.button_DECODE_Decode.Click += Button_DECODE_Decode_Click;
}
internal void button_DECODE_BrowseFrameDir_Click(object sender, EventArgs e)
internal void Button_DECODE_BrowseFrameDir_Click(object sender, EventArgs e)
{
using (VistaFolderBrowserDialog fbd = new VistaFolderBrowserDialog())
{
@@ -36,7 +36,7 @@ namespace APKToolGUI.Handlers
}
}
internal void button_DECODE_BrowseOutputDirectory_Click(object sender, EventArgs e)
internal void Button_DECODE_BrowseOutputDirectory_Click(object sender, EventArgs e)
{
using (VistaFolderBrowserDialog fbd = new VistaFolderBrowserDialog())
{
@@ -50,18 +50,18 @@ namespace APKToolGUI.Handlers
}
}
internal void button_DECODE_BrowseInputAppPath_Click(object sender, EventArgs e)
internal async void Button_DECODE_BrowseInputAppPath_Click(object sender, EventArgs e)
{
using (OpenFileDialog ofd = new OpenFileDialog())
{
ofd.Filter = "Android Package (*.apk;*.xapk;*.zip*.apkm;*.apks)|*.apk;*.xapk;*.zip*.apkm;*.apks";
ofd.Filter = "Android Package (*.apk;*.xapk;*.zip;*.apkm;*.apks)|*.apk;*.xapk;*.zip;*.apkm;*.apks";
if (ofd.ShowDialog() == DialogResult.OK)
{
main.textBox_DECODE_InputAppPath.Text = ofd.FileName;
if (!Settings.Default.Decode_DontParseApkInfo)
main.GetApkInfo(ofd.FileName);
await main.GetApkInfo(ofd.FileName);
if (main.checkBox_DECODE_OutputDirectory.Checked)
{
@@ -71,7 +71,7 @@ namespace APKToolGUI.Handlers
}
}
internal async void button_DECODE_Decode_Click(object sender, EventArgs e)
internal async void Button_DECODE_Decode_Click(object sender, EventArgs e)
{
string inputFile = main.textBox_DECODE_InputAppPath.Text;
if (File.Exists(inputFile))
@@ -96,7 +96,7 @@ namespace APKToolGUI.Handlers
}
}
if (inputFile.ContainsAny(".xapk", ".zip", ".apks", ".apkm") && !main.useAPKEditorForDecompilingItem.Checked)
if (inputFile.ContainsAny(".xapk", ".zip", ".apks", ".apkm"))
{
await main.MergeAndDecompile(inputFile);
}
+14 -13
View File
@@ -20,6 +20,7 @@ namespace APKToolGUI.Handlers
private static FormMain main;
string[] apks = { ".apk", ".xapk", ".zip", ".apks", ".apkm" };
string[] apk = { ".apk" };
public DragDropHandlers(FormMain Main)
{
@@ -37,17 +38,17 @@ namespace APKToolGUI.Handlers
Register(main.button_BUILD_Build, main.comPanel, comEventHandler, null);
DragEventHandler alignEventHandler = new DragEventHandler((sender, e) => { DropApkToAlign(e); });
Register(main.zipalignPanel, null, alignEventHandler, apks);
Register(main.textBox_ZIPALIGN_InputFile, main.zipalignPanel, alignEventHandler, apks);
Register(main.button_ZIPALIGN_Align, main.zipalignPanel, alignEventHandler, apks);
Register(main.zipalignPanel, null, alignEventHandler, apk);
Register(main.textBox_ZIPALIGN_InputFile, main.zipalignPanel, alignEventHandler, apk);
Register(main.button_ZIPALIGN_Align, main.zipalignPanel, alignEventHandler, apk);
DragEventHandler signEventHandler = new DragEventHandler((sender, e) => { DropApkToSign(e); });
Register(main.signPanel, null, signEventHandler, apks);
Register(main.textBox_SIGN_InputFile, main.signPanel, signEventHandler, apks);
Register(main.button_SIGN_Sign, main.signPanel, signEventHandler, apks);
Register(main.signPanel, null, signEventHandler, apk);
Register(main.textBox_SIGN_InputFile, main.signPanel, signEventHandler, apk);
Register(main.button_SIGN_Sign, main.signPanel, signEventHandler, apk);
DragEventHandler mergeEventHandler = new DragEventHandler((sender, e) => { DropApkToMerge(e); });
Register(main.splitApkTxt, null, signEventHandler, apks);
Register(main.mergePanel, null, mergeEventHandler, apks);
Register(main.splitApkPathTxtBox, main.mergePanel, mergeEventHandler, apks);
Register(main.mergeApkBtn, main.mergePanel, mergeEventHandler, apks);
@@ -64,8 +65,8 @@ namespace APKToolGUI.Handlers
Register(main.fileTxtBox, null, apkInfoEventHandler, apks);
DragEventHandler adbEventHandler = new DragEventHandler((sender, e) => { DropApkToInstall(e); });
Register(main.tabPageAdb, null, adbEventHandler, new string[] { ".apk" });
Register(main.installApkBtn, null, adbEventHandler, new string[] { ".apk" });
Register(main.tabPageAdb, null, adbEventHandler, apk);
Register(main.installApkBtn, null, adbEventHandler, apk);
}
void Register(Control ctrl, Control extCtrl, DragEventHandler dragHandler, string[] extension)
@@ -92,7 +93,7 @@ namespace APKToolGUI.Handlers
if (!Settings.Default.Decode_DontParseApkInfo)
await main.GetApkInfo(apkFile);
if (apkFile.ContainsAny(".xapk", ".zip", ".apks", ".apkm") && !main.useAPKEditorForDecompilingItem.Checked)
if (apkFile.ContainsAny(".xapk", ".zip", ".apks", ".apkm"))
{
await main.MergeAndDecompile(apkFile);
}
@@ -202,14 +203,14 @@ namespace APKToolGUI.Handlers
}
}
private void DropApkToGetInfo(DragEventArgs e)
private async void DropApkToGetInfo(DragEventArgs e)
{
string apkFile = null;
if (e.DropOneByEnd(file => apkFile = file, apks))
{
main.smaliBrowseInputDirTxtBox.Text = apkFile;
main.fileTxtBox.Text = apkFile;
main.basicInfoTabPage.BackColor = PanelBackColor();
main.GetApkInfo(apkFile);
await main.GetApkInfo(apkFile);
}
}
@@ -20,14 +20,14 @@ namespace APKToolGUI.Handlers
public FrameworkControlEventHandlers(FormMain Main)
{
main = Main;
main.button_IF_BrowseFrameDir.Click += button_IF_BrowseFrameDir_Click;
main.button_IF_BrowseInputFramePath.Click += button_IF_BrowseInputFramePath_Click;
main.button_IF_InstallFramework.Click += button_IF_InstallFramework_Click;
main.clearFwBtn.Click += clearFwBtn_Click;
main.openFwFolderBtn.Click += openFwFolderBtn_Click;
main.button_IF_BrowseFrameDir.Click += Button_IF_BrowseFrameDir_Click;
main.button_IF_BrowseInputFramePath.Click += Button_IF_BrowseInputFramePath_Click;
main.button_IF_InstallFramework.Click += Button_IF_InstallFramework_Click;
main.clearFwBtn.Click += ClearFwBtn_Click;
main.openFwFolderBtn.Click += OpenFwFolderBtn_Click;
}
internal void button_IF_BrowseFrameDir_Click(object sender, EventArgs e)
internal void Button_IF_BrowseFrameDir_Click(object sender, EventArgs e)
{
main.clearFwBeforeDecodeChkBox.Checked = false;
VistaFolderBrowserDialog dlg = new VistaFolderBrowserDialog();
@@ -39,7 +39,7 @@ namespace APKToolGUI.Handlers
}
}
internal void button_IF_BrowseInputFramePath_Click(object sender, EventArgs e)
internal void Button_IF_BrowseInputFramePath_Click(object sender, EventArgs e)
{
main.clearFwBeforeDecodeChkBox.Checked = false;
using (OpenFileDialog ofd = new OpenFileDialog())
@@ -56,7 +56,7 @@ namespace APKToolGUI.Handlers
}
}
internal async void button_IF_InstallFramework_Click(object sender, EventArgs e)
internal async void Button_IF_InstallFramework_Click(object sender, EventArgs e)
{
if (main.checkBox_IF_FramePath.Checked)
{
@@ -89,14 +89,14 @@ namespace APKToolGUI.Handlers
});
}
internal async void clearFwBtn_Click(object sender, EventArgs e)
internal async void ClearFwBtn_Click(object sender, EventArgs e)
{
main.Running(Language.ClearingFramework);
await main.ClearFramework();
}
internal void openFwFolderBtn_Click(object sender, EventArgs e)
internal void OpenFwFolderBtn_Click(object sender, EventArgs e)
{
if (main.checkBox_IF_FramePath.Checked && Directory.Exists(main.textBox_IF_FrameDir.Text))
Process.Start("explorer.exe", main.textBox_IF_FrameDir.Text);
+28 -28
View File
@@ -15,26 +15,26 @@ namespace APKToolGUI.Handlers
public MainWindowEventHandlers(FormMain Main)
{
main = Main;
main.clearLogToolStripMenuItem.Click += clearLogToolStripMenuItem_Click;
main.copyToolStripMenuItem.Click += copyToolStripMenuItem_Click;
main.openAndroidMainfestBtn.Click += openAndroidMainfestBtn_Click;
main.openApktoolYmlBtn.Click += openApktoolYmlBtn_Click;
main.compileOutputOpenDirBtn.Click += compiledApkOpenDirBtn_Click;
main.button_OpenMainActivity.Click += button_OpenMainActivity_Click;
main.decApkOpenDirBtn.Click += decApkOpenDirBtn_Click;
main.decOutOpenDirBtn.Click += decOutOpenDirBtn_Click;
main.comApkOpenDir.Click += comApkOpenDir_Click;
main.signApkOpenDirBtn.Click += signApkOpenDirBtn_Click;
main.alignApkOpenDirBtn.Click += alignApkOpenDirBtn_Click;
main.mergeApkBtn.Click += mergeApkBtn_Click;
main.selSplitApkBtn.Click += selSplitApkBtn_Click;
main.clearLogToolStripMenuItem.Click += ClearLogToolStripMenuItem_Click;
main.copyToolStripMenuItem.Click += CopyToolStripMenuItem_Click;
main.openAndroidMainfestBtn.Click += OpenAndroidMainfestBtn_Click;
main.openApktoolYmlBtn.Click += OpenApktoolYmlBtn_Click;
main.compileOutputOpenDirBtn.Click += CompiledApkOpenDirBtn_Click;
main.button_OpenMainActivity.Click += Button_OpenMainActivity_Click;
main.decApkOpenDirBtn.Click += DecApkOpenDirBtn_Click;
main.decOutOpenDirBtn.Click += DecOutOpenDirBtn_Click;
main.comApkOpenDir.Click += ComApkOpenDir_Click;
main.signApkOpenDirBtn.Click += SignApkOpenDirBtn_Click;
main.alignApkOpenDirBtn.Click += AlignApkOpenDirBtn_Click;
main.mergeApkBtn.Click += MergeApkBtn_Click;
main.selSplitApkBtn.Click += SelSplitApkBtn_Click;
}
internal void selSplitApkBtn_Click(object sender, EventArgs e)
internal void SelSplitApkBtn_Click(object sender, EventArgs e)
{
using (OpenFileDialog ofd = new OpenFileDialog())
{
ofd.Filter = "Split APK Package (*.xapk;*.zip*.apkm;*.apks)|*.xapk;*.zip*.apkm;*.apks";
ofd.Filter = "Split APK Package (*.xapk;*.zip;*.apkm;*.apks)|*.xapk;*.zip;*.apkm;*.apks";
if (ofd.ShowDialog() == DialogResult.OK)
{
@@ -43,7 +43,7 @@ namespace APKToolGUI.Handlers
}
}
internal async void mergeApkBtn_Click(object sender, EventArgs e)
internal async void MergeApkBtn_Click(object sender, EventArgs e)
{
try
{
@@ -62,12 +62,12 @@ namespace APKToolGUI.Handlers
}
}
private void clearLogToolStripMenuItem_Click(object sender, EventArgs e)
private void ClearLogToolStripMenuItem_Click(object sender, EventArgs e)
{
main.logTxtBox.Text = "";
}
private void copyToolStripMenuItem_Click(object sender, EventArgs e)
private void CopyToolStripMenuItem_Click(object sender, EventArgs e)
{
try
{
@@ -79,7 +79,7 @@ namespace APKToolGUI.Handlers
}
}
internal void decApkOpenDirBtn_Click(object sender, EventArgs e)
internal void DecApkOpenDirBtn_Click(object sender, EventArgs e)
{
if (Directory.Exists(main.textBox_BUILD_InputProjectDir.Text))
Process.Start("explorer.exe", main.textBox_BUILD_InputProjectDir.Text);
@@ -89,7 +89,7 @@ namespace APKToolGUI.Handlers
}
}
internal void decOutOpenDirBtn_Click(object sender, EventArgs e)
internal void DecOutOpenDirBtn_Click(object sender, EventArgs e)
{
if (Directory.Exists(Settings.Default.Decode_OutputDir))
Process.Start("explorer.exe", Settings.Default.Decode_OutputDir);
@@ -99,7 +99,7 @@ namespace APKToolGUI.Handlers
}
}
private void openAndroidMainfestBtn_Click(object sender, EventArgs e)
private void OpenAndroidMainfestBtn_Click(object sender, EventArgs e)
{
if (File.Exists(Path.Combine(main.textBox_BUILD_InputProjectDir.Text, "AndroidManifest.xml")))
Process.Start("explorer.exe", Path.Combine(main.textBox_BUILD_InputProjectDir.Text, "AndroidManifest.xml"));
@@ -107,7 +107,7 @@ namespace APKToolGUI.Handlers
main.ToLog(ApktoolEventType.Error, Language.AndroidManifestNotExist);
}
private void openApktoolYmlBtn_Click(object sender, EventArgs e)
private void OpenApktoolYmlBtn_Click(object sender, EventArgs e)
{
if (File.Exists(Path.Combine(main.textBox_BUILD_InputProjectDir.Text, "apktool.yml")))
Process.Start("explorer.exe", Path.Combine(main.textBox_BUILD_InputProjectDir.Text, "apktool.yml"));
@@ -115,7 +115,7 @@ namespace APKToolGUI.Handlers
main.ToLog(ApktoolEventType.Error, Language.AndroidManifestNotExist);
}
private void compiledApkOpenDirBtn_Click(object sender, EventArgs e)
private void CompiledApkOpenDirBtn_Click(object sender, EventArgs e)
{
if (Directory.Exists(Settings.Default.Build_OutputAppPath))
{
@@ -125,7 +125,7 @@ namespace APKToolGUI.Handlers
main.ToLog(ApktoolEventType.Error, Language.ErrorSelectedFileNotExist);
}
private void button_OpenMainActivity_Click(object sender, EventArgs e)
private void Button_OpenMainActivity_Click(object sender, EventArgs e)
{
string decPath = main.textBox_BUILD_InputProjectDir.Text;
if (Directory.Exists(decPath))
@@ -177,7 +177,7 @@ namespace APKToolGUI.Handlers
main.ToLog(ApktoolEventType.Error, Language.DecompiledAPKNotExist);
}
internal void comApkOpenDir_Click(object sender, EventArgs e)
internal void ComApkOpenDir_Click(object sender, EventArgs e)
{
string decApkDir = main.textBox_BUILD_InputProjectDir.Text;
@@ -199,11 +199,11 @@ namespace APKToolGUI.Handlers
}
}
internal void signApkOpenDirBtn_Click(object sender, EventArgs e)
internal void SignApkOpenDirBtn_Click(object sender, EventArgs e)
{
string inputFile = Settings.Default.Sign_InputFile;
string outputFile = inputFile;
if (Settings.Default.Zipalign_UseOutputDir)
if (Settings.Default.Sign_UseOutputDir)
outputFile = Path.Combine(Settings.Default.Sign_OutputDir, Path.GetFileName(inputFile));
if (File.Exists(outputFile))
@@ -214,7 +214,7 @@ namespace APKToolGUI.Handlers
}
}
internal void alignApkOpenDirBtn_Click(object sender, EventArgs e)
internal void AlignApkOpenDirBtn_Click(object sender, EventArgs e)
{
string inputFile = Settings.Default.Zipalign_InputFile;
+20 -20
View File
@@ -18,24 +18,24 @@ namespace APKToolGUI.Handlers
public MenuItemHandlers(FormMain Main)
{
main = Main;
main.saveLogToFileToolStripMenuItem.Click += saveLogItem_Click;
main.settingsToolStripMenuItem.Click += menuItemSettings_Click;
main.exitToolStripMenuItem.Click += menuItemExit_Click;
main.openTempFolderToolStripMenuItem.Click += openTempFolderToolStripMenuItem_Click;
main.checkForUpdateToolStripMenuItem.Click += menuItemCheckUpdate_Click;
main.aboutToolStripMenuItem.Click += menuItemAbout_Click;
main.apktoolIssuesToolStripMenuItem.Click += apktoolIssuesLinkItem_Click;
main.baksmaliIssuesToolStripMenuItem.Click += baksmaliIssuesLinkItem_Click;
main.reportAnIsuueToolStripMenuItem.Click += reportAnIsuueToolStripMenuItem_Click;
main.newInsToolStripMenuItem.Click += newInsToolStripMenuItem_Click;
main.saveLogToFileToolStripMenuItem.Click += SaveLogItem_Click;
main.settingsToolStripMenuItem.Click += MenuItemSettings_Click;
main.exitToolStripMenuItem.Click += MenuItemExit_Click;
main.openTempFolderToolStripMenuItem.Click += OpenTempFolderToolStripMenuItem_Click;
main.checkForUpdateToolStripMenuItem.Click += MenuItemCheckUpdate_Click;
main.aboutToolStripMenuItem.Click += MenuItemAbout_Click;
main.apktoolIssuesToolStripMenuItem.Click += ApktoolIssuesLinkItem_Click;
main.baksmaliIssuesToolStripMenuItem.Click += BaksmaliIssuesLinkItem_Click;
main.reportAnIsuueToolStripMenuItem.Click += ReportAnIsuueToolStripMenuItem_Click;
main.newInsToolStripMenuItem.Click += NewInsToolStripMenuItem_Click;
}
private void newInsToolStripMenuItem_Click(object sender, EventArgs e)
private void NewInsToolStripMenuItem_Click(object sender, EventArgs e)
{
Process.Start(System.Reflection.Assembly.GetExecutingAssembly().Location);
}
private void saveLogItem_Click(object sender, EventArgs e)
private void SaveLogItem_Click(object sender, EventArgs e)
{
using (var sfd = new SaveFileDialog())
{
@@ -50,7 +50,7 @@ namespace APKToolGUI.Handlers
}
}
private void menuItemSettings_Click(object sender, EventArgs e)
private void MenuItemSettings_Click(object sender, EventArgs e)
{
Theme theme = (Theme)Settings.Default.Theme;
@@ -64,12 +64,12 @@ namespace APKToolGUI.Handlers
frm.ShowDialog();
}
private void menuItemExit_Click(object sender, EventArgs e)
private void MenuItemExit_Click(object sender, EventArgs e)
{
Application.Exit();
}
private void openTempFolderToolStripMenuItem_Click(object sender, EventArgs e)
private void OpenTempFolderToolStripMenuItem_Click(object sender, EventArgs e)
{
if (Directory.Exists(Program.TEMP_PATH))
Process.Start("explorer.exe", Program.TEMP_PATH);
@@ -80,12 +80,12 @@ namespace APKToolGUI.Handlers
}
}
private void menuItemCheckUpdate_Click(object sender, EventArgs e)
private void MenuItemCheckUpdate_Click(object sender, EventArgs e)
{
main.updateCheker.CheckAsync();
}
private void menuItemAbout_Click(object sender, EventArgs e)
private void MenuItemAbout_Click(object sender, EventArgs e)
{
Theme theme = (Theme)Settings.Default.Theme;
@@ -98,17 +98,17 @@ namespace APKToolGUI.Handlers
frm.ShowDialog();
}
private void apktoolIssuesLinkItem_Click(object sender, EventArgs e)
private void ApktoolIssuesLinkItem_Click(object sender, EventArgs e)
{
Process.Start("https://github.com/iBotPeaches/Apktool/issues?q=is%3Aissue");
}
private void baksmaliIssuesLinkItem_Click(object sender, EventArgs e)
private void BaksmaliIssuesLinkItem_Click(object sender, EventArgs e)
{
Process.Start("https://github.com/JesusFreke/smali/issues?q=is%3Aissue");
}
private void reportAnIsuueToolStripMenuItem_Click(object sender, EventArgs e)
private void ReportAnIsuueToolStripMenuItem_Click(object sender, EventArgs e)
{
Process.Start("https://github.com/AndnixSH/APKToolGUI/issues/new/choose");
}
+18 -19
View File
@@ -22,20 +22,19 @@ namespace APKToolGUI.Handlers
public SignControlEventHandlers(FormMain Main)
{
main = Main;
main.button_SIGN_BrowsePublicKey.Click += button_SIGN_BrowsePublicKey_Click;
main.button_SIGN_BrowsePrivateKey.Click += button_SIGN_BrowsePrivateKey_Click;
main.button_SIGN_BrowsePrivateKey.Click += button_SIGN_BrowsePrivateKey_Click;
main.button_SIGN_BrowseInputFile.Click += button_SIGN_BrowseInputFile_Click;
main.button_SIGN_BrowseOutputFile.Click += button_SIGN_BrowseOutputFile_Click;
main.schemev1ComboBox.SelectedIndexChanged += schemeComboBoxChanged;
main.schemev2ComboBox.SelectedIndexChanged += schemeComboBoxChanged;
main.schemev3ComboBox.SelectedIndexChanged += schemeComboBoxChanged;
main.schemev4ComboBox.SelectedIndexChanged += schemeComboBoxChanged;
main.button_SIGN_Sign.Click += button_SIGN_Sign_Click;
main.selectKeyStoreFileBtn.Click += selectKeyStoreFileBtn_Click;
main.button_SIGN_BrowsePublicKey.Click += Button_SIGN_BrowsePublicKey_Click;
main.button_SIGN_BrowsePrivateKey.Click += Button_SIGN_BrowsePrivateKey_Click;
main.button_SIGN_BrowseInputFile.Click += Button_SIGN_BrowseInputFile_Click;
main.button_SIGN_BrowseOutputFile.Click += Button_SIGN_BrowseOutputFile_Click;
main.schemev1ComboBox.SelectedIndexChanged += SchemeComboBox_SelectedIndexChanged;
main.schemev2ComboBox.SelectedIndexChanged += SchemeComboBox_SelectedIndexChanged;
main.schemev3ComboBox.SelectedIndexChanged += SchemeComboBox_SelectedIndexChanged;
main.schemev4ComboBox.SelectedIndexChanged += SchemeComboBox_SelectedIndexChanged;
main.button_SIGN_Sign.Click += Button_SIGN_Sign_Click;
main.selectKeyStoreFileBtn.Click += SelectKeyStoreFileBtn_Click;
}
internal void button_SIGN_BrowsePublicKey_Click(object sender, EventArgs e)
internal void Button_SIGN_BrowsePublicKey_Click(object sender, EventArgs e)
{
using (OpenFileDialog ofd = new OpenFileDialog())
{
@@ -50,7 +49,7 @@ namespace APKToolGUI.Handlers
}
}
internal void button_SIGN_BrowsePrivateKey_Click(object sender, EventArgs e)
internal void Button_SIGN_BrowsePrivateKey_Click(object sender, EventArgs e)
{
using (OpenFileDialog ofd = new OpenFileDialog())
{
@@ -65,7 +64,7 @@ namespace APKToolGUI.Handlers
}
}
internal void button_SIGN_BrowseOutputFile_Click(object sender, EventArgs e)
internal void Button_SIGN_BrowseOutputFile_Click(object sender, EventArgs e)
{
VistaFolderBrowserDialog dlg = new VistaFolderBrowserDialog();
dlg.ShowNewFolderButton = true;
@@ -76,7 +75,7 @@ namespace APKToolGUI.Handlers
}
}
internal void button_SIGN_BrowseInputFile_Click(object sender, EventArgs e)
internal async void Button_SIGN_BrowseInputFile_Click(object sender, EventArgs e)
{
using (OpenFileDialog ofd = new OpenFileDialog())
{
@@ -85,7 +84,7 @@ namespace APKToolGUI.Handlers
if (ofd.ShowDialog() == DialogResult.OK)
{
main.textBox_SIGN_InputFile.Text = ofd.FileName;
main.GetApkInfo(ofd.FileName);
await main.GetApkInfo(ofd.FileName);
main.textBox_SIGN_OutputFile.Text =
String.Format("{0}{1}{2}_signed{3}",
Path.GetDirectoryName(main.textBox_SIGN_InputFile.Text),
@@ -96,7 +95,7 @@ namespace APKToolGUI.Handlers
}
}
internal async void button_SIGN_Sign_Click(object sender, EventArgs e)
internal async void Button_SIGN_Sign_Click(object sender, EventArgs e)
{
try
{
@@ -125,7 +124,7 @@ namespace APKToolGUI.Handlers
}
}
internal void selectKeyStoreFileBtn_Click(object sender, EventArgs e)
internal void SelectKeyStoreFileBtn_Click(object sender, EventArgs e)
{
using (OpenFileDialog ofd = new OpenFileDialog())
{
@@ -135,7 +134,7 @@ namespace APKToolGUI.Handlers
}
}
private void schemeComboBoxChanged(object sender, EventArgs e)
private void SchemeComboBox_SelectedIndexChanged(object sender, EventArgs e)
{
Settings.Default.Sign_Schemev1 = main.schemev1ComboBox.SelectedIndex;
Settings.Default.Sign_Schemev2 = main.schemev2ComboBox.SelectedIndex;
@@ -19,12 +19,12 @@ namespace APKToolGUI.Handlers
public SmaliControlEventHandlers(FormMain Main)
{
main = Main;
main.smaliBrowseOutputBtn.Click += smaliBrowseOutputBtn_Click;
main.smaliBrowseInputDirBtn.Click += smaliBrowseInputDirBtn_Click;
main.comSmaliBtn.Click += comSmaliBtn_Click;
main.smaliBrowseOutputBtn.Click += SmaliBrowseOutputBtn_Click;
main.smaliBrowseInputDirBtn.Click += SmaliBrowseInputDirBtn_Click;
main.comSmaliBtn.Click += ComSmaliBtn_Click;
}
internal void smaliBrowseOutputBtn_Click(object sender, EventArgs e)
internal void SmaliBrowseOutputBtn_Click(object sender, EventArgs e)
{
VistaFolderBrowserDialog dlg = new VistaFolderBrowserDialog();
dlg.ShowNewFolderButton = true;
@@ -35,7 +35,7 @@ namespace APKToolGUI.Handlers
}
}
internal void smaliBrowseInputDirBtn_Click(object sender, EventArgs e)
internal void SmaliBrowseInputDirBtn_Click(object sender, EventArgs e)
{
VistaFolderBrowserDialog dlg = new VistaFolderBrowserDialog();
dlg.ShowNewFolderButton = true;
@@ -46,7 +46,7 @@ namespace APKToolGUI.Handlers
}
}
internal void comSmaliBtn_Click(object sender, EventArgs e)
internal async void ComSmaliBtn_Click(object sender, EventArgs e)
{
if (main.smaliUseOutputChkBox.Checked)
{
@@ -63,7 +63,7 @@ namespace APKToolGUI.Handlers
return;
}
main.Smali(Settings.Default.Smali_InputDir);
await main.Smali(Settings.Default.Smali_InputDir);
}
}
}
@@ -21,10 +21,10 @@ namespace APKToolGUI.Handlers
{
main = Main;
CheckAlignSwitch = !Settings.Default.Zipalign_CheckOnly;
main.checkBox_ZIPALIGN_CheckAlignment.Click += checkBox_ZIPALIGN_CheckAlignment_CheckedChanged;
main.button_ZIPALIGN_BrowseOutputFile.Click += button_ZIPALIGN_BrowseOutputFile_Click;
main.button_ZIPALIGN_BrowseInputFile.Click += button_ZIPALIGN_BrowseInputFile_Click;
main.button_ZIPALIGN_Align.Click += button_ZIPALIGN_Align_Click;
main.checkBox_ZIPALIGN_CheckAlignment.Click += CheckBox_ZIPALIGN_CheckAlignment_CheckedChanged;
main.button_ZIPALIGN_BrowseOutputFile.Click += Button_ZIPALIGN_BrowseOutputFile_Click;
main.button_ZIPALIGN_BrowseInputFile.Click += Button_ZIPALIGN_BrowseInputFile_Click;
main.button_ZIPALIGN_Align.Click += Button_ZIPALIGN_Align_Click;
}
internal bool CheckAlignSwitch
@@ -36,12 +36,12 @@ namespace APKToolGUI.Handlers
}
}
internal void checkBox_ZIPALIGN_CheckAlignment_CheckedChanged(object sender, EventArgs e)
internal void CheckBox_ZIPALIGN_CheckAlignment_CheckedChanged(object sender, EventArgs e)
{
CheckAlignSwitch = !main.checkBox_ZIPALIGN_CheckAlignment.Checked;
}
internal void button_ZIPALIGN_BrowseOutputFile_Click(object sender, EventArgs e)
internal void Button_ZIPALIGN_BrowseOutputFile_Click(object sender, EventArgs e)
{
VistaFolderBrowserDialog dlg = new VistaFolderBrowserDialog();
dlg.ShowNewFolderButton = true;
@@ -52,7 +52,7 @@ namespace APKToolGUI.Handlers
}
}
internal void button_ZIPALIGN_BrowseInputFile_Click(object sender, EventArgs e)
internal async void Button_ZIPALIGN_BrowseInputFile_Click(object sender, EventArgs e)
{
using (OpenFileDialog ofd = new OpenFileDialog())
{
@@ -66,7 +66,7 @@ namespace APKToolGUI.Handlers
if (ofd.ShowDialog() == DialogResult.OK)
{
main.textBox_ZIPALIGN_InputFile.Text = ofd.FileName;
main.GetApkInfo(ofd.FileName);
await main.GetApkInfo(ofd.FileName);
if (!main.checkBox_ZIPALIGN_CheckAlignment.Checked)
main.textBox_ZIPALIGN_OutputFile.Text = String.Format("{0}\\{1}_zipaligned{2}",
Path.GetDirectoryName(ofd.FileName),
@@ -76,7 +76,7 @@ namespace APKToolGUI.Handlers
}
}
internal async void button_ZIPALIGN_Align_Click(object sender, EventArgs e)
internal async void Button_ZIPALIGN_Align_Click(object sender, EventArgs e)
{
if (!File.Exists(main.textBox_ZIPALIGN_InputFile.Text))
{
+4 -3
View File
@@ -14,7 +14,7 @@ namespace Java
public JarProcess(string javaPath, string jarPath)
{
JavaPath = javaPath.Equals("java") ? "" : javaPath;
JavaPath = string.IsNullOrWhiteSpace(javaPath) ? "java" : javaPath;
JarPath = jarPath;
Initialize();
}
@@ -38,8 +38,9 @@ namespace Java
if (Settings.Default.UseCustomJVMArgs)
customArgs = Settings.Default.CustomJVMArgs;
StartInfo.Arguments = String.Format("-jar {0} \"{1}\" {2}", customArgs, JarPath, args);
Debug.WriteLine(String.Format("-jar {0} \"{1}\" {2}", customArgs, JarPath, args));
string jvmArgs = string.IsNullOrWhiteSpace(customArgs) ? string.Empty : customArgs.Trim() + " ";
StartInfo.Arguments = String.Format("{0}-jar \"{1}\" {2}", jvmArgs, JarPath, args);
Debug.WriteLine(StartInfo.Arguments);
return base.Start();
}
+9 -9
View File
@@ -744,15 +744,6 @@ namespace APKToolGUI.Languages {
}
}
/// <summary>
/// Looks up a localized string similar to Extract original signature.
/// </summary>
internal static string ExtractOrigSignature {
get {
return ResourceManager.GetString("ExtractOrigSignature", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to File.
/// </summary>
@@ -1113,6 +1104,15 @@ namespace APKToolGUI.Languages {
}
}
/// <summary>
/// Looks up a localized string similar to .
/// </summary>
internal static string SetLanguageRestartApplication {
get {
return ResourceManager.GetString("SetLanguageRestartApplication", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Settings.
/// </summary>
+9 -12
View File
@@ -5,18 +5,18 @@
Version 2.0
Das Hauptziel dieses Formats ist es, ein einfaches XML-Format zu ermöglichen
das größtenteils für den Menschen lesbar ist. Die Erzeugung und das Parsen der
verschiedenen Datentypen erfolgt durch die TypeConverter-Klassen
die mit den Datentypen verbunden sind.
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.
Beispiel:
Example:
ado.net/XML headers & schema
... 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>
<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">
@@ -462,9 +462,6 @@
<data name="ErrorMerging" xml:space="preserve">
<value>Zusammenführen fehlgeschlagen</value>
</data>
<data name="ExtractOrigSignature" xml:space="preserve">
<value>Originale Signatur extrahieren</value>
</data>
<data name="MergingApkEditor" xml:space="preserve">
<value>APK mit APKEditor.jar zusammenführen</value>
</data>
@@ -546,4 +543,4 @@
<data name="SetLanguageRestartApplication" xml:space="preserve">
<value>Sprache installiert. Programm neu starten?</value>
</data>
</root>
</root>
+3 -6
View File
@@ -429,9 +429,6 @@
<data name="ParsingApkInfo" xml:space="preserve">
<value>APK információk elemzése...</value>
</data>
<data name="SetLanguageRestartApplication" xml:space="preserve">
<value>A nyelv be van állítva. Újra akarja indítani az alkalmazást?</value>
</data>
<data name="DecompilingAllApkFiles" xml:space="preserve">
<value>Az összes APK fájl visszafejtése</value>
</data>
@@ -462,9 +459,6 @@
<data name="ErrorMerging" xml:space="preserve">
<value>Az ˘egyesítés nem sikerült</value>
</data>
<data name="ExtractOrigSignature" xml:space="preserve">
<value>Az eredeti aláírás kibontása</value>
</data>
<data name="MergingApkEditor" xml:space="preserve">
<value>APK egyesítése az APKEditor.jar használatával</value>
</data>
@@ -516,4 +510,7 @@
<data name="ClearFrameworkPrompt" xml:space="preserve">
<value>A váratlan hibák elkerülése érdekében az Apktool verziójának módosítása után törölni kell a framework gyorsítótárát. Szeretné most törölni?</value>
</data>
<data name="SetLanguageRestartApplication" xml:space="preserve">
<value>A nyelv be van állítva. Újra akarja indítani az alkalmazást?</value>
</data>
</root>
+546
View File
@@ -0,0 +1,546 @@
<?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>
<data name="About" xml:space="preserve">
<value>バージョン情報</value>
</data>
<data name="APKToolVersion" xml:space="preserve">
<value>Apktool のバージョン</value>
</data>
<data name="CheckForUpdate" xml:space="preserve">
<value>更新を確認する</value>
</data>
<data name="DebugMode" xml:space="preserve">
<value>デバッグモード</value>
</data>
<data name="Exit" xml:space="preserve">
<value>終了</value>
</data>
<data name="File" xml:space="preserve">
<value>ファイル</value>
</data>
<data name="Help" xml:space="preserve">
<value>ヘルプ</value>
</data>
<data name="Settings" xml:space="preserve">
<value>設定</value>
</data>
<data name="ErrorJavaDetect" xml:space="preserve">
<value>Java がインストールされていないか、正しくインストールされていません。 Java をインストールするか、設定でカスタムの場所を設定してください。</value>
</data>
<data name="ErrorReadSettings" xml:space="preserve">
<value>設定の読み取りエラーです!</value>
</data>
<data name="UpdateNewVersion" xml:space="preserve">
<value>新しいバージョン利用可能です。 更新しますか?</value>
</data>
<data name="UpdateNoUpdates" xml:space="preserve">
<value>利用可能な更新はありません。</value>
</data>
<data name="WarningDecodingFolderNotSelected" xml:space="preserve">
<value>デコード先のフォルダーが未選択です!</value>
</data>
<data name="WarningFileForDecodingNotSelected" xml:space="preserve">
<value>デコードするファイルが未選択です!</value>
</data>
<data name="WarningFileForSigningNotSelected" xml:space="preserve">
<value>署名用のファイルが未選択です!</value>
</data>
<data name="WarningFrameworkNotSelected" xml:space="preserve">
<value>フレームワークが未選択です!</value>
</data>
<data name="ErrorSaveSettings" xml:space="preserve">
<value>設定の保存エラーです!</value>
</data>
<data name="NeedRestart" xml:space="preserve">
<value>設定を有効化するにはプログラムを再起動してください。 今すぐしますか?</value>
</data>
<data name="FileNotFound" xml:space="preserve">
<value>ファイルが見つかりません</value>
</data>
<data name="FolderNotExist" xml:space="preserve">
<value>フォルダーが存在しません</value>
</data>
<data name="Error" xml:space="preserve">
<value>エラー</value>
</data>
<data name="Build" xml:space="preserve">
<value>ビルド</value>
</data>
<data name="Decode" xml:space="preserve">
<value>デコード</value>
</data>
<data name="InstallFramework" xml:space="preserve">
<value>フレームワークをインストール</value>
</data>
<data name="Sign" xml:space="preserve">
<value>署名</value>
</data>
<data name="SystemLanguage" xml:space="preserve">
<value>システムの言語</value>
</data>
<data name="DoYouRealyWantToInstallCM" xml:space="preserve">
<value>コンテキストメニューをインストールしますか?</value>
</data>
<data name="DoYouRealyWantToRemoveCM" xml:space="preserve">
<value>コンテキストメニューを削除しますか?</value>
</data>
<data name="Done" xml:space="preserve">
<value>完了</value>
</data>
<data name="CantDetectApktoolVersion" xml:space="preserve">
<value>apktool のバージョンを検出できません。</value>
</data>
<data name="DecompilingSuccessfullyCompleted" xml:space="preserve">
<value>デコンパイルが正常に完了しました。 出力先のディレクトリ: {0}</value>
</data>
<data name="ErrorUpdateChecking" xml:space="preserve">
<value>更新の確認でエラーが発生しました:</value>
</data>
<data name="SignSuccessfullyCompleted" xml:space="preserve">
<value>署名は正常に完了しました。 ファイルの保存先: {0}</value>
</data>
<data name="Aligning" xml:space="preserve">
<value>最適化中</value>
</data>
<data name="ErrorCompiling" xml:space="preserve">
<value>コンパイルに失敗しました</value>
</data>
<data name="ErrorEnteringFrameworkTag" xml:space="preserve">
<value>フレームワークタグの入力エラーです。</value>
</data>
<data name="ErrorSelectedFileNotExist" xml:space="preserve">
<value>選択したファイルは存在しません。</value>
</data>
<data name="ErrorSelectingFrameworkDirectory" xml:space="preserve">
<value>フレームワークディレクトリの選択中にエラーが発生しました。</value>
</data>
<data name="ErrorSelectingFrameworkFile" xml:space="preserve">
<value>フレームワークファイルの選択中にエラーが発生しました。 ファイルが存在しません。</value>
</data>
<data name="ErrorSigning" xml:space="preserve">
<value>署名に失敗しました。</value>
</data>
<data name="FrameworkInstallationNotStarted" xml:space="preserve">
<value>エラーが発生しました。 フレームワークのインストールが開始されていません。</value>
</data>
<data name="InstallingFramework" xml:space="preserve">
<value>フレームワークをインストール</value>
</data>
<data name="Signing" xml:space="preserve">
<value>署名</value>
</data>
<data name="SignInputFileNotFound" xml:space="preserve">
<value>入力先のファイルがありません。</value>
</data>
<data name="SignPrivateKeyNotFound" xml:space="preserve">
<value>秘密鍵がありません。</value>
</data>
<data name="SignPublicKeyNotFound" xml:space="preserve">
<value>公開鍵がありません。</value>
</data>
<data name="ZIPArchives" xml:space="preserve">
<value>ZIP アーカイブ</value>
</data>
<data name="DecodeCouldNotCreate" xml:space="preserve">
<value>無効な文字が含まれているため、選択したデコンパイルディレクトリを作成できませんでした。</value>
</data>
<data name="DecodeDirNotSelected" xml:space="preserve">
<value>デコンパイルディレクトリが未選択です。</value>
</data>
<data name="DecodeSelectedFrameworkNotExist" xml:space="preserve">
<value>選択したフレームワークディレクトリが存在しません。</value>
</data>
<data name="Decoding" xml:space="preserve">
<value>デコード中</value>
</data>
<data name="ErrorDecompiling" xml:space="preserve">
<value>デコンパイルに失敗しました</value>
</data>
<data name="ExecutableFile" xml:space="preserve">
<value>実行可能なファイル</value>
</data>
<data name="ChangedTargetSdkTo29" xml:space="preserve">
<value>ターゲット SDK を 29 に変更する</value>
</data>
<data name="ErrorVersionParsing" xml:space="preserve">
<value>バージョンの解析に失敗しました</value>
</data>
<data name="FixAndroidManifest" xml:space="preserve">
<value>AndroidManifest.xml を修正しました</value>
</data>
<data name="RemoveApkToolDummies" xml:space="preserve">
<value>すべての ApkTook ダミーを削除しました</value>
</data>
<data name="APKSelected" xml:space="preserve">
<value>選択した APK:</value>
</data>
<data name="ErrorSelectedFolderNotExist" xml:space="preserve">
<value>選択したフォルダーは存在しません。</value>
</data>
<data name="AndroidManifestNotExist" xml:space="preserve">
<value>AndroidManifest.xml が存在しません</value>
</data>
<data name="DecompiledAPKNotExist" xml:space="preserve">
<value>デコンパイルされた APK ディレクトリが存在しません</value>
</data>
<data name="MainActivityFound" xml:space="preserve">
<value>「{0}」でメインアクティビティが見つかりました</value>
</data>
<data name="MainActivityNotFoundPleaseFindManually" xml:space="preserve">
<value>メインアクティビティが見つかりませんでした。 手動で検索してください</value>
</data>
<data name="ClearingFramework" xml:space="preserve">
<value>フレームワークを消去</value>
</data>
<data name="CompilingSuccessfullyCompleted" xml:space="preserve">
<value>コンパイルが正常に完了しました。 出力先ディレクトリ: {0}</value>
</data>
<data name="ErrorZipalign" xml:space="preserve">
<value>Zipaligning に失敗しました</value>
</data>
<data name="ZipalignFileSavedTo" xml:space="preserve">
<value>Zipalign が正常に完了しました。 ファイルは「{0}」に保存されました</value>
</data>
<data name="ErrorClearingFw" xml:space="preserve">
<value>フレームワークの消去でエラーが発生しました</value>
</data>
<data name="FrameworkCacheCleared" xml:space="preserve">
<value>フレームワークキャッシュを消去しました</value>
</data>
<data name="AllDone" xml:space="preserve">
<value>すべて完了しました!</value>
</data>
<data name="FrameworkInstalled" xml:space="preserve">
<value>フレームワークが正常にインストールされました</value>
</data>
<data name="FrameworkDirNotExist" xml:space="preserve">
<value>フレームワークディレクトリが存在しません</value>
</data>
<data name="DecompilingDex" xml:space="preserve">
<value>DEX をデコンパイル中</value>
</data>
<data name="ErrorSelectedOutputFolderNotExist" xml:space="preserve">
<value>選択した出力先フォルダーが存在しません。</value>
</data>
<data name="CompilingDex" xml:space="preserve">
<value>DEX をコンパイル中</value>
</data>
<data name="DragDropNotSupported" xml:space="preserve">
<value>管理者として実行中です。 ドラッグ &amp; ドロップはサポートされていない可能性があります</value>
</data>
<data name="DragDropSupported" xml:space="preserve">
<value>ドラッグ &amp; ドロップはサポートされています</value>
</data>
<data name="ErrorNotAnApk" xml:space="preserve">
<value>このディレクトリは Android パッケージではありません</value>
</data>
<data name="Baksmali" xml:space="preserve">
<value>Baksmali</value>
</data>
<data name="Smali" xml:space="preserve">
<value>Smali</value>
</data>
<data name="Zipalign" xml:space="preserve">
<value>Zipalign</value>
</data>
<data name="CompileApk" xml:space="preserve">
<value>APK をコンパイル</value>
</data>
<data name="CompileDex" xml:space="preserve">
<value>DEX を組み立て</value>
</data>
<data name="DecompileApk" xml:space="preserve">
<value>APK をデコンパイル</value>
</data>
<data name="DecompileDex" xml:space="preserve">
<value>DEX を分解</value>
</data>
<data name="GetApkInfo" xml:space="preserve">
<value>APK 情報を表示</value>
</data>
<data name="NotDecompiledApk" xml:space="preserve">
<value>このフォルダーはデコンパイルされた APK ではありません</value>
</data>
<data name="NotDecompiledDex" xml:space="preserve">
<value>このフォルダーはデコンパイルされた DEX ではありません</value>
</data>
<data name="RequiredFilesMissing" xml:space="preserve">
<value>必要なファイルが見つかりません</value>
</data>
<data name="SignApk" xml:space="preserve">
<value>APK を署名</value>
</data>
<data name="TextFile" xml:space="preserve">
<value>テキストファイル</value>
</data>
<data name="ZipalignApk" xml:space="preserve">
<value>APK を最適化</value>
</data>
<data name="CreateUnsignedApk" xml:space="preserve">
<value>未署名の APK を作成</value>
</data>
<data name="MetainfNotExist" xml:space="preserve">
<value>META-INF フォルダーがありません。 スキップしました</value>
</data>
<data name="ErrorGettingApkInfo" xml:space="preserve">
<value>アプリ情報の取得中にエラーが発生しました</value>
</data>
<data name="InputDirectory" xml:space="preserve">
<value>入力先のディレクトリ: {0}</value>
</data>
<data name="InputFile" xml:space="preserve">
<value>入力ファイル: {0}</value>
</data>
<data name="DeleteFile" xml:space="preserve">
<value>「{0}」のファイルを削除</value>
</data>
<data name="CopyFileToTemp" xml:space="preserve">
<value>「{0}」のファイルを一時ディレクトリ「{1}」にコピーします</value>
</data>
<data name="CopyFolderToTemp" xml:space="preserve">
<value>デコンパイルされた apk フォルダー「{0}」を一時ディレクトリの「{1}」コピーします</value>
</data>
<data name="DecodeDesDirExists" xml:space="preserve">
<value>宛先のディレクトリ「{0}」は既に存在します。 上書きする場合は「宛先のディレクトリを強制的に削除」を有効化してください。</value>
</data>
<data name="MoveTempApkFileToOutput" xml:space="preserve">
<value>一時フォルダー「{0}」を出力先ディレクトリ「{1}」に移動します</value>
</data>
<data name="MoveTempApkToOutput" xml:space="preserve">
<value>一時 APK「{0}」を出力先ディレクトリ「{1}」に移動します</value>
</data>
<data name="ParsingApkInfo" xml:space="preserve">
<value>APK 情報を解析中です...</value>
</data>
<data name="RestartApplicationPrompt" xml:space="preserve">
<value>変更を適用するには再起動が必要です。 アプリを再起動しますか?</value>
</data>
<data name="DecompilingAllApkFiles" xml:space="preserve">
<value>すべての APK ファイルをデコンパイル中</value>
</data>
<data name="DetectedAsBase" xml:space="preserve">
<value>{0} がベースとして検出されました</value>
</data>
<data name="DetectedAsSplit" xml:space="preserve">
<value>{0} が分割として検出されました</value>
</data>
<data name="ExtractingAllApkFiles" xml:space="preserve">
<value>すべての APK ファイルを展開中</value>
</data>
<data name="MergeFinishedMoveDir" xml:space="preserve">
<value>統合が完了しました。 ディレクトリを「{0}」に移動中です</value>
</data>
<data name="MergingApk" xml:space="preserve">
<value>APK を統合中</value>
</data>
<data name="MovingBasedirectory" xml:space="preserve">
<value>ベースディレクトリを「{0}」に移動中です</value>
</data>
<data name="DirNotExist" xml:space="preserve">
<value>ディレクトリ「{0}」は存在しません</value>
</data>
<data name="TempDirectory" xml:space="preserve">
<value>一時ディレクトリ: {0}</value>
</data>
<data name="ErrorMerging" xml:space="preserve">
<value>統合に失敗しました</value>
</data>
<data name="MergingApkEditor" xml:space="preserve">
<value>APKEditor.jar を使用して APK を統合する</value>
</data>
<data name="Aborted" xml:space="preserve">
<value>中断しました</value>
</data>
<data name="CancelProcess" xml:space="preserve">
<value>プロセスをキャンセルしますか?</value>
</data>
<data name="GettingDevices" xml:space="preserve">
<value>デバイスを取得中です...</value>
</data>
<data name="PleaseWait" xml:space="preserve">
<value>お待ちください...</value>
</data>
<data name="ConfirmKillingAdbServer" xml:space="preserve">
<value>ADB サーバーを強制終了しますか? デバイスを再接続するか、エミュレーターを再起動する必要があるかもしれません</value>
</data>
<data name="DeviceNotSelected" xml:space="preserve">
<value>デバイスが未選択です</value>
</data>
<data name="DeviceSelected" xml:space="preserve">
<value>選択されたデバイス: {0}</value>
</data>
<data name="DevicesFound" xml:space="preserve">
<value>{0} 件のデバイスを検出</value>
</data>
<data name="InstallApkFailed" xml:space="preserve">
<value>APK のインストールに失敗しました</value>
</data>
<data name="InstallApkSuccessful" xml:space="preserve">
<value>APK のインストールに成功しました</value>
</data>
<data name="InstallingApk" xml:space="preserve">
<value>APK をインストール中</value>
</data>
<data name="InstallingApkPath" xml:space="preserve">
<value>APK「{0}」をインストール中です</value>
</data>
<data name="NoDevicesFound" xml:space="preserve">
<value>デバイスはありません。 adb デバイスが ON になっている状態でデバイスがコンピューターに接続されていることを確認してください。 エミュレーターを使用する場合は、再起動して起動まで待機します</value>
</data>
<data name="TimeEnded" xml:space="preserve">
<value>終了時間: {0}</value>
</data>
<data name="TimeStarted" xml:space="preserve">
<value>開始時間: {0}</value>
</data>
<data name="ClearFrameworkPrompt" xml:space="preserve">
<value>予期しないエラーを回避するには、Apktook のバージョンを変更後にフレームワークキャッシュを消去する必要があります。 今すぐに消去しますか?</value>
</data>
<data name="ClearTempFolder" xml:space="preserve">
<value>一時フォルダーを削除中</value>
</data>
<data name="DeletingFolder" xml:space="preserve">
<value>削除するフォルダー: {0}</value>
</data>
<data name="DirectoryNotExist" xml:space="preserve">
<value>ディレクトリ「{0}」は存在しません</value>
</data>
<data name="OpenComFolder" xml:space="preserve">
<value>コンパイル出力先フォルダーを開く</value>
</data>
<data name="OpenDecFolder" xml:space="preserve">
<value>デコンパイル出力先フォルダーを開く</value>
</data>
<data name="FixApktoolYml" xml:space="preserve">
<value>apktool.yml を修正しました</value>
</data>
<data name="CopyFileTo" xml:space="preserve">
<value>「{0}」のファイルを「{1}」にコピー</value>
</data>
<data name="SplitApkNotFound" xml:space="preserve">
<value>分割 APK は未選択です</value>
</data>
<data name="CantDetectApkeditorVersion" xml:space="preserve">
<value> APKEditor バージョンの検出ができません</value>
</data>
<data name="SetLanguageRestartApplication" xml:space="preserve">
<value />
</data>
</root>
+3 -3
View File
@@ -462,9 +462,6 @@
<data name="ErrorMerging" xml:space="preserve">
<value>Merging failed</value>
</data>
<data name="ExtractOrigSignature" xml:space="preserve">
<value>Extract original signature</value>
</data>
<data name="MergingApkEditor" xml:space="preserve">
<value>Merging APK using APKEditor.jar</value>
</data>
@@ -543,4 +540,7 @@
<data name="CantDetectApkeditorVersion" xml:space="preserve">
<value>Can't detect APKEditor version</value>
</data>
<data name="SetLanguageRestartApplication" xml:space="preserve">
<value />
</data>
</root>
+33 -6
View File
@@ -429,9 +429,6 @@
<data name="ParsingApkInfo" xml:space="preserve">
<value>Чтение информации о APK...</value>
</data>
<data name="SetLanguageRestartApplication" xml:space="preserve">
<value>Язык установлен. Хотите перезапустить программу?</value>
</data>
<data name="DecompilingAllApkFiles" xml:space="preserve">
<value>Декомпиляция всех APK файлов</value>
</data>
@@ -462,9 +459,6 @@
<data name="ErrorMerging" xml:space="preserve">
<value>Ошибка при слиянии</value>
</data>
<data name="ExtractOrigSignature" xml:space="preserve">
<value>Извлечение оригинальной подписи</value>
</data>
<data name="MergingApkEditor" xml:space="preserve">
<value>Слияние APK с помощью APKEditor.jar</value>
</data>
@@ -516,4 +510,37 @@
<data name="ClearFrameworkPrompt" xml:space="preserve">
<value>После изменения версии Apktool необходимо очистить кеш. Вы хотите очистить его сейчас?</value>
</data>
<data name="RestartApplicationPrompt" xml:space="preserve">
<value>Для применения изменений требуется перезапуск. Перезапустить приложение сейчас?</value>
</data>
<data name="ClearTempFolder" xml:space="preserve">
<value>Очистка временной папки</value>
</data>
<data name="DeletingFolder" xml:space="preserve">
<value>Удаление папки: {0}</value>
</data>
<data name="DirectoryNotExist" xml:space="preserve">
<value>Директория "{0}" не существует</value>
</data>
<data name="OpenComFolder" xml:space="preserve">
<value>Открыть папку скомпилированных файлов</value>
</data>
<data name="OpenDecFolder" xml:space="preserve">
<value>Открыть папку декомпилированных файлов</value>
</data>
<data name="FixApktoolYml" xml:space="preserve">
<value>Исправлен apktool.yml</value>
</data>
<data name="CopyFileTo" xml:space="preserve">
<value>Копирование файла "{0}" в "{1}"</value>
</data>
<data name="SplitApkNotFound" xml:space="preserve">
<value>Split APK не выбран</value>
</data>
<data name="CantDetectApkeditorVersion" xml:space="preserve">
<value>Не удалось определить версию APKEditor</value>
</data>
<data name="SetLanguageRestartApplication" xml:space="preserve">
<value>Язык установлен. Хотите перезапустить программу?</value>
</data>
</root>
+546
View File
@@ -0,0 +1,546 @@
<?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>
<data name="About" xml:space="preserve">
<value>Hakkında</value>
</data>
<data name="APKToolVersion" xml:space="preserve">
<value>Apktool sürümü</value>
</data>
<data name="CheckForUpdate" xml:space="preserve">
<value>Güncellemeleri kontrol et</value>
</data>
<data name="DebugMode" xml:space="preserve">
<value>Hata ayıklama modu</value>
</data>
<data name="Exit" xml:space="preserve">
<value>Çıkış</value>
</data>
<data name="File" xml:space="preserve">
<value>Dosya</value>
</data>
<data name="Help" xml:space="preserve">
<value>Yardım</value>
</data>
<data name="Settings" xml:space="preserve">
<value>Ayarlar</value>
</data>
<data name="ErrorJavaDetect" xml:space="preserve">
<value>Java yüklü değil veya yanlış yüklenmiş. Lütfen Javayı yükleyin veya Ayarlardan özel konumu ayarlayın</value>
</data>
<data name="ErrorReadSettings" xml:space="preserve">
<value>Ayarlar okunurken hata oluştu!</value>
</data>
<data name="UpdateNewVersion" xml:space="preserve">
<value>Yeni bir sürüm mevcut. Güncellemek ister misiniz?</value>
</data>
<data name="UpdateNoUpdates" xml:space="preserve">
<value>Güncelleme mevcut değil.</value>
</data>
<data name="WarningDecodingFolderNotSelected" xml:space="preserve">
<value>Çözümleme klasörü seçilmedi!</value>
</data>
<data name="WarningFileForDecodingNotSelected" xml:space="preserve">
<value>Çözümleme için dosya seçilmedi!</value>
</data>
<data name="WarningFileForSigningNotSelected" xml:space="preserve">
<value>İmzalama için dosya seçilmedi!</value>
</data>
<data name="WarningFrameworkNotSelected" xml:space="preserve">
<value>Çerçeve seçilmedi!</value>
</data>
<data name="ErrorSaveSettings" xml:space="preserve">
<value>Ayarlar kaydedilirken hata oluştu!</value>
</data>
<data name="NeedRestart" xml:space="preserve">
<value>Değişikliklerin etkili olması için programı yeniden başlatmanız gerekiyor. Şimdi yapmak ister misiniz?</value>
</data>
<data name="FileNotFound" xml:space="preserve">
<value>Dosya bulunamadı</value>
</data>
<data name="FolderNotExist" xml:space="preserve">
<value>Klasör mevcut değil</value>
</data>
<data name="Error" xml:space="preserve">
<value>Hata</value>
</data>
<data name="Build" xml:space="preserve">
<value>Derle</value>
</data>
<data name="Decode" xml:space="preserve">
<value>Çözümle</value>
</data>
<data name="InstallFramework" xml:space="preserve">
<value>Çerçeveyi yükle</value>
</data>
<data name="Sign" xml:space="preserve">
<value>İmzala</value>
</data>
<data name="SystemLanguage" xml:space="preserve">
<value>Sistem dili</value>
</data>
<data name="DoYouRealyWantToInstallCM" xml:space="preserve">
<value>Bağlam menüsünü gerçekten yüklemek istiyor musunuz?</value>
</data>
<data name="DoYouRealyWantToRemoveCM" xml:space="preserve">
<value>Bağlam menüsünü gerçekten kaldırmak istiyor musunuz?</value>
</data>
<data name="Done" xml:space="preserve">
<value>Tamamlandı</value>
</data>
<data name="CantDetectApktoolVersion" xml:space="preserve">
<value>Apktool sürümü tespit edilemedi.</value>
</data>
<data name="DecompilingSuccessfullyCompleted" xml:space="preserve">
<value>Çözümleme başarıyla tamamlandı. Çıkış dizini "{0}".</value>
</data>
<data name="ErrorUpdateChecking" xml:space="preserve">
<value>Güncelleme kontrolü hatası:</value>
</data>
<data name="SignSuccessfullyCompleted" xml:space="preserve">
<value>İmzalama başarıyla tamamlandı. Dosya "{0}" konumuna kaydedildi.</value>
</data>
<data name="Aligning" xml:space="preserve">
<value>Hizalama</value>
</data>
<data name="ErrorCompiling" xml:space="preserve">
<value>Derleme başarısız</value>
</data>
<data name="ErrorEnteringFrameworkTag" xml:space="preserve">
<value>Çerçeve etiketi girilirken hata oluştu.</value>
</data>
<data name="ErrorSelectedFileNotExist" xml:space="preserve">
<value>Seçilen dosya mevcut değil.</value>
</data>
<data name="ErrorSelectingFrameworkDirectory" xml:space="preserve">
<value>Çerçeve dizini seçilirken hata oluştu.</value>
</data>
<data name="ErrorSelectingFrameworkFile" xml:space="preserve">
<value>Çerçeve dosyası seçilirken hata oluştu. Dosya mevcut değil.</value>
</data>
<data name="ErrorSigning" xml:space="preserve">
<value>İmzalama başarısız.</value>
</data>
<data name="FrameworkInstallationNotStarted" xml:space="preserve">
<value>Hata. Çerçeve kurulumu başlatılmadı.</value>
</data>
<data name="InstallingFramework" xml:space="preserve">
<value>Çerçeve yükleniyor</value>
</data>
<data name="Signing" xml:space="preserve">
<value>İmzalanıyor</value>
</data>
<data name="SignInputFileNotFound" xml:space="preserve">
<value>Giriş dosyası bulunamadı.</value>
</data>
<data name="SignPrivateKeyNotFound" xml:space="preserve">
<value>Özel anahtar bulunamadı.</value>
</data>
<data name="SignPublicKeyNotFound" xml:space="preserve">
<value>Genel anahtar bulunamadı.</value>
</data>
<data name="ZIPArchives" xml:space="preserve">
<value>ZIP arşivleri</value>
</data>
<data name="DecodeCouldNotCreate" xml:space="preserve">
<value>Seçilen çözümleme dizini, geçersiz karakterler içerdiği için oluşturulamadı.</value>
</data>
<data name="DecodeDirNotSelected" xml:space="preserve">
<value>Çözümleme dizini seçilmedi.</value>
</data>
<data name="DecodeSelectedFrameworkNotExist" xml:space="preserve">
<value>Seçilen çerçeve dizini mevcut değil.</value>
</data>
<data name="Decoding" xml:space="preserve">
<value>Çözümleniyor</value>
</data>
<data name="ErrorDecompiling" xml:space="preserve">
<value>Çözümleme başarısız</value>
</data>
<data name="ExecutableFile" xml:space="preserve">
<value>Çalıştırılabilir dosya</value>
</data>
<data name="ChangedTargetSdkTo29" xml:space="preserve">
<value>Hedef SDK 29a değiştirildi</value>
</data>
<data name="ErrorVersionParsing" xml:space="preserve">
<value>Sürüm ayrıştırılamadı</value>
</data>
<data name="FixAndroidManifest" xml:space="preserve">
<value>AndroidManifest.xml düzeltildi</value>
</data>
<data name="RemoveApkToolDummies" xml:space="preserve">
<value>Tüm ApkTool kuklaları kaldırıldı</value>
</data>
<data name="APKSelected" xml:space="preserve">
<value>APK Seçildi:</value>
</data>
<data name="ErrorSelectedFolderNotExist" xml:space="preserve">
<value>Seçilen klasör mevcut değil.</value>
</data>
<data name="AndroidManifestNotExist" xml:space="preserve">
<value>AndroidManifest.xml mevcut değil</value>
</data>
<data name="DecompiledAPKNotExist" xml:space="preserve">
<value>Çözümlenmiş APK dizini mevcut değil</value>
</data>
<data name="MainActivityFound" xml:space="preserve">
<value>Ana aktivite "{0}" içinde bulundu</value>
</data>
<data name="MainActivityNotFoundPleaseFindManually" xml:space="preserve">
<value>MainActivity bulunamadı. Lütfen manuel olarak bulun</value>
</data>
<data name="ClearingFramework" xml:space="preserve">
<value>Çerçeve temizleniyor</value>
</data>
<data name="CompilingSuccessfullyCompleted" xml:space="preserve">
<value>Derleme başarıyla tamamlandı. Çıkış dizini "{0}"</value>
</data>
<data name="ErrorZipalign" xml:space="preserve">
<value>Zipalign başarısız</value>
</data>
<data name="ZipalignFileSavedTo" xml:space="preserve">
<value>Zipalign başarıyla tamamlandı. Dosya "{0}" konumuna kaydedildi</value>
</data>
<data name="ErrorClearingFw" xml:space="preserve">
<value>Çerçeve temizlenirken hata oluştu</value>
</data>
<data name="FrameworkCacheCleared" xml:space="preserve">
<value>Çerçeve önbelleği temizlendi</value>
</data>
<data name="AllDone" xml:space="preserve">
<value>Hepsi tamamlandı!</value>
</data>
<data name="FrameworkInstalled" xml:space="preserve">
<value>Çerçeve başarıyla yüklendi</value>
</data>
<data name="FrameworkDirNotExist" xml:space="preserve">
<value>Çerçeve dizini mevcut değil</value>
</data>
<data name="DecompilingDex" xml:space="preserve">
<value>Dex çözümlemesi yapılıyor</value>
</data>
<data name="ErrorSelectedOutputFolderNotExist" xml:space="preserve">
<value>Seçilen çıkış klasörü mevcut değil.</value>
</data>
<data name="CompilingDex" xml:space="preserve">
<value>Dex derleniyor</value>
</data>
<data name="DragDropNotSupported" xml:space="preserve">
<value>Yönetici olarak çalışıyorsunuz. Sürükle ve bırak desteklenmeyebilir</value>
</data>
<data name="DragDropSupported" xml:space="preserve">
<value>Sürükle ve bırak destekleniyor</value>
</data>
<data name="ErrorNotAnApk" xml:space="preserve">
<value>Bu dizin bir Android paketi değil</value>
</data>
<data name="Baksmali" xml:space="preserve">
<value>Baksmali</value>
</data>
<data name="Smali" xml:space="preserve">
<value>Smali</value>
</data>
<data name="Zipalign" xml:space="preserve">
<value>Zipalign</value>
</data>
<data name="CompileApk" xml:space="preserve">
<value>APKyı derle</value>
</data>
<data name="CompileDex" xml:space="preserve">
<value>DEXi birleştir</value>
</data>
<data name="DecompileApk" xml:space="preserve">
<value>APKyı çözümle</value>
</data>
<data name="DecompileDex" xml:space="preserve">
<value>DEXi parçala</value>
</data>
<data name="GetApkInfo" xml:space="preserve">
<value>APK Bilgilerini Görüntüle</value>
</data>
<data name="NotDecompiledApk" xml:space="preserve">
<value>Bu klasör çözümlenmiş bir APK değil</value>
</data>
<data name="NotDecompiledDex" xml:space="preserve">
<value>Bu klasör çözümlenmiş bir DEX değil</value>
</data>
<data name="RequiredFilesMissing" xml:space="preserve">
<value>Gerekli dosyalar eksik</value>
</data>
<data name="SignApk" xml:space="preserve">
<value>APKyı imzala</value>
</data>
<data name="TextFile" xml:space="preserve">
<value>Metin dosyası</value>
</data>
<data name="ZipalignApk" xml:space="preserve">
<value>APKyı zipalign yap</value>
</data>
<data name="CreateUnsignedApk" xml:space="preserve">
<value>İmzasız APK oluşturuluyor</value>
</data>
<data name="MetainfNotExist" xml:space="preserve">
<value>META-INF klasörü mevcut değil. Atlandı</value>
</data>
<data name="ErrorGettingApkInfo" xml:space="preserve">
<value>APK bilgileri alınırken hata oluştu</value>
</data>
<data name="InputDirectory" xml:space="preserve">
<value>Giriş dizini: {0}</value>
</data>
<data name="InputFile" xml:space="preserve">
<value>Giriş dosyası: {0}</value>
</data>
<data name="DeleteFile" xml:space="preserve">
<value>"{0}" dosyasını sil</value>
</data>
<data name="CopyFileToTemp" xml:space="preserve">
<value>"{0}" dosyasını "{1}" geçici dizinine kopyala</value>
</data>
<data name="CopyFolderToTemp" xml:space="preserve">
<value>Çözümlenmiş apk klasörünü "{0}" "{1}" geçici dizinine kopyala</value>
</data>
<data name="DecodeDesDirExists" xml:space="preserve">
<value>Hedef dizin "{0}" zaten mevcut. Üzerine yazmak istiyorsanız "Hedef dizini zorla sil" seçeneğini etkinleştirin.</value>
</data>
<data name="MoveTempApkFileToOutput" xml:space="preserve">
<value>Geçici klasörü "{0}" çıkış dizinine "{1}" taşı</value>
</data>
<data name="MoveTempApkToOutput" xml:space="preserve">
<value>Geçici apkyı "{0}" çıkış dizinine "{1}" taşı</value>
</data>
<data name="ParsingApkInfo" xml:space="preserve">
<value>APK Bilgileri Ayrıştırılıyor...</value>
</data>
<data name="RestartApplicationPrompt" xml:space="preserve">
<value>Değişiklikleri uygulamak için yeniden başlatma gerekiyor. Uygulamayı şimdi yeniden başlatmak ister misiniz?</value>
</data>
<data name="DecompilingAllApkFiles" xml:space="preserve">
<value>Tüm APK dosyaları çözümleniyor</value>
</data>
<data name="DetectedAsBase" xml:space="preserve">
<value>{0} temel olarak algılandı</value>
</data>
<data name="DetectedAsSplit" xml:space="preserve">
<value>{0} bölünmüş olarak algılandı</value>
</data>
<data name="ExtractingAllApkFiles" xml:space="preserve">
<value>Tüm APK dosyaları çıkarılıyor</value>
</data>
<data name="MergeFinishedMoveDir" xml:space="preserve">
<value>Birleştirme tamamlandı. Dizin "{0}" konumuna taşınıyor</value>
</data>
<data name="MergingApk" xml:space="preserve">
<value>APK birleştiriliyor</value>
</data>
<data name="MovingBasedirectory" xml:space="preserve">
<value>Temel dizin "{0}" konumuna taşınıyor</value>
</data>
<data name="DirNotExist" xml:space="preserve">
<value>"{0}" dizini mevcut değil</value>
</data>
<data name="TempDirectory" xml:space="preserve">
<value>Geçici dizin: "{0}"</value>
</data>
<data name="ErrorMerging" xml:space="preserve">
<value>Birleştirme başarısız</value>
</data>
<data name="MergingApkEditor" xml:space="preserve">
<value>APK, APKEditor.jar kullanılarak birleştiriliyor</value>
</data>
<data name="Aborted" xml:space="preserve">
<value>İptal edildi</value>
</data>
<data name="CancelProcess" xml:space="preserve">
<value>İşlemi iptal etmek istediğinizden emin misiniz?</value>
</data>
<data name="GettingDevices" xml:space="preserve">
<value>Cihazlar alınıyor...</value>
</data>
<data name="PleaseWait" xml:space="preserve">
<value>Lütfen bekleyin...</value>
</data>
<data name="ConfirmKillingAdbServer" xml:space="preserve">
<value>ADB sunucusunu sonlandırmak istediğinizden emin misiniz? Cihazınızı yeniden bağlamanız veya emülatörü yeniden başlatmanız gerekebilir</value>
</data>
<data name="DeviceNotSelected" xml:space="preserve">
<value>Cihaz seçilmedi</value>
</data>
<data name="DeviceSelected" xml:space="preserve">
<value>Cihaz seçildi "{0}"</value>
</data>
<data name="DevicesFound" xml:space="preserve">
<value>{0} cihaz bulundu</value>
</data>
<data name="InstallApkFailed" xml:space="preserve">
<value>APK Kurulumu başarısız</value>
</data>
<data name="InstallApkSuccessful" xml:space="preserve">
<value>APK Kurulumu başarılı</value>
</data>
<data name="InstallingApk" xml:space="preserve">
<value>APK yükleniyor</value>
</data>
<data name="InstallingApkPath" xml:space="preserve">
<value>"{0}" APKsı yükleniyor</value>
</data>
<data name="NoDevicesFound" xml:space="preserve">
<value>Cihaz bulunamadı. Cihazınızın bilgisayara bağlı olduğundan ve adb hata ayıklamasının açık olduğundan emin olun. Emülatör kullanıyorsanız, yeniden başlatın ve açılmasını bekleyin</value>
</data>
<data name="TimeEnded" xml:space="preserve">
<value>Bitiş zamanı: {0}</value>
</data>
<data name="TimeStarted" xml:space="preserve">
<value>Başlangıç zamanı: {0}</value>
</data>
<data name="ClearFrameworkPrompt" xml:space="preserve">
<value>Apktool sürümü değiştirildikten sonra beklenmedik hataları önlemek için çerçeve önbelleğini temizlemek gerekiyor. Şimdi temizlemek ister misiniz?</value>
</data>
<data name="ClearTempFolder" xml:space="preserve">
<value>Geçici klasör temizleniyor</value>
</data>
<data name="DeletingFolder" xml:space="preserve">
<value>Klasör siliniyor: {0}</value>
</data>
<data name="DirectoryNotExist" xml:space="preserve">
<value>"{0}" dizini mevcut değil</value>
</data>
<data name="OpenComFolder" xml:space="preserve">
<value>Derleme çıkış klasörünü aç</value>
</data>
<data name="OpenDecFolder" xml:space="preserve">
<value>Çözümleme çıkış klasörünü aç</value>
</data>
<data name="FixApktoolYml" xml:space="preserve">
<value>apktool.yml düzeltildi</value>
</data>
<data name="CopyFileTo" xml:space="preserve">
<value>"{0}" dosyasını "{1}" konumuna kopyala</value>
</data>
<data name="SplitApkNotFound" xml:space="preserve">
<value>Bölünmüş APK seçilmedi</value>
</data>
<data name="CantDetectApkeditorVersion" xml:space="preserve">
<value>APKEditor sürümü tespit edilemedi</value>
</data>
<data name="SetLanguageRestartApplication" xml:space="preserve">
<value />
</data>
</root>
+546
View File
@@ -0,0 +1,546 @@
<?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>
<data name="About" xml:space="preserve">
<value>Giới thiệu</value>
</data>
<data name="APKToolVersion" xml:space="preserve">
<value>Phiên bản Apktool</value>
</data>
<data name="CheckForUpdate" xml:space="preserve">
<value>Kiểm tra cập nhật</value>
</data>
<data name="DebugMode" xml:space="preserve">
<value>Chế độ gỡ lỗi</value>
</data>
<data name="Exit" xml:space="preserve">
<value>Thoát</value>
</data>
<data name="File" xml:space="preserve">
<value>Tệp</value>
</data>
<data name="Help" xml:space="preserve">
<value>Trợ giúp</value>
</data>
<data name="Settings" xml:space="preserve">
<value>Cài đặt</value>
</data>
<data name="ErrorJavaDetect" xml:space="preserve">
<value>Java chưa được cài đặt hoặc đã cài đặt không đúng. Vui lòng cài đặt Java hoặc đặt vị trí tùy chỉnh trong Cài đặt</value>
</data>
<data name="ErrorReadSettings" xml:space="preserve">
<value>Lỗi đọc cài đặt!</value>
</data>
<data name="UpdateNewVersion" xml:space="preserve">
<value>Có phiên bản mới. Bạn có muốn cập nhật không?</value>
</data>
<data name="UpdateNoUpdates" xml:space="preserve">
<value>Không có bản cập nhật nào.</value>
</data>
<data name="WarningDecodingFolderNotSelected" xml:space="preserve">
<value>Thư mục dịch ngược chưa được chọn!</value>
</data>
<data name="WarningFileForDecodingNotSelected" xml:space="preserve">
<value>Tệp để dịch ngược chưa được chọn!</value>
</data>
<data name="WarningFileForSigningNotSelected" xml:space="preserve">
<value>Tệp để ký chưa được chọn!</value>
</data>
<data name="WarningFrameworkNotSelected" xml:space="preserve">
<value>Framework chưa được chọn!</value>
</data>
<data name="ErrorSaveSettings" xml:space="preserve">
<value>Lỗi lưu cài đặt!</value>
</data>
<data name="NeedRestart" xml:space="preserve">
<value>Để các thay đổi có hiệu lực, bạn phải khởi động lại chương trình. Bạn có muốn thực hiện ngay bây giờ không?</value>
</data>
<data name="FileNotFound" xml:space="preserve">
<value>Không tìm thấy tệp</value>
</data>
<data name="FolderNotExist" xml:space="preserve">
<value>Thư mục không tồn tại</value>
</data>
<data name="Error" xml:space="preserve">
<value>Lỗi</value>
</data>
<data name="Build" xml:space="preserve">
<value>Biên dịch</value>
</data>
<data name="Decode" xml:space="preserve">
<value>Dịch ngược</value>
</data>
<data name="InstallFramework" xml:space="preserve">
<value>Cài đặt framework</value>
</data>
<data name="Sign" xml:space="preserve">
<value>Ký</value>
</data>
<data name="SystemLanguage" xml:space="preserve">
<value>Ngôn ngữ hệ thống</value>
</data>
<data name="DoYouRealyWantToInstallCM" xml:space="preserve">
<value>Bạn có thực sự muốn cài đặt menu ngữ cảnh không?</value>
</data>
<data name="DoYouRealyWantToRemoveCM" xml:space="preserve">
<value>Bạn có thực sự muốn xóa menu ngữ cảnh không?</value>
</data>
<data name="Done" xml:space="preserve">
<value>Hoàn tất</value>
</data>
<data name="CantDetectApktoolVersion" xml:space="preserve">
<value>Không thể phát hiện phiên bản apktool.</value>
</data>
<data name="DecompilingSuccessfullyCompleted" xml:space="preserve">
<value>Dịch ngược thành công. Thư mục đầu ra "{0}".</value>
</data>
<data name="ErrorUpdateChecking" xml:space="preserve">
<value>Lỗi kiểm tra cập nhật:</value>
</data>
<data name="SignSuccessfullyCompleted" xml:space="preserve">
<value>Ký thành công. Tệp đã được lưu vào "{0}".</value>
</data>
<data name="Aligning" xml:space="preserve">
<value>Đang căn chỉnh</value>
</data>
<data name="ErrorCompiling" xml:space="preserve">
<value>Biên dịch thất bại</value>
</data>
<data name="ErrorEnteringFrameworkTag" xml:space="preserve">
<value>Lỗi nhập thẻ framework.</value>
</data>
<data name="ErrorSelectedFileNotExist" xml:space="preserve">
<value>Tệp đã chọn không tồn tại.</value>
</data>
<data name="ErrorSelectingFrameworkDirectory" xml:space="preserve">
<value>Lỗi chọn thư mục framework.</value>
</data>
<data name="ErrorSelectingFrameworkFile" xml:space="preserve">
<value>Lỗi chọn tệp framework. Tệp không tồn tại.</value>
</data>
<data name="ErrorSigning" xml:space="preserve">
<value>Ký thất bại.</value>
</data>
<data name="FrameworkInstallationNotStarted" xml:space="preserve">
<value>Lỗi. Việc cài đặt framework chưa được bắt đầu.</value>
</data>
<data name="InstallingFramework" xml:space="preserve">
<value>Đang cài đặt framework</value>
</data>
<data name="Signing" xml:space="preserve">
<value>Đang ký</value>
</data>
<data name="SignInputFileNotFound" xml:space="preserve">
<value>Không tìm thấy tệp đầu vào.</value>
</data>
<data name="SignPrivateKeyNotFound" xml:space="preserve">
<value>Không tìm thấy khóa riêng.</value>
</data>
<data name="SignPublicKeyNotFound" xml:space="preserve">
<value>Không tìm thấy khóa công khai.</value>
</data>
<data name="ZIPArchives" xml:space="preserve">
<value>Tệp nén ZIP</value>
</data>
<data name="DecodeCouldNotCreate" xml:space="preserve">
<value>Thư mục dịch ngược đã chọn không thể được tạo vì chứa các ký tự không hợp lệ.</value>
</data>
<data name="DecodeDirNotSelected" xml:space="preserve">
<value>Thư mục dịch ngược chưa được chọn.</value>
</data>
<data name="DecodeSelectedFrameworkNotExist" xml:space="preserve">
<value>Thư mục framework đã chọn không tồn tại.</value>
</data>
<data name="Decoding" xml:space="preserve">
<value>Đang dịch ngược</value>
</data>
<data name="ErrorDecompiling" xml:space="preserve">
<value>Dịch ngược thất bại</value>
</data>
<data name="ExecutableFile" xml:space="preserve">
<value>Tệp thực thi</value>
</data>
<data name="ChangedTargetSdkTo29" xml:space="preserve">
<value>Đã thay đổi target SDK thành 29</value>
</data>
<data name="ErrorVersionParsing" xml:space="preserve">
<value>Phân tích phiên bản thất bại</value>
</data>
<data name="FixAndroidManifest" xml:space="preserve">
<value>Đã sửa tệp AndroidManifest.xml</value>
</data>
<data name="RemoveApkToolDummies" xml:space="preserve">
<value>Đã xóa tất cả các tệp giả của ApkTool</value>
</data>
<data name="APKSelected" xml:space="preserve">
<value>APK đã chọn:</value>
</data>
<data name="ErrorSelectedFolderNotExist" xml:space="preserve">
<value>Thư mục đã chọn không tồn tại.</value>
</data>
<data name="AndroidManifestNotExist" xml:space="preserve">
<value>Tệp AndroidManifest.xml không tồn tại</value>
</data>
<data name="DecompiledAPKNotExist" xml:space="preserve">
<value>Thư mục APK đã dịch ngược không tồn tại</value>
</data>
<data name="MainActivityFound" xml:space="preserve">
<value>Đã tìm thấy activity chính trong "{0}"</value>
</data>
<data name="MainActivityNotFoundPleaseFindManually" xml:space="preserve">
<value>Không thể tìm thấy MainActivity. Vui lòng tìm thủ công</value>
</data>
<data name="ClearingFramework" xml:space="preserve">
<value>Đang xóa Framework</value>
</data>
<data name="CompilingSuccessfullyCompleted" xml:space="preserve">
<value>Biên dịch thành công. Thư mục đầu ra "{0}"</value>
</data>
<data name="ErrorZipalign" xml:space="preserve">
<value>Zipalign thất bại</value>
</data>
<data name="ZipalignFileSavedTo" xml:space="preserve">
<value>Zipalign thành công. Tệp đã được lưu vào "{0}"</value>
</data>
<data name="ErrorClearingFw" xml:space="preserve">
<value>Lỗi xóa framework</value>
</data>
<data name="FrameworkCacheCleared" xml:space="preserve">
<value>Đã xóa bộ nhớ đệm của Framework</value>
</data>
<data name="AllDone" xml:space="preserve">
<value>Đã xong tất cả!</value>
</data>
<data name="FrameworkInstalled" xml:space="preserve">
<value>Framework đã được cài đặt thành công</value>
</data>
<data name="FrameworkDirNotExist" xml:space="preserve">
<value>Thư mục Framework không tồn tại</value>
</data>
<data name="DecompilingDex" xml:space="preserve">
<value>Đang dịch ngược dex</value>
</data>
<data name="ErrorSelectedOutputFolderNotExist" xml:space="preserve">
<value>Thư mục đầu ra đã chọn không tồn tại.</value>
</data>
<data name="CompilingDex" xml:space="preserve">
<value>Đang biên dịch dex</value>
</data>
<data name="DragDropNotSupported" xml:space="preserve">
<value>Bạn đang chạy với quyền quản trị viên. Kéo và thả có thể không được hỗ trợ</value>
</data>
<data name="DragDropSupported" xml:space="preserve">
<value>Kéo và thả được hỗ trợ</value>
</data>
<data name="ErrorNotAnApk" xml:space="preserve">
<value>Thư mục này không phải là một gói Android</value>
</data>
<data name="Baksmali" xml:space="preserve">
<value>Baksmali</value>
</data>
<data name="Smali" xml:space="preserve">
<value>Smali</value>
</data>
<data name="Zipalign" xml:space="preserve">
<value>Zipalign</value>
</data>
<data name="CompileApk" xml:space="preserve">
<value>Biên dịch APK</value>
</data>
<data name="CompileDex" xml:space="preserve">
<value>Biên dịch DEX</value>
</data>
<data name="DecompileApk" xml:space="preserve">
<value>Dịch ngược APK</value>
</data>
<data name="DecompileDex" xml:space="preserve">
<value>Dịch ngược DEX</value>
</data>
<data name="GetApkInfo" xml:space="preserve">
<value>Xem thông tin APK</value>
</data>
<data name="NotDecompiledApk" xml:space="preserve">
<value>Thư mục này không phải là một APK đã được dịch ngược</value>
</data>
<data name="NotDecompiledDex" xml:space="preserve">
<value>Thư mục này không phải là một DEX đã được dịch ngược</value>
</data>
<data name="RequiredFilesMissing" xml:space="preserve">
<value>Các tệp cần thiết bị thiếu</value>
</data>
<data name="SignApk" xml:space="preserve">
<value>Ký APK</value>
</data>
<data name="TextFile" xml:space="preserve">
<value>Tệp văn bản</value>
</data>
<data name="ZipalignApk" xml:space="preserve">
<value>Zipalign APK</value>
</data>
<data name="CreateUnsignedApk" xml:space="preserve">
<value>Đang tạo APK chưa ký</value>
</data>
<data name="MetainfNotExist" xml:space="preserve">
<value>Thư mục META-INF không tồn tại. Đã bỏ qua</value>
</data>
<data name="ErrorGettingApkInfo" xml:space="preserve">
<value>Đã xảy ra lỗi khi lấy thông tin APK</value>
</data>
<data name="InputDirectory" xml:space="preserve">
<value>Thư mục đầu vào: {0}</value>
</data>
<data name="InputFile" xml:space="preserve">
<value>Tệp đầu vào: {0}</value>
</data>
<data name="DeleteFile" xml:space="preserve">
<value>Xóa tệp "{0}"</value>
</data>
<data name="CopyFileToTemp" xml:space="preserve">
<value>Sao chép tệp "{0}" vào thư mục tạm "{1}"</value>
</data>
<data name="CopyFolderToTemp" xml:space="preserve">
<value>Sao chép thư mục apk đã dịch ngược "{0}" vào thư mục tạm "{1}"</value>
</data>
<data name="DecodeDesDirExists" xml:space="preserve">
<value>Thư mục đích "{0}" đã tồn tại. Bật "Buộc xóa thư mục đích" nếu bạn muốn ghi đè lên nó.</value>
</data>
<data name="MoveTempApkFileToOutput" xml:space="preserve">
<value>Di chuyển thư mục tạm "{0}" đến thư mục đầu ra "{1}"</value>
</data>
<data name="MoveTempApkToOutput" xml:space="preserve">
<value>Di chuyển apk tạm "{0}" đến thư mục đầu ra "{1}"</value>
</data>
<data name="ParsingApkInfo" xml:space="preserve">
<value>Đang phân tích thông tin APK...</value>
</data>
<data name="RestartApplicationPrompt" xml:space="preserve">
<value>Cần khởi động lại để áp dụng các thay đổi. Bạn có muốn khởi động lại ứng dụng không?</value>
</data>
<data name="DecompilingAllApkFiles" xml:space="preserve">
<value>Đang dịch ngược tất cả các tệp APK</value>
</data>
<data name="DetectedAsBase" xml:space="preserve">
<value>{0} được phát hiện là base</value>
</data>
<data name="DetectedAsSplit" xml:space="preserve">
<value>{0} được phát hiện là split</value>
</data>
<data name="ExtractingAllApkFiles" xml:space="preserve">
<value>Đang giải nén tất cả các tệp APK</value>
</data>
<data name="MergeFinishedMoveDir" xml:space="preserve">
<value>Hợp nhất hoàn tất. Đang di chuyển thư mục đến "{0}"</value>
</data>
<data name="MergingApk" xml:space="preserve">
<value>Đang hợp nhất APK</value>
</data>
<data name="MovingBasedirectory" xml:space="preserve">
<value>Đang di chuyển thư mục base đến "{0}"</value>
</data>
<data name="DirNotExist" xml:space="preserve">
<value>Thư mục "{0}" không tồn tại</value>
</data>
<data name="TempDirectory" xml:space="preserve">
<value>Thư mục tạm: "{0}"</value>
</data>
<data name="ErrorMerging" xml:space="preserve">
<value>Hợp nhất thất bại</value>
</data>
<data name="MergingApkEditor" xml:space="preserve">
<value>Đang hợp nhất APK bằng APKEditor.jar</value>
</data>
<data name="Aborted" xml:space="preserve">
<value>Đã hủy</value>
</data>
<data name="CancelProcess" xml:space="preserve">
<value>Bạn có chắc muốn hủy tiến trình không?</value>
</data>
<data name="GettingDevices" xml:space="preserve">
<value>Đang lấy danh sách thiết bị...</value>
</data>
<data name="PleaseWait" xml:space="preserve">
<value>Vui lòng đợi...</value>
</data>
<data name="ConfirmKillingAdbServer" xml:space="preserve">
<value>Bạn có chắc muốn tắt máy chủ ADB không? Bạn có thể cần kết nối lại thiết bị hoặc khởi động lại trình giả lập</value>
</data>
<data name="DeviceNotSelected" xml:space="preserve">
<value>Thiết bị chưa được chọn</value>
</data>
<data name="DeviceSelected" xml:space="preserve">
<value>Đã chọn thiết bị "{0}"</value>
</data>
<data name="DevicesFound" xml:space="preserve">
<value>Đã tìm thấy {0} thiết bị</value>
</data>
<data name="InstallApkFailed" xml:space="preserve">
<value>Cài đặt APK thất bại</value>
</data>
<data name="InstallApkSuccessful" xml:space="preserve">
<value>Cài đặt APK thành công</value>
</data>
<data name="InstallingApk" xml:space="preserve">
<value>Đang cài đặt APK</value>
</data>
<data name="InstallingApkPath" xml:space="preserve">
<value>Đang cài đặt APK "{0}"</value>
</data>
<data name="NoDevicesFound" xml:space="preserve">
<value>Không tìm thấy thiết bị nào. Hãy chắc chắn rằng thiết bị của bạn được kết nối với máy tính và đã bật chế độ gỡ lỗi adb. Nếu bạn sử dụng trình giả lập, hãy khởi động lại và đợi cho đến khi nó khởi động xong</value>
</data>
<data name="TimeEnded" xml:space="preserve">
<value>Thời gian kết thúc: {0}</value>
</data>
<data name="TimeStarted" xml:space="preserve">
<value>Thời gian bắt đầu: {0}</value>
</data>
<data name="ClearFrameworkPrompt" xml:space="preserve">
<value>Cần phải xóa bộ nhớ đệm của framework sau khi thay đổi phiên bản Apktool để tránh các lỗi không mong muốn. Bạn có muốn xóa ngay bây giờ không?</value>
</data>
<data name="ClearTempFolder" xml:space="preserve">
<value>Đang xóa thư mục tạm</value>
</data>
<data name="DeletingFolder" xml:space="preserve">
<value>Đang xóa thư mục: {0}</value>
</data>
<data name="DirectoryNotExist" xml:space="preserve">
<value>Thư mục "{0}" không tồn tại</value>
</data>
<data name="OpenComFolder" xml:space="preserve">
<value>Mở thư mục đầu ra biên dịch</value>
</data>
<data name="OpenDecFolder" xml:space="preserve">
<value>Mở thư mục đầu ra dịch ngược</value>
</data>
<data name="FixApktoolYml" xml:space="preserve">
<value>Đã sửa tệp apktool.yml</value>
</data>
<data name="CopyFileTo" xml:space="preserve">
<value>Sao chép tệp "{0}" đến "{1}"</value>
</data>
<data name="SplitApkNotFound" xml:space="preserve">
<value>Split APK chưa được chọn</value>
</data>
<data name="CantDetectApkeditorVersion" xml:space="preserve">
<value>Không thể phát hiện phiên bản APKEditor</value>
</data>
<data name="SetLanguageRestartApplication" xml:space="preserve">
<value />
</data>
</root>
+190 -166
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
<!--
Microsoft ResX Schema
Version 2.0
@@ -59,353 +59,353 @@
: 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>
<data name="About" xml:space="preserve">
<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>
<data name="About" xml:space="preserve">
<value>关于</value>
</data>
<data name="APKToolVersion" xml:space="preserve">
<data name="APKToolVersion" xml:space="preserve">
<value>Apktool 版本</value>
</data>
<data name="CheckForUpdate" xml:space="preserve">
<data name="CheckForUpdate" xml:space="preserve">
<value>检查更新</value>
</data>
<data name="DebugMode" xml:space="preserve">
<data name="DebugMode" xml:space="preserve">
<value>调试模式</value>
</data>
<data name="Exit" xml:space="preserve">
<data name="Exit" xml:space="preserve">
<value>退出</value>
</data>
<data name="File" xml:space="preserve">
<data name="File" xml:space="preserve">
<value>文件</value>
</data>
<data name="Help" xml:space="preserve">
<data name="Help" xml:space="preserve">
<value>帮助</value>
</data>
<data name="Settings" xml:space="preserve">
<data name="Settings" xml:space="preserve">
<value>设置</value>
</data>
<data name="ErrorJavaDetect" xml:space="preserve">
<data name="ErrorJavaDetect" xml:space="preserve">
<value>Java 没有安装或安装不正确。该程序将被关闭。</value>
</data>
<data name="ErrorReadSettings" xml:space="preserve">
<data name="ErrorReadSettings" xml:space="preserve">
<value>读取设置时出错!</value>
</data>
<data name="UpdateNewVersion" xml:space="preserve">
<value>新版本已经推出。你想更新</value>
<data name="UpdateNewVersion" xml:space="preserve">
<value>新版本可用。是否要更新?</value>
</data>
<data name="UpdateNoUpdates" xml:space="preserve">
<data name="UpdateNoUpdates" xml:space="preserve">
<value>没有更新可用。</value>
</data>
<data name="WarningDecodingFolderNotSelected" xml:space="preserve">
<data name="WarningDecodingFolderNotSelected" xml:space="preserve">
<value>未选择反编译文件夹!</value>
</data>
<data name="WarningFileForDecodingNotSelected" xml:space="preserve">
<data name="WarningFileForDecodingNotSelected" xml:space="preserve">
<value>未选择用于反编译的文件!</value>
</data>
<data name="WarningFileForSigningNotSelected" xml:space="preserve">
<data name="WarningFileForSigningNotSelected" xml:space="preserve">
<value>未选择用于签名的文件!</value>
</data>
<data name="WarningFrameworkNotSelected" xml:space="preserve">
<data name="WarningFrameworkNotSelected" xml:space="preserve">
<value>Framework 未选择!</value>
</data>
<data name="ErrorSaveSettings" xml:space="preserve">
<data name="ErrorSaveSettings" xml:space="preserve">
<value>保存设置时出错!</value>
</data>
<data name="NeedRestart" xml:space="preserve">
<data name="NeedRestart" xml:space="preserve">
<value>为了使这些更改生效,你必须重新启动程序。你想立即重启吗?</value>
</data>
<data name="FileNotFound" xml:space="preserve">
<data name="FileNotFound" xml:space="preserve">
<value>未找到文件</value>
</data>
<data name="FolderNotExist" xml:space="preserve">
<data name="FolderNotExist" xml:space="preserve">
<value>文件夹不存在</value>
</data>
<data name="Error" xml:space="preserve">
<data name="Error" xml:space="preserve">
<value>错误</value>
</data>
<data name="Build" xml:space="preserve">
<data name="Build" xml:space="preserve">
<value>构建</value>
</data>
<data name="Decode" xml:space="preserve">
<data name="Decode" xml:space="preserve">
<value>反编译</value>
</data>
<data name="InstallFramework" xml:space="preserve">
<data name="InstallFramework" xml:space="preserve">
<value>安装 Framework</value>
</data>
<data name="Sign" xml:space="preserve">
<data name="Sign" xml:space="preserve">
<value>签名</value>
</data>
<data name="SystemLanguage" xml:space="preserve">
<data name="SystemLanguage" xml:space="preserve">
<value>系统语言</value>
</data>
<data name="DoYouRealyWantToInstallCM" xml:space="preserve">
<data name="DoYouRealyWantToInstallCM" xml:space="preserve">
<value>你真的想安装上下文菜单吗?</value>
</data>
<data name="DoYouRealyWantToRemoveCM" xml:space="preserve">
<data name="DoYouRealyWantToRemoveCM" xml:space="preserve">
<value>你真的想删除上下文菜单吗?</value>
</data>
<data name="Done" xml:space="preserve">
<data name="Done" xml:space="preserve">
<value>完成</value>
</data>
<data name="CantDetectApktoolVersion" xml:space="preserve">
<data name="CantDetectApktoolVersion" xml:space="preserve">
<value>无法检测 apktool 版本。</value>
</data>
<data name="DecompilingSuccessfullyCompleted" xml:space="preserve">
<data name="DecompilingSuccessfullyCompleted" xml:space="preserve">
<value>反编译成功完成。输出目录"{0}"。</value>
</data>
<data name="ErrorUpdateChecking" xml:space="preserve">
<data name="ErrorUpdateChecking" xml:space="preserve">
<value>检查更新错误:</value>
</data>
<data name="SignSuccessfullyCompleted" xml:space="preserve">
<data name="SignSuccessfullyCompleted" xml:space="preserve">
<value>签名成功完成。文件保存到"{0}"。</value>
</data>
<data name="Aligning" xml:space="preserve">
<data name="Aligning" xml:space="preserve">
<value>正在对齐</value>
</data>
<data name="ErrorCompiling" xml:space="preserve">
<data name="ErrorCompiling" xml:space="preserve">
<value>编译失败</value>
</data>
<data name="ErrorEnteringFrameworkTag" xml:space="preserve">
<data name="ErrorEnteringFrameworkTag" xml:space="preserve">
<value>输入 Framework 标签错误。</value>
</data>
<data name="ErrorSelectedFileNotExist" xml:space="preserve">
<data name="ErrorSelectedFileNotExist" xml:space="preserve">
<value>所选文件不存在。</value>
</data>
<data name="ErrorSelectingFrameworkDirectory" xml:space="preserve">
<data name="ErrorSelectingFrameworkDirectory" xml:space="preserve">
<value>选择 Framework 目录错误。</value>
</data>
<data name="ErrorSelectingFrameworkFile" xml:space="preserve">
<data name="ErrorSelectingFrameworkFile" xml:space="preserve">
<value>选择 Framework 文件时出错。该文件不存在。</value>
</data>
<data name="ErrorSigning" xml:space="preserve">
<data name="ErrorSigning" xml:space="preserve">
<value>签名失败。</value>
</data>
<data name="FrameworkInstallationNotStarted" xml:space="preserve">
<data name="FrameworkInstallationNotStarted" xml:space="preserve">
<value>错误。Framework 安装没有开始。</value>
</data>
<data name="InstallingFramework" xml:space="preserve">
<data name="InstallingFramework" xml:space="preserve">
<value>正在安装 Framework</value>
</data>
<data name="Signing" xml:space="preserve">
<data name="Signing" xml:space="preserve">
<value>正在签名</value>
</data>
<data name="SignInputFileNotFound" xml:space="preserve">
<data name="SignInputFileNotFound" xml:space="preserve">
<value>未找到输入文件。</value>
</data>
<data name="SignPrivateKeyNotFound" xml:space="preserve">
<data name="SignPrivateKeyNotFound" xml:space="preserve">
<value>未找到私钥。</value>
</data>
<data name="SignPublicKeyNotFound" xml:space="preserve">
<data name="SignPublicKeyNotFound" xml:space="preserve">
<value>未找到公钥。</value>
</data>
<data name="ZIPArchives" xml:space="preserve">
<data name="ZIPArchives" xml:space="preserve">
<value>ZIP 存档</value>
</data>
<data name="DecodeCouldNotCreate" xml:space="preserve">
<data name="DecodeCouldNotCreate" xml:space="preserve">
<value>所选的反编译目录无法创建,因为包含无效的字符。</value>
</data>
<data name="DecodeDirNotSelected" xml:space="preserve">
<data name="DecodeDirNotSelected" xml:space="preserve">
<value>未选择反编译目录。</value>
</data>
<data name="DecodeSelectedFrameworkNotExist" xml:space="preserve">
<data name="DecodeSelectedFrameworkNotExist" xml:space="preserve">
<value>所选的 Framework 目录不存在。</value>
</data>
<data name="Decoding" xml:space="preserve">
<data name="Decoding" xml:space="preserve">
<value>正在反编译</value>
</data>
<data name="ErrorDecompiling" xml:space="preserve">
<data name="ErrorDecompiling" xml:space="preserve">
<value>反编译失败</value>
</data>
<data name="ExecutableFile" xml:space="preserve">
<data name="ExecutableFile" xml:space="preserve">
<value>可执行文件</value>
</data>
<data name="ChangedTargetSdkTo29" xml:space="preserve">
<data name="ChangedTargetSdkTo29" xml:space="preserve">
<value>更改目标 SDK 到 29</value>
</data>
<data name="ErrorVersionParsing" xml:space="preserve">
<data name="ErrorVersionParsing" xml:space="preserve">
<value>分析版本失败</value>
</data>
<data name="FixAndroidManifest" xml:space="preserve">
<data name="FixAndroidManifest" xml:space="preserve">
<value>修复 AndroidManifest.xml</value>
</data>
<data name="RemoveApkToolDummies" xml:space="preserve">
<data name="RemoveApkToolDummies" xml:space="preserve">
<value>删除所有 ApkTool 假象</value>
</data>
<data name="APKSelected" xml:space="preserve">
<data name="APKSelected" xml:space="preserve">
<value>APK 选择:</value>
</data>
<data name="ErrorSelectedFolderNotExist" xml:space="preserve">
<data name="ErrorSelectedFolderNotExist" xml:space="preserve">
<value>所选的文件夹不存在。</value>
</data>
<data name="AndroidManifestNotExist" xml:space="preserve">
<data name="AndroidManifestNotExist" xml:space="preserve">
<value>AndroidManifest.xml 不存在</value>
</data>
<data name="DecompiledAPKNotExist" xml:space="preserve">
<data name="DecompiledAPKNotExist" xml:space="preserve">
<value>反编译的 APK 目录不存在</value>
</data>
<data name="MainActivityFound" xml:space="preserve">
<value>在"{0}"发现主要 Activity</value>
<data name="MainActivityFound" xml:space="preserve">
<value>在 "{0}" 找到主要 Activity</value>
</data>
<data name="MainActivityNotFoundPleaseFindManually" xml:space="preserve">
<value>无法找到 MainActivity。请手动找到它</value>
<data name="MainActivityNotFoundPleaseFindManually" xml:space="preserve">
<value>找到 MainActivity。请手动找</value>
</data>
<data name="ClearingFramework" xml:space="preserve">
<data name="ClearingFramework" xml:space="preserve">
<value>正在清理 Framework</value>
</data>
<data name="CompilingSuccessfullyCompleted" xml:space="preserve">
<data name="CompilingSuccessfullyCompleted" xml:space="preserve">
<value>编译成功完成。输出目录"{0}"</value>
</data>
<data name="ErrorZipalign" xml:space="preserve">
<data name="ErrorZipalign" xml:space="preserve">
<value>Zip 对齐失败</value>
</data>
<data name="ZipalignFileSavedTo" xml:space="preserve">
<data name="ZipalignFileSavedTo" xml:space="preserve">
<value>Zip 对齐成功完成。文件保存到 "{0}"</value>
</data>
<data name="ErrorClearingFw" xml:space="preserve">
<data name="ErrorClearingFw" xml:space="preserve">
<value>清除 Framework 错误</value>
</data>
<data name="FrameworkCacheCleared" xml:space="preserve">
<data name="FrameworkCacheCleared" xml:space="preserve">
<value>Framework 缓存已清除</value>
</data>
<data name="AllDone" xml:space="preserve">
<data name="AllDone" xml:space="preserve">
<value>全部完成!</value>
</data>
<data name="FrameworkInstalled" xml:space="preserve">
<data name="FrameworkInstalled" xml:space="preserve">
<value>Framework 已成功安装</value>
</data>
<data name="FrameworkDirNotExist" xml:space="preserve">
<data name="FrameworkDirNotExist" xml:space="preserve">
<value>Framework 目录不存在</value>
</data>
<data name="DecompilingDex" xml:space="preserve">
<data name="DecompilingDex" xml:space="preserve">
<value>正在反编译 dex</value>
</data>
<data name="ErrorSelectedOutputFolderNotExist" xml:space="preserve">
<data name="ErrorSelectedOutputFolderNotExist" xml:space="preserve">
<value>所选的输出文件夹不存在。</value>
</data>
<data name="CompilingDex" xml:space="preserve">
<data name="CompilingDex" xml:space="preserve">
<value>正在编译 dex</value>
</data>
<data name="DragDropNotSupported" xml:space="preserve">
<data name="DragDropNotSupported" xml:space="preserve">
<value>您正在以管理员身份运行。不支持拖放。</value>
</data>
<data name="DragDropSupported" xml:space="preserve">
<data name="DragDropSupported" xml:space="preserve">
<value>支持拖放</value>
</data>
<data name="ErrorNotAnApk" xml:space="preserve">
<data name="ErrorNotAnApk" xml:space="preserve">
<value>此目录不是安卓软件包</value>
</data>
<data name="Baksmali" xml:space="preserve">
<data name="Baksmali" xml:space="preserve">
<value>Baksmali</value>
</data>
<data name="Smali" xml:space="preserve">
<data name="Smali" xml:space="preserve">
<value>Smali</value>
</data>
<data name="Zipalign" xml:space="preserve">
<data name="Zipalign" xml:space="preserve">
<value>Zip 对齐</value>
</data>
<data name="CompileApk" xml:space="preserve">
<data name="CompileApk" xml:space="preserve">
<value>编译 APK</value>
</data>
<data name="CompileDex" xml:space="preserve">
<data name="CompileDex" xml:space="preserve">
<value>编译 DEX</value>
</data>
<data name="DecompileApk" xml:space="preserve">
<data name="DecompileApk" xml:space="preserve">
<value>反编译 APK</value>
</data>
<data name="DecompileDex" xml:space="preserve">
<data name="DecompileDex" xml:space="preserve">
<value>反编译 DEX</value>
</data>
<data name="GetApkInfo" xml:space="preserve">
<data name="GetApkInfo" xml:space="preserve">
<value>获取 APK 信息</value>
</data>
<data name="NotDecompiledApk" xml:space="preserve">
<data name="NotDecompiledApk" xml:space="preserve">
<value>此文件夹不是已反编译的 APK</value>
</data>
<data name="NotDecompiledDex" xml:space="preserve">
<data name="NotDecompiledDex" xml:space="preserve">
<value>此文件夹不是反编译的 DEX</value>
</data>
<data name="RequiredFilesMissing" xml:space="preserve">
<data name="RequiredFilesMissing" xml:space="preserve">
<value>缺少必需的文件</value>
</data>
<data name="SignApk" xml:space="preserve">
<data name="SignApk" xml:space="preserve">
<value>签名 APK</value>
</data>
<data name="TextFile" xml:space="preserve">
<data name="TextFile" xml:space="preserve">
<value>文本文件</value>
</data>
<data name="ZipalignApk" xml:space="preserve">
<data name="ZipalignApk" xml:space="preserve">
<value>Zip 对齐 APK</value>
</data>
<data name="CreateUnsignedApk" xml:space="preserve">
<data name="CreateUnsignedApk" xml:space="preserve">
<value>创建未签名的 APK</value>
</data>
<data name="MetainfNotExist" xml:space="preserve">
<data name="MetainfNotExist" xml:space="preserve">
<value>META-INF 文件夹不存在。已跳过</value>
</data>
<data name="ErrorGettingApkInfo" xml:space="preserve">
<data name="ErrorGettingApkInfo" xml:space="preserve">
<value>获取 APK 信息时发生错误</value>
</data>
<data name="InputDirectory" xml:space="preserve">
<data name="InputDirectory" xml:space="preserve">
<value>输入目录:{0}</value>
</data>
<data name="InputFile" xml:space="preserve">
<data name="InputFile" xml:space="preserve">
<value>输入文件:{0}</value>
</data>
<data name="DeleteFile" xml:space="preserve">
@@ -451,7 +451,7 @@
<value>正在合并 APK</value>
</data>
<data name="MovingBasedirectory" xml:space="preserve">
<value>正在基本模块目录到 "{0}"</value>
<value>将基目录移动到 "{0}"</value>
</data>
<data name="DirNotExist" xml:space="preserve">
<value>目录 "{0}" 不存在</value>
@@ -462,9 +462,6 @@
<data name="ErrorMerging" xml:space="preserve">
<value>合并失败</value>
</data>
<data name="ExtractOrigSignature" xml:space="preserve">
<value>提取原始签名</value>
</data>
<data name="MergingApkEditor" xml:space="preserve">
<value>使用 APKEditor.jar 合并 APK</value>
</data>
@@ -481,7 +478,7 @@
<value>请稍候...</value>
</data>
<data name="ConfirmKillingAdbServer" xml:space="preserve">
<value>您确定要终止 ADB 服务吗? 您可能需要重新连接您的设备或重新启动模拟器</value>
<value>您确定要终止 ADB 服务吗? 您可能需要重新连接设备或重新启动模拟器</value>
</data>
<data name="DeviceNotSelected" xml:space="preserve">
<value>未选择设备</value>
@@ -514,6 +511,33 @@
<value>开始时间: {0}</value>
</data>
<data name="ClearFrameworkPrompt" xml:space="preserve">
<value>更改 Apktool 版本后需要清除框架缓存以避免意外错误。 你想现在清除它吗?</value>
<value>更改 Apktool 版本后需要清除 Framework 缓存以避免意外错误。 你想现在清除它吗?</value>
</data>
</root>
<data name="ClearTempFolder" xml:space="preserve">
<value>清除临时文件夹</value>
</data>
<data name="DeletingFolder" xml:space="preserve">
<value>正在删除文件夹: {0}</value>
</data>
<data name="DirectoryNotExist" xml:space="preserve">
<value>目录 "{0}" 不存在</value>
</data>
<data name="OpenComFolder" xml:space="preserve">
<value>打开编译输出文件夹</value>
</data>
<data name="OpenDecFolder" xml:space="preserve">
<value>打开反编译输出文件夹</value>
</data>
<data name="FixApktoolYml" xml:space="preserve">
<value>Apktool.yml 已修复</value>
</data>
<data name="CopyFileTo" xml:space="preserve">
<value>复制文件 "{0}" 到 "{1}"</value>
</data>
<data name="SplitApkNotFound" xml:space="preserve">
<value>未选择拆分的 APK</value>
</data>
<data name="CantDetectApkeditorVersion" xml:space="preserve">
<value>无法检测 APKEditor 版本</value>
</data>
</root>
+26 -26
View File
@@ -10,6 +10,7 @@ using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;
namespace APKToolGUI
@@ -17,7 +18,7 @@ namespace APKToolGUI
static class Program
{
/// <summary>
/// Главная точка входа для приложения.
/// Main entry point for the application.
/// </summary>
[DllImport("Shcore.dll")]
static extern int SetProcessDpiAwareness(int PROCESS_DPI_AWARENESS);
@@ -118,14 +119,7 @@ namespace APKToolGUI
public static bool IsWin10OrAbove()
{
// Check if the operating system is Windows 10 or above
if (OSVersion.GetOSVersion().Version.Major >= 10 && OSVersion.GetOSVersion().Version.Minor >= 0)
{
return true;
}
else
{
return false;
}
return OSVersion.GetOSVersion().Version.Major >= 10;
}
@@ -141,38 +135,44 @@ namespace APKToolGUI
public static void SetLanguage()
{
String settingsCulture = Settings.Default.Culture;
if (settingsCulture.Equals("Auto"))
{
// Let .NET handle the resource fallback process.
// It will automatically use the system's language if a satellite assembly is available,
// otherwise it will fall back to the neutral language defined in the main assembly (English).
return;
}
try
{
if (settingsCulture.Equals("Auto"))
{
System.Threading.Thread.CurrentThread.CurrentUICulture = System.Globalization.CultureInfo.InstalledUICulture;
System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InstalledUICulture;
}
else
{
System.Globalization.CultureInfo _settingsCulture = System.Globalization.CultureInfo.GetCultureInfo(settingsCulture);
System.Threading.Thread.CurrentThread.CurrentUICulture = _settingsCulture;
System.Threading.Thread.CurrentThread.CurrentCulture = _settingsCulture;
}
System.Globalization.CultureInfo culture = System.Globalization.CultureInfo.GetCultureInfo(settingsCulture);
System.Threading.Thread.CurrentThread.CurrentUICulture = culture;
System.Threading.Thread.CurrentThread.CurrentCulture = culture;
}
catch
catch (System.Globalization.CultureNotFoundException ex)
{
Debug.WriteLine($"[Program] Invalid culture '{settingsCulture}': {ex.Message}");
// Fall back to system default culture
}
catch (ArgumentException ex)
{
Debug.WriteLine($"[Program] Failed to set culture: {ex.Message}");
}
}
private static bool FilesCheck()
{
// проверка файлов
// File verification
List<String> missigFiles = MissingFilesCheck();
if (missigFiles.Count > 0)
{
String files = Environment.NewLine;
StringBuilder filesBuilder = new StringBuilder();
filesBuilder.AppendLine();
foreach (String file in missigFiles)
{
files += file + Environment.NewLine;
filesBuilder.AppendLine(file);
}
MessageBox.Show(Language.RequiredFilesMissing + files, Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show(Language.RequiredFilesMissing + filesBuilder.ToString(), Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Error);
//Application.Exit();
return false;
}
+17 -17
View File
@@ -2,35 +2,35 @@
using System.Runtime.CompilerServices;
using 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.
[assembly: AssemblyTitle("APK Tool GUI")]
[assembly: AssemblyDescription("GUI for apktool, signapk and zipalign utilities.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("APK Tool GUI")]
[assembly: AssemblyCopyright("Original owner: INFINUM, 2012-2015 | Maintained by: AndnixSH, 2022-2024")]
[assembly: AssemblyCopyright("Original owner: INFINUM, 2012-2015 | Maintained by: AndnixSH, 2022-2025")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Параметр ComVisible со значением FALSE делает типы в сборке невидимыми
// для COM-компонентов. Если требуется обратиться к типу в этой сборке через
// COM, задайте атрибуту ComVisible значение TRUE для этого типа.
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Следующий GUID служит для идентификации библиотеки типов, если этот проект будет видимым для COM
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("49ccb60c-22a6-4a25-a4bf-9208712ad928")]
// Сведения о версии сборки состоят из следующих четырех значений:
// 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("3.3.1.2")]
[assembly: AssemblyFileVersion("3.3.1.2")]
[assembly: AssemblyVersion("3.3.2.1")]
[assembly: AssemblyFileVersion("3.3.2.1")]
+51 -3
View File
@@ -12,7 +12,7 @@ namespace APKToolGUI.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.9.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.14.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@@ -843,7 +843,7 @@ namespace APKToolGUI.Properties {
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("29")]
[global::System.Configuration.DefaultSettingValueAttribute("4")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public decimal Decode_ApiLevel {
get {
@@ -1011,7 +1011,7 @@ namespace APKToolGUI.Properties {
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public bool Build_UseAapt2 {
get {
@@ -1326,5 +1326,53 @@ namespace APKToolGUI.Properties {
this["Adb_SetOverrideAbi"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("4")]
public decimal Build_Jobs {
get {
return ((decimal)(this["Build_Jobs"]));
}
set {
this["Build_Jobs"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("4")]
public decimal Decode_Jobs {
get {
return ((decimal)(this["Decode_Jobs"]));
}
set {
this["Decode_Jobs"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool Decode_SetJobs {
get {
return ((bool)(this["Decode_SetJobs"]));
}
set {
this["Decode_SetJobs"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool Build_SetJobs {
get {
return ((bool)(this["Build_SetJobs"]));
}
set {
this["Build_SetJobs"] = value;
}
}
}
}
+14 -2
View File
@@ -180,7 +180,7 @@
<Value Profile="(Default)">0</Value>
</Setting>
<Setting Name="Decode_ApiLevel" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.Decimal" Scope="User">
<Value Profile="(Default)">29</Value>
<Value Profile="(Default)">4</Value>
</Setting>
<Setting Name="Build_ApiLevel" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.Decimal" Scope="User">
<Value Profile="(Default)">29</Value>
@@ -216,7 +216,7 @@
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="Build_UseAapt2" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="PlaySoundWhenDone" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
@@ -284,5 +284,17 @@
<Setting Name="Adb_SetOverrideAbi" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="Build_Jobs" Type="System.Decimal" Scope="User">
<Value Profile="(Default)">4</Value>
</Setting>
<Setting Name="Decode_Jobs" Type="System.Decimal" Scope="User">
<Value Profile="(Default)">4</Value>
</Setting>
<Setting Name="Decode_SetJobs" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="Build_SetJobs" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
</Settings>
</SettingsFile>
+1 -1
View File
@@ -8,7 +8,7 @@ using System.Reflection;
using Microsoft.WindowsAPICodePack.Shell;
using APKToolGUI.Languages;
namespace APKEasyTool
namespace APKToolGUI
{
public class TaskBarJumpList
{
-1
View File
@@ -28,7 +28,6 @@ namespace APKToolGUI.Utils
}
else
{
MessageBox.Show("Error Loading File.", "Error!", MessageBoxButtons.OK);
return null;
}
}
+4 -4
View File
@@ -13,13 +13,12 @@ namespace APKToolGUI.Utils
{
public class CMD
{
public static string output;
static public Process p = new Process();
public static string ProcessStartWithOutput(string FileName, string Arguments)
{
Log.d("CMD: " + FileName + " " + Arguments);
string result = string.Empty;
try
{
using (Process process = new Process())
@@ -33,13 +32,14 @@ namespace APKToolGUI.Utils
process.StartInfo.StandardOutputEncoding = Encoding.GetEncoding("utf-8");
process.Start();
result = process.StandardOutput.ReadToEnd().Trim();
process.WaitForExit(4000);
process.WaitForExit();
}
}
catch (Exception e)
{
Debug.WriteLine("Start", e);
}
return result;
}
}
+3 -3
View File
@@ -17,7 +17,7 @@ namespace APKToolGUI.Utils
{
if (mf.Contains("<application"))
{
return StringExt.Regex(@"(?<=android:name=\"")(.*?)(?=\"")", mf);
return StringExt.RegexExtract(@"(?<=android:name=\"")(.*?)(?=\"")", mf);
}
}
return "";
@@ -31,11 +31,11 @@ namespace APKToolGUI.Utils
foreach (string mf in Manifest)
{
if (String.IsNullOrEmpty(packageName))
packageName = StringExt.Regex(@"(?<=package=\"")(.*?)(?=\"")", mf);
packageName = StringExt.RegexExtract(@"(?<=package=\"")(.*?)(?=\"")", mf);
if (mf.Contains("<activity"))
{
mainActivity = StringExt.Regex(@"(?<=android:name=\"")(.*?)(?=\"")", mf);
mainActivity = StringExt.RegexExtract(@"(?<=android:name=\"")(.*?)(?=\"")", mf);
}
if (mf.Contains("android.intent.action.MAIN"))
{
+24 -1
View File
@@ -38,6 +38,12 @@ namespace SaveToGameWpf.Logic.Utils
public static void CheckDragEnter(this DragEventArgs e, params string[] extensions)
{
string[] files = e.GetFilesDrop();
if (files.Length == 0)
{
e.Effect = DragDropEffects.None;
return;
}
if (extensions == null && Directory.Exists(files[0]))
e.Effect = DragDropEffects.Copy;
else if (extensions != null && extensions.Any(ext => files[0].EndsWith(ext, StringComparison.Ordinal)))
@@ -49,12 +55,18 @@ namespace SaveToGameWpf.Logic.Utils
public static bool CheckDragOver(this DragEventArgs e, params string[] extensions)
{
string[] files = e.GetFilesDrop();
if (files.Length == 0)
{
e.Effect = DragDropEffects.None;
return false;
}
if (extensions == null && Directory.Exists(files[0]))
{
e.Effect = DragDropEffects.Move;
return true;
}
else if (files.Length == 1 && extensions.Any(ext => files[0].EndsWith(ext, StringComparison.Ordinal)))
else if (extensions != null && files.Length == 1 && extensions.Any(ext => files[0].EndsWith(ext, StringComparison.Ordinal)))
{
e.Effect = DragDropEffects.Move;
return true;
@@ -68,6 +80,11 @@ namespace SaveToGameWpf.Logic.Utils
public static bool CheckManyDragOver(this DragEventArgs e, params string[] extensions)
{
string[] files = e.GetFilesDrop();
if (files.Length == 0)
{
e.Effect = DragDropEffects.None;
return false;
}
if (extensions == null && Directory.Exists(files[0]))
{
@@ -87,6 +104,9 @@ namespace SaveToGameWpf.Logic.Utils
public static bool DropOneByEnd(this DragEventArgs e, Action<string> onSuccess, params string[] extensions)
{
string[] files = e.GetFilesDrop();
if (files.Length == 0)
return false;
if (extensions == null && Directory.Exists(files[0]))
{
onSuccess(files[0]);
@@ -103,6 +123,9 @@ namespace SaveToGameWpf.Logic.Utils
public static bool DropManyByEnd(this DragEventArgs e, Action<string[]> onSuccess, params string[] extensions)
{
if (extensions == null || extensions.Length == 0)
return false;
foreach (string apk in extensions)
{
Debug.WriteLine(apk);
+9 -6
View File
@@ -33,15 +33,18 @@ namespace APKToolGUI.Utils
return Path.Combine(Path.GetDirectoryName(path), Path.GetFileNameWithoutExtension(path));
}
public static string GetRelativePath(string relativeTo, string path)
public static string GetRelativePath(string basePath, string fullPath)
{
var uri = new Uri(relativeTo);
var rel = Uri.UnescapeDataString(uri.MakeRelativeUri(new Uri(path)).ToString()).Replace(Path.AltDirectorySeparatorChar, Path.DirectorySeparatorChar);
if (rel.Contains(Path.DirectorySeparatorChar.ToString()) == false)
// Ensure both paths are absolute
basePath = Path.GetFullPath(basePath);
fullPath = Path.GetFullPath(fullPath);
if (!fullPath.StartsWith(basePath, StringComparison.OrdinalIgnoreCase))
{
rel = $".{Path.DirectorySeparatorChar}{rel}";
throw new ArgumentException("The fullPath is not within the basePath.");
}
return rel;
return fullPath.Substring(basePath.Length).TrimStart(Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar);
}
}
}
+33 -11
View File
@@ -14,23 +14,45 @@ namespace APKToolGUI.Utils
public static void KillAllProcessesSpawnedBy(UInt32 parentProcessId)
{
// NOTE: Process Ids are reused!
ManagementObjectSearcher searcher = new ManagementObjectSearcher(
using (ManagementObjectSearcher searcher = new ManagementObjectSearcher(
"SELECT * " +
"FROM Win32_Process " +
"WHERE ParentProcessId=" + parentProcessId);
ManagementObjectCollection collection = searcher.Get();
if (collection.Count > 0)
"WHERE ParentProcessId=" + parentProcessId))
{
foreach (var item in collection)
using (ManagementObjectCollection collection = searcher.Get())
{
UInt32 childProcessId = (UInt32)item["ProcessId"];
if ((int)childProcessId != Process.GetCurrentProcess().Id)
if (collection.Count > 0)
{
Debug.WriteLine($"Kill child process {childProcessId}");
KillAllProcessesSpawnedBy(childProcessId);
foreach (var item in collection)
{
UInt32 childProcessId = (UInt32)item["ProcessId"];
if ((int)childProcessId != Process.GetCurrentProcess().Id)
{
Debug.WriteLine($"Kill child process {childProcessId}");
Process childProcess = Process.GetProcessById((int)childProcessId);
childProcess.Kill();
// Recursively kill child processes
KillAllProcessesSpawnedBy(childProcessId);
// Kill and dispose the child process
try
{
using (Process childProcess = Process.GetProcessById((int)childProcessId))
{
childProcess.Kill();
}
}
catch (ArgumentException)
{
// Process already exited
Debug.WriteLine($"Process {childProcessId} already exited");
}
catch (InvalidOperationException ex)
{
// Process is terminating or has exited
Debug.WriteLine($"Process {childProcessId} is terminating: {ex.Message}");
}
}
}
}
}
}
+33 -8
View File
@@ -1,21 +1,40 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
namespace APKToolGUI.Utils
{
public static class StringExt
{
static readonly Random random = new Random();
public static string Regex(string text, string match)
[ThreadStatic]
private static Random threadRandom;
private static Random ThreadRandom
{
Regex myRegex = new Regex(text);
Match matched = myRegex.Match(match);
get
{
if (threadRandom == null)
threadRandom = new Random(unchecked(Environment.TickCount * 31 + Thread.CurrentThread.ManagedThreadId));
return threadRandom;
}
}
/// <summary>
/// Extracts a string from the input using the provided regex pattern.
/// </summary>
/// <param name="pattern">The regex pattern to match.</param>
/// <param name="input">The input string to search.</param>
/// <returns>The matched string or empty string if no match found.</returns>
public static string RegexExtract(string pattern, string input)
{
Regex regex = new Regex(pattern);
Match matched = regex.Match(input);
return matched.ToString();
}
@@ -23,14 +42,14 @@ namespace APKToolGUI.Utils
{
const string chars = "abcdefghijklmnopqrstuvwxyz";
return new string(Enumerable.Repeat(chars, length)
.Select(s => s[random.Next(s.Length)]).ToArray());
.Select(s => s[ThreadRandom.Next(s.Length)]).ToArray());
}
public static string RandStrWithCaps(int length)
{
const string chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
return new string(Enumerable.Repeat(chars, length)
.Select(s => s[random.Next(s.Length)]).ToArray());
.Select(s => s[ThreadRandom.Next(s.Length)]).ToArray());
}
/// <summary>
@@ -64,8 +83,14 @@ namespace APKToolGUI.Utils
if (text.Length < 1) return text;
return text.Remove(text.ToString().LastIndexOf(character), character.Length);
}
catch
catch (ArgumentOutOfRangeException ex)
{
Debug.WriteLine($"[StringExt] Character not found in text: {ex.Message}");
return text;
}
catch (Exception ex)
{
Debug.WriteLine($"[StringExt] Failed to remove last character: {ex.Message}");
return text;
}
}
+1 -10
View File
@@ -146,15 +146,6 @@ namespace APKToolGUI.Utils
public static void ExtractDirectory(string path, string folderName, string destination, bool flattenFoldersOnExtract = false)
{
//using (ZipFile zip = ZipFile.Read(path))
//{
// bool chkresult2 = zip.Any(entry => entry.FileName.Contains(folderName));
// if (chkresult2)
// {
// zip.FlattenFoldersOnExtract = flattenFoldersOnExtract;
// zip.ExtractSelectedEntries("name = *", folderName, destination, ExtractExistingFileAction.OverwriteSilently);
// }
//}
using (ZipFile zip = ZipFile.Read(path))
{
zip.FlattenFoldersOnExtract = flattenFoldersOnExtract;
@@ -166,4 +157,4 @@ namespace APKToolGUI.Utils
}
}
}
}
+32 -4
View File
@@ -185,7 +185,7 @@
<value>0</value>
</setting>
<setting name="Decode_ApiLevel" serializeAs="String">
<value>29</value>
<value>4</value>
</setting>
<setting name="Build_ApiLevel" serializeAs="String">
<value>29</value>
@@ -221,7 +221,7 @@
<value>False</value>
</setting>
<setting name="Build_UseAapt2" serializeAs="String">
<value>True</value>
<value>False</value>
</setting>
<setting name="PlaySoundWhenDone" serializeAs="String">
<value>False</value>
@@ -289,6 +289,18 @@
<setting name="Adb_SetOverrideAbi" serializeAs="String">
<value>False</value>
</setting>
<setting name="Build_Jobs" serializeAs="String">
<value>4</value>
</setting>
<setting name="Decode_Jobs" serializeAs="String">
<value>4</value>
</setting>
<setting name="Decode_SetJobs" serializeAs="String">
<value>False</value>
</setting>
<setting name="Build_SetJobs" serializeAs="String">
<value>False</value>
</setting>
</APKToolGUI.Properties.Settings>
</userSettings>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" /></startup>
@@ -296,7 +308,7 @@
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
<bindingRedirect oldVersion="0.0.0.0-6.0.3.0" newVersion="6.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WinCopies.WindowsAPICodePack.Win32Native" publicKeyToken="ac0f4cf54a027a4d" culture="neutral" />
@@ -308,7 +320,23 @@
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
<bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Bcl.HashCode" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Text.Encoding.CodePages" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-9.0.0.10" newVersion="9.0.0.10" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Security.Permissions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-9.0.0.10" newVersion="9.0.0.10" />
</dependentAssembly>
</assemblyBinding>
</runtime>
+18 -11
View File
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Costura.Fody" version="5.7.0" targetFramework="net48" developmentDependency="true" />
<package id="Costura.Fody" version="6.0.0" targetFramework="net48" developmentDependency="true" />
<package id="DarkNet" version="2.3.0" targetFramework="net48" />
<package id="DotNetZip" version="1.16.0" targetFramework="net48" />
<package id="Fody" version="6.8.0" targetFramework="net48" developmentDependency="true" />
<package id="Fody" version="6.9.3" targetFramework="net48" developmentDependency="true" />
<package id="Microsoft.Bcl.HashCode" version="6.0.0" targetFramework="net48" />
<package id="Microsoft.NETCore.Platforms" version="7.0.4" targetFramework="net48" />
<package id="Microsoft.Win32.Primitives" version="4.3.0" targetFramework="net48" />
<package id="Microsoft-WindowsAPICodePack-Core" version="1.1.5" targetFramework="net48" />
@@ -12,54 +12,61 @@
<package id="Ookii.Dialogs.WinForms" version="4.0.0" targetFramework="net48" />
<package id="OSVersionExt" version="3.0.0" targetFramework="net48" />
<package id="PortableSettingsProvider" version="0.2.5" targetFramework="net48" />
<package id="ProDotNetZip" version="1.20.0" targetFramework="net48" />
<package id="Resource.Embedder" version="2.2.0" targetFramework="net48" />
<package id="ResourceLoader" version="3.3.1" targetFramework="net48" />
<package id="System.AppContext" version="4.3.0" targetFramework="net48" />
<package id="System.Buffers" version="4.5.1" targetFramework="net48" />
<package id="System.Buffers" version="4.6.1" targetFramework="net48" />
<package id="System.Collections" version="4.3.0" targetFramework="net48" />
<package id="System.Collections.Concurrent" version="4.3.0" targetFramework="net48" />
<package id="System.Collections.Immutable" version="9.0.10" targetFramework="net48" />
<package id="System.Console" version="4.3.1" targetFramework="net48" />
<package id="System.Diagnostics.Debug" version="4.3.0" targetFramework="net48" />
<package id="System.Diagnostics.DiagnosticSource" version="8.0.0" targetFramework="net48" />
<package id="System.Diagnostics.DiagnosticSource" version="9.0.10" targetFramework="net48" />
<package id="System.Diagnostics.Tools" version="4.3.0" targetFramework="net48" />
<package id="System.Diagnostics.Tracing" version="4.3.0" targetFramework="net48" />
<package id="System.Formats.Nrbf" version="9.0.10" targetFramework="net48" />
<package id="System.Globalization" version="4.3.0" targetFramework="net48" />
<package id="System.Globalization.Calendars" version="4.3.0" targetFramework="net48" />
<package id="System.IO" version="4.3.0" targetFramework="net48" />
<package id="System.IO.Compression" version="4.3.0" targetFramework="net48" />
<package id="System.IO.Compression.ZipFile" version="4.3.0" targetFramework="net48" />
<package id="System.IO.FileSystem" version="4.3.0" targetFramework="net48" />
<package id="System.IO.FileSystem.Primitives" version="4.3.0" targetFramework="net48" />
<package id="System.Linq" version="4.3.0" targetFramework="net48" />
<package id="System.Linq.Expressions" version="4.3.0" targetFramework="net48" />
<package id="System.Memory" version="4.5.5" targetFramework="net48" />
<package id="System.Memory" version="4.6.3" targetFramework="net48" />
<package id="System.Net.Http" version="4.3.4" targetFramework="net48" />
<package id="System.Net.Primitives" version="4.3.1" targetFramework="net48" />
<package id="System.Net.Sockets" version="4.3.0" targetFramework="net48" />
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net48" />
<package id="System.Numerics.Vectors" version="4.6.1" targetFramework="net48" />
<package id="System.ObjectModel" version="4.3.0" targetFramework="net48" />
<package id="System.Reflection" version="4.3.0" targetFramework="net48" />
<package id="System.Reflection.Extensions" version="4.3.0" targetFramework="net48" />
<package id="System.Reflection.Metadata" version="9.0.10" targetFramework="net48" />
<package id="System.Reflection.Primitives" version="4.3.0" targetFramework="net48" />
<package id="System.Resources.Extensions" version="8.0.0" targetFramework="net48" />
<package id="System.Resources.Extensions" version="9.0.10" targetFramework="net48" />
<package id="System.Resources.ResourceManager" version="4.3.0" targetFramework="net48" />
<package id="System.Runtime" version="4.3.1" targetFramework="net48" />
<package id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" targetFramework="net48" />
<package id="System.Runtime.CompilerServices.Unsafe" version="6.1.2" targetFramework="net48" />
<package id="System.Runtime.Extensions" version="4.3.1" targetFramework="net48" />
<package id="System.Runtime.Handles" version="4.3.0" targetFramework="net48" />
<package id="System.Runtime.InteropServices" version="4.3.0" targetFramework="net48" />
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net48" />
<package id="System.Runtime.Numerics" version="4.3.0" targetFramework="net48" />
<package id="System.Security.AccessControl" version="6.0.1" targetFramework="net48" />
<package id="System.Security.Cryptography.Algorithms" version="4.3.1" targetFramework="net48" />
<package id="System.Security.Cryptography.Encoding" version="4.3.0" targetFramework="net48" />
<package id="System.Security.Cryptography.Primitives" version="4.3.0" targetFramework="net48" />
<package id="System.Security.Cryptography.X509Certificates" version="4.3.2" targetFramework="net48" />
<package id="System.Security.Permissions" version="9.0.10" targetFramework="net48" />
<package id="System.Security.Principal.Windows" version="5.0.0" targetFramework="net48" />
<package id="System.Text.Encoding" version="4.3.0" targetFramework="net48" />
<package id="System.Text.Encoding.CodePages" version="9.0.10" targetFramework="net48" />
<package id="System.Text.Encoding.Extensions" version="4.3.0" targetFramework="net48" />
<package id="System.Text.RegularExpressions" version="4.3.1" targetFramework="net48" />
<package id="System.Threading" version="4.3.0" targetFramework="net48" />
<package id="System.Threading.Tasks" version="4.3.0" targetFramework="net48" />
<package id="System.Threading.Timer" version="4.3.0" targetFramework="net48" />
<package id="System.ValueTuple" version="4.6.1" targetFramework="net48" />
<package id="System.Xml.ReaderWriter" version="4.3.1" targetFramework="net48" />
<package id="System.Xml.XDocument" version="4.3.0" targetFramework="net48" />
</packages>
+32 -24
View File
@@ -10,13 +10,13 @@ It is a tool for reverse engineering 3rd party, closed, binary Android apps. It
# Download links
https://github.com/AndnixSH/APKToolGUI/releases
Any such report from your antivirus is a false positive and is due to how the application works. You must manually add APKToolGUI.exe to your antivirus's whitelist/exclusion list.
Any alert from your antivirus regarding this application is a **false positive**, caused by how the application operates. To resolve this, manually add **APKToolGUI.exe** to your antiviruss whitelist or exclusion list.
If you don't believe this then try to compile the app by yourself or simply don't use it until you can confirm it is safe by working directly with your antiirus provider.
If you remain unsure, you can compile the app yourself or refrain from using it until you confirm its safety with your antivirus provider.
# Requirements
- Windows 7 32-bit/64-bit and above
- [Java](https://www.java.com/en/) or [JDK](https://www.oracle.com/java/technologies/downloads/) 8 or above. Using latest JDK is not really necessary, it tends to cause unexpected issues. Java 8 and 17 (long-term support release) is enough. Use 64-bit version if your system is 64-bit
- [Java](https://www.java.com/en/) or [JDK](https://www.oracle.com/java/technologies/downloads/) 8 or above. Using latest JDK is not really necessary. Java 8 and 25 (long-term support release) is enough. Use 64-bit version if your system is 64-bit
- [.NET Framework 4.8](https://dotnet.microsoft.com/en-us/download/dotnet-framework/net48) (Windows 8 and above already have it preinstalled)
# Features
@@ -75,40 +75,48 @@ For Framework/system apps related issues, check on [XDA Forum](https://forum.xda
Anything else, [create a new issue](https://github.com/AndnixSH/APKToolGUI/issues)
# FAQ
##### Q: Can it be ported to other OS like Linux?
A: Notthing is impossible, but it's not easy as long as Microsoft not supporting WinForm for other platforms, making .NET Core useless, unlike Java FX that supports other platforms since decades. If you know, feel free to open an issue. Until then, use [WineHQ](https://www.winehq.org/) or similar to run exe
##### Can it be ported to macOS or Linux?
Microsoft has not made it easy to port, and .NET Core remains impractical for this purpose. While I could use Avalonia UI as an alternative, I currently dont have the time to port the entire project. Pull requests are welcome!
##### Q: How to update Apktool?
A: Download [Apktool.jar](https://github.com/iBotPeaches/Apktool/releases) and replace it on Resources folder
In the meantime, you can use [WineHQ](https://www.winehq.org/) or similar tools to run the .exe file.
##### Q: How to update Baksmali/Smali?
A: Download [Baksmali.jar/Smali.jar](https://bitbucket.org/JesusFreke/smali/downloads/) and replace it on Resources folder
##### How to update Apktool?
Download [Apktool.jar](https://github.com/iBotPeaches/Apktool/releases) and replace it on Resources folder
##### Q: How to reset?
A: Simply delete the config.xml file from the directory of the executeable
##### How to update Baksmali/Smali?
Download [Baksmali.jar/Smali.jar](https://bitbucket.org/JesusFreke/smali/downloads/) and replace it on Resources folder
##### Q: Can you make an automatic APK injecting tool?
A: No, I'm not interested.
##### How to reset?
Simply delete the config.xml file from the directory of the executeable
##### Q: Can you implement to convert APK to AAB?
A: No, apktool is about recompiling, not converting to other formats. AAB is only used for distributing an application to Play Store, so it is not directly installable. If you really want to convert APK to ABB, try APK2AAB tool https://github.com/sensei-z/APK2AAB
##### Can you help me with modding APKs in general?
No, I do not provide support for APK modding.
##### Q: I don't like split APK. Where can I get single APK instead?
A: Download from [Apkcombo's APK downloader](https://apkcombo.com/downloader/), or [Apkpure](https://apkpure.com/) (Choose APK instead XAPK)
##### Can you make an automatic APK injecting tool?
No, I'm not interested.
##### Q: Can you help me with modding APK in general?
A: Sorry, I don't offer support with it.
##### Can you implement APK to AAB conversion?
No, APKTool is designed for decompiling and recompiling APKs, not for converting between formats. AAB (Android App Bundle) is used exclusively for distributing apps on the Google Play Store and is not directly installable on devices.
##### Q: Can you implement features to protect/pack/obfuscate APK?
A: No, APK protection is beyond the scope of this tool
If you need to convert an APK to AAB, you can try using a tool like [APK2AAB](https://github.com/sensei-z/APK2AAB)
##### Q: Can you implement features to deobfuscate/unpack APK or bypass anti-cheat/security?
A: No, they are also beyond the scope of this tool. I don't condone bypassing such protections
##### Can you implement features to protect, pack, or obfuscate APKs?
No, APK protection is beyond the scope of this tool.
##### Can you implement features to deobfuscate, unpack APKs, or bypass anti-cheat/security?
No, these features are also beyond the scope of this tool. I do not support or condone bypassing such protections.
# Development
This project is written in C#
Use Visual Studio 2019 and above. NET Framework 4.8 SDK is required
Use Visual Studio 2022 and above. NET Framework 4.8 SDK is required
# Contributing
Contributions are welcome! Please ensure you:
- Submit pull requests with clear, detailed descriptions.
- Open an issue to discuss significant changes before implementing them.
- Do not submit pull requests for bypass or protection features.
# Credits
- AndnixSH
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
+54
View File
@@ -1,3 +1,57 @@
3.3.2.2
- Updated APKEditor to 1.4.7
- Updated Apktool to 3.0.1
- Updated ADB to 37.0.0-14910828
3.3.2.1
- Updated APKEditor to 1.4.5
- Updated Apktool to 2.12.1
- Updated Aapt & Zipalign
- Fixed *.zip and *.apkm not selectable for merging
- Export image when clicking on icon box in APK Info
3.3.2.0
- Remove flickering fix due to tabs flickering in Russian language. I will look into WPF for modern UI instead
- Updated tools (Apktool, APKEditor, AAPT, etc.) to latest versions
- Fixed issues that *.zip and *.apkm are not selectable
- Partially added Japanese language
- Partially added Turkish language
- Updated Vietnamese language
- Updated German language
Note: "Use Aapt2" must be disabled for Apktool 2.12.0 and above
3.3.1.6
- Fixed APK installation issue (Revert back to DotNetZip but using ProDotNetZip for fixed vulnerability)
- Update packages
- Reduced UI flickering
- Removed APK links that are no longer available
- Fixed icon not displaying. It will load icon from Play Store as a last resort
- Faster apk parsing
3.3.1.5
- Updated Apktool and Apkeditor to latest version
- Splitter between logs box and tab window is now draggable
- Fixed an issue with creating unsigned APK
3.3.1.4
- Fixed issues adding original signature back to unsigned APK
- Fixed a critical vulnerability by removing DotNetZip library and transition to System.IO.Compression
- Added option to set threads
- Added Vietnamese language
- Updated Chinese Simplified language
3.3.1.3
- Updated APKTool to 2.10.0, APKEditor to 1.4.0 and all other tools
- Minor fixes of drag and drop on merge APK section
- Support window resizing
- Fixed issue decompiling split apk using Apkeditor
3.3.1.2
- Option to override ABI for ADB
- Fixed Target SDK showing wrong API level
- Target SDK will detect up to API level 35/Android 15
3.3.1.1
- Fixed buttons not ungraying after ADB installation
- Fixed "Merge APK" button not greying out during the process