182 Commits

Author SHA1 Message Date
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
AndnixSH 208d14cb9b Update AssemblyInfo.cs 2024-03-03 16:52:25 +01:00
AndnixSH d4fcd90024 Option to override abi for ADB 2024-03-03 16:18:56 +01:00
AndnixSH bcc597ac0a Fix issue #22 and add up to SDK 35/Android 15 2024-03-03 13:36:04 +01:00
AndnixSH 674fc210f5 3.3.1.1 2024-02-26 12:52:52 +01:00
AndnixSH aa5d017c74 Fix ADB not ungraying the buttons after installation 2024-02-20 21:18:20 +01:00
AndnixSH 012b6f3c07 Add mergeApkBtn to ActionButtonsEnabled 2024-02-18 17:50:27 +01:00
AndnixSH c8bfc38fac Merge pull request #20 from Henry2o1o/patch-5
Update FormMain.de.resx
2024-02-09 15:09:42 +01:00
AndnixSH 6a0e01937a Merge pull request #21 from Henry2o1o/patch-6
Update Language.de.resx
2024-02-09 15:09:12 +01:00
Hen_Ry 542bc64b80 Update Language.de.resx 2024-01-28 17:06:24 +01:00
Hen_Ry e47ce35b5c Update FormMain.de.resx 2024-01-28 16:52:34 +01:00
Hen_Ry 7c3280a2ad Update FormMain.de.resx 2024-01-28 16:50:53 +01:00
AndnixSH d32a068e9a Update issues 2024-01-28 11:31:45 +01:00
AndnixSH 90f8ba18f3 Update FormMain.de.resx 2024-01-28 11:16:00 +01:00
AndnixSH 39219eaf65 Update changelog.txt 2024-01-27 15:18:36 +01:00
AndnixSH 9675fa6d85 Update README.md 2024-01-27 14:07:48 +01:00
AndnixSH 67a0bb877d Update changelog.txt 2024-01-27 14:02:35 +01:00
AndnixSH d8d1c50f00 no idea why VS changes this 2024-01-27 14:01:48 +01:00
AndnixSH 608dd37522 Print APKEditor version 2024-01-27 14:01:17 +01:00
AndnixSH d2f8e42664 Update AssemblyInfo.cs 2024-01-27 13:33:28 +01:00
AndnixSH 6cf1931bbc Temp logic
Fix freezing when clearing temp folder
Standard temp location will be ...\AppData\Local\APKToolGUI\Temp\XXXXX
2024-01-26 22:43:08 +01:00
AndnixSH 67667784fd Updated tools 2024-01-26 22:30:45 +01:00
AndnixSH 0df16541d4 Adjust settings saving
Don't require restart if language has not been changed
2024-01-26 22:25:44 +01:00
AndnixSH e141b886ef Support decompiling/compiling using ApkEditor 2024-01-26 22:14:16 +01:00
AndnixSH 9e00fd2d75 Print exceptions 2024-01-26 19:53:51 +01:00
AndnixSH a841fe0ce5 Update dependencies 2024-01-13 22:55:39 +01:00
AndnixSH d7edc9ced2 Fixed UI for German 2023-11-06 20:38:24 +01:00
AndnixSH f9cad819b6 Rename de-DE to de to avoid duplication 2023-11-06 20:26:01 +01:00
AndnixSH 02a48151c2 Included German and adjusted UI to fit for all languages 2023-11-06 17:54:05 +01:00
AndnixSH 8fddb8d760 Merge branch 'pr/18' 2023-11-06 17:34:20 +01:00
AndnixSH 0e18c8194c Merge branch 'pr/17' 2023-11-06 17:34:17 +01:00
AndnixSH aa1078660a Merge branch 'pr/16' 2023-11-06 17:34:11 +01:00
AndnixSH 33749af569 Merge branch 'pr/15' 2023-11-06 17:34:00 +01:00
AndnixSH c431d2e90c Fix language selection 2023-11-06 17:30:29 +01:00
AndnixSH 2dfac5d667 Update Log.cs 2023-11-06 17:07:56 +01:00
AndnixSH de6588a148 Fixed text align 2023-11-06 17:05:06 +01:00
AndnixSH 05cbb3cb4b Merge branch 'pr/14' 2023-11-06 17:03:44 +01:00
AndnixSH de415e8232 Included zh-CN in csproj 2023-11-06 17:02:10 +01:00
AndnixSH cfec6c9a81 Update apktool to 2.9.0 2023-11-06 16:56:06 +01:00
AndnixSH 28f15a41ac Update adb 2023-11-06 16:54:10 +01:00
AndnixSH 8513ab4788 Update Log.cs 2023-11-06 16:50:19 +01:00
Hen_Ry e4f9e5da21 Fix 2023-10-29 21:41:17 +01:00
Hen_Ry b191d547d0 Fix 2023-10-29 21:31:14 +01:00
Hen_Ry 1d764709f2 Fix 2023-10-29 21:28:47 +01:00
Hen_Ry 7ccf7da0f3 Fix 2023-10-29 21:24:22 +01:00
Hen_Ry 2bed8a468b Fix 2023-10-29 21:22:44 +01:00
Hen_Ry 6d4dc8396d Fix 2023-10-27 14:52:33 +02:00
Hen_Ry 67672a8871 Fix 2023-10-27 14:50:15 +02:00
Hen_Ry e7b942f09b Fix 2023-10-27 13:40:27 +02:00
Hen_Ry f71bd165a8 Create FormSettings.de.resx
for german
2023-10-27 11:44:44 +02:00
Hen_Ry 984735d9a2 Create FormMain.de.resx
for german
2023-10-27 11:43:40 +02:00
Hen_Ry 3e7ebe157e Create FormAboutBox.de.resx
for german
2023-10-27 11:41:57 +02:00
Hen_Ry e42e2f3897 Rename Language.de.resx to Language.de-DE.resx 2023-10-27 10:30:00 +02:00
Hen_Ry ae8106d967 Fix 2023-10-27 09:15:05 +02:00
Hen_Ry 462447de6c Update Language.de.resx
part 2/2
2023-10-26 20:36:42 +02:00
Hen_Ry 67a4b79efc Update Language.de.resx 2023-10-26 19:52:03 +02:00
Hen_Ry ba418f7427 Create Language.de.resx
for german
2023-10-26 15:33:38 +02:00
TuziChan f28fa25001 Update Simplified Chinese translation
translated all Forms,
but the Target SDK and Architetures text boxes in the apk info have alignment issues
2023-10-09 01:13:11 +08:00
AndnixSH db8be4b428 Update README.md 2023-10-07 17:49:50 +02:00
AndnixSH 7cea4c2959 APKSMerger source removed 2023-10-07 17:43:15 +02:00
AndnixSH 7def211556 Merge split APK to single APK 2023-10-07 17:39:57 +02:00
AndnixSH 9e81f5b791 Bump to v3.3.0.1 2023-10-01 16:30:03 +02:00
AndnixSH ec6fd42592 Fixed zipalign issue 2023-09-30 19:19:49 +02:00
AndnixSH 07e4026aba Update README.md 2023-09-30 10:17:03 +02:00
AndnixSH 1072739a97 Update changelog.txt 2023-09-16 16:12:28 +02:00
AndnixSH de4f176cf7 Fix crash when drag and dropping APK file 2023-09-16 14:58:09 +02:00
AndnixSH 75e05668ab Update tools 2023-09-16 13:34:47 +02:00
AndnixSH c897d959a3 Fix ApkTool errors after decompile: Change sparseResources to false 2023-09-13 11:50:23 +02:00
AndnixSH 58314b84e0 Move text tips to tooltips to keep UI clean 2023-09-13 10:32:42 +02:00
AndnixSH 906b2ea6d6 All settings portable 2023-09-09 20:50:49 +02:00
AndnixSH 926ba9e1e6 Added custom JVM args
To fix #13
2023-09-06 20:40:42 +02:00
AndnixSH efc7ec1539 Some changes 2023-09-06 15:43:51 +02:00
AndnixSH 2ab52ee4a3 Parse alt-native-code from aapt 2023-09-06 11:57:49 +02:00
AndnixSH 7bc8fb1d80 Added jump list 2023-09-06 11:36:48 +02:00
AndnixSH d4b21606b6 Add "New Instance" 2023-09-02 18:29:58 +02:00
AndnixSH 71b18764d4 Fixed sign after zipalign 2023-08-23 13:51:36 +02:00
AndnixSH e408c422de Don't parse APK info when selecting APK for decompiling 2023-08-23 12:03:38 +02:00
AndnixSH fa9c063968 Update dpendencies 2023-08-23 10:59:35 +02:00
AndnixSH e1509bc235 Bump version 3.3.0.0 2023-07-30 17:05:42 +02:00
AndnixSH da7685c40e Update Microsoft.NETCore.Platforms to 7.0.4 2023-07-30 17:04:50 +02:00
AndnixSH afa73115bc Improve dark theme a bit 2023-07-30 16:52:55 +02:00
AndnixSH 6ef981bd25 Updated APKEditor.jar to 1.2.7 2023-07-30 13:03:04 +02:00
AndnixSH 353467c461 Added --net-sec-conf flag 2023-07-29 14:49:59 +02:00
AndnixSH c6184f4eed Update apktool.jar to 2.8.1 2023-07-29 13:19:39 +02:00
AndnixSH 4a47d23b77 Added option to clear temp folder 2023-07-29 13:15:44 +02:00
AndnixSH c2233ac843 No longer change target SDK to 29
It's no longer necessary, and it cause some issues
2023-07-29 12:42:47 +02:00
AndnixSH a5e3ea133c Fix java version a bit 2023-07-17 20:17:35 +02:00
AndnixSH 68f27e1231 Added debug mode 2023-07-13 16:30:06 +02:00
AndnixSH 2a5312628f Update tools 2023-07-03 17:32:59 +02:00
AndnixSH a5c80a2c73 Removed android.intent.action.MAIN from fixer 2023-07-02 16:32:57 +02:00
AndnixSH ae20b2167c Update dependencies 2023-07-02 16:31:44 +02:00
AndnixSH 5e8051b86a Update README.md 2023-06-22 09:43:34 +02:00
AndnixSH 08bc04a9b0 Update README.md 2023-06-11 13:32:27 +02:00
AndnixSH 9f89c5bab0 Update Image.png 2023-06-05 13:16:35 +02:00
AndnixSH dfee2d8c93 Merge pull request #11 from wcxu21/master
Update Simplified Chinese translation
2023-05-21 12:34:52 +02:00
AndnixSH 5eb9b3ba9f Update README.md 2023-05-21 12:34:05 +02:00
大眼仔旭 b8615ec982 Update Simplified Chinese translation
Update Simplified Chinese translation
2023-05-19 10:45:38 +08:00
AndnixSH 926ab509d0 Update README.md 2023-05-14 11:02:38 +02:00
AndnixSH 1edcb5b836 Update README.md 2023-05-14 11:02:22 +02:00
AndnixSH 165155407d Update README.md 2023-05-13 15:26:15 +02:00
AndnixSH 3d02b40128 Merge branch 'master' of https://github.com/AndnixSH/APKToolGUI 2023-05-13 14:25:14 +02:00
AndnixSH e4559a45b7 Create LICENSE 2023-05-13 14:24:32 +02:00
AndnixSH 91bb1c8838 Remove date 2023-05-12 22:35:35 +02:00
AndnixSH 745863555a 3.2.2.0 2023-05-12 22:33:07 +02:00
AndnixSH 684fb02074 Fix installing apk even its disabled again 2023-05-12 17:21:40 +02:00
AndnixSH 2a0f4cd90a Fix crash when dropping decompiled APK on compile panel 2023-05-12 17:18:04 +02:00
AndnixSH 83fb485c26 Dark theme for panel hovering 2023-05-12 16:34:12 +02:00
105 changed files with 15242 additions and 4618 deletions
+6 -10
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:
@@ -28,6 +22,7 @@ body:
description: |
A clear and concise description of what the bug is.
Feel free to upload/attach link to screenshot or video
Only place logs in 'Logs' box
validations:
required: true
@@ -64,7 +59,7 @@ body:
- type: textarea
attributes:
label: APK
description: If this APK can be freely shared, please upload/attach a link to it.
description: If this APK can be freely shared, please upload/attach a link to it. Please warn with "NSFW" where applicable, if the APK or the link contains adult content
placeholder: |
https://apkcombo.com/downloader/
validations:
@@ -90,7 +85,8 @@ body:
- type: input
attributes:
label: Operating System and version
placeholder: Windows 11 2h22
label: Operating system and version
placeholder: |
(Example: Windows 11 2h22)
validations:
required: true
+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'
+16
View File
@@ -0,0 +1,16 @@
name: Language suggestion/error
description: Suggest a change or report an error of language. Use this form if you can't pull request
labels: language
body:
- type: input
attributes:
label: Language
validations:
required: true
- type: textarea
attributes:
label: Description
description: A clear and concise description of what you want to be changed. You can upload/paste screenshots here. For full translation, please upload zip file of translated files or full project
validations:
required: true
+46
View File
@@ -0,0 +1,46 @@
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
run: |
cp APKToolGUI/bin/Release/APKToolGUI.exe package/
cp -r APKToolGUI/bin/Release/Resources package/
cp APKToolGUI/bin/Release/*.dll package/
- name: Create placeholder config.xml
run: New-Item -Path package/ -Name "config.xml" -ItemType "file"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: APKToolGUI
path: package/
+99 -63
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.2.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\DarkNet.2.2.0\lib\net452\DarkNet.dll</HintPath>
<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" />
@@ -95,25 +95,28 @@
<Private>True</Private>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.WindowsAPICodePack, Version=1.1.4.0, Culture=neutral, PublicKeyToken=8985beaab7ea3f04, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft-WindowsAPICodePack-Core.1.1.4\lib\net48\Microsoft.WindowsAPICodePack.dll</HintPath>
<Reference Include="Microsoft.WindowsAPICodePack, Version=1.1.5.0, Culture=neutral, PublicKeyToken=8985beaab7ea3f04, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft-WindowsAPICodePack-Core.1.1.5\lib\net48\Microsoft.WindowsAPICodePack.dll</HintPath>
</Reference>
<Reference Include="Microsoft.WindowsAPICodePack.Shell, Version=1.1.4.0, Culture=neutral, PublicKeyToken=8985beaab7ea3f04, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft-WindowsAPICodePack-Shell.1.1.4\lib\net48\Microsoft.WindowsAPICodePack.Shell.dll</HintPath>
<Reference Include="Microsoft.WindowsAPICodePack.Shell, Version=1.1.5.0, Culture=neutral, PublicKeyToken=8985beaab7ea3f04, processorArchitecture=MSIL">
<HintPath>..\packages\Microsoft-WindowsAPICodePack-Shell.1.1.5\lib\net48\Microsoft.WindowsAPICodePack.Shell.dll</HintPath>
</Reference>
<Reference Include="Ookii.Dialogs.WinForms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=66aa232afad40158, processorArchitecture=MSIL">
<HintPath>..\packages\Ookii.Dialogs.WinForms.4.0.0\lib\net462\Ookii.Dialogs.WinForms.dll</HintPath>
</Reference>
<Reference Include="OSVersionExt, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OSVersionExt.2.0.0\lib\net462\OSVersionExt.dll</HintPath>
<Reference Include="OSVersionExt, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\OSVersionExt.3.0.0\lib\net462\OSVersionExt.dll</HintPath>
</Reference>
<Reference Include="PortableSettingsProvider, Version=0.2.4.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\PortableSettingsProvider.0.2.4\lib\net45\PortableSettingsProvider.dll</HintPath>
<Reference Include="PortableSettingsProvider, Version=0.2.5.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\PortableSettingsProvider.0.2.5\lib\net45\PortableSettingsProvider.dll</HintPath>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="ResourceLoader, Version=3.2.4.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\ResourceLoader.3.2.4\lib\netstandard2.0\ResourceLoader.dll</HintPath>
<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>
<Reference Include="System" />
<Reference Include="System.AppContext, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
@@ -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=7.0.0.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Diagnostics.DiagnosticSource.7.0.2\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=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Resources.Extensions.7.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" />
@@ -274,24 +293,8 @@
<Reference Include="WindowsFormsIntegration" />
</ItemGroup>
<ItemGroup>
<Compile Include="AndroidRes\AndroidResourceMerger.cs" />
<Compile Include="AndroidRes\AndroidResources.cs" />
<Compile Include="AndroidRes\Model\AndroidAttribute.cs" />
<Compile Include="AndroidRes\Model\AndroidBool.cs" />
<Compile Include="AndroidRes\Model\AndroidInteger.cs" />
<Compile Include="AndroidRes\Model\AndroidPlural.cs" />
<Compile Include="AndroidRes\Model\AndroidPublic.cs" />
<Compile Include="AndroidRes\Model\AndroidString.cs" />
<Compile Include="AndroidRes\Model\AndroidStyle.cs" />
<Compile Include="AndroidRes\Model\AndroidStyleable.cs" />
<Compile Include="AndroidRes\Model\AndroidTypedItem.cs" />
<Compile Include="AndroidRes\Model\GenericArrayTypes.cs" />
<Compile Include="AndroidRes\Model\GenericTypes.cs" />
<Compile Include="AndroidRes\Model\Generic\AndroidGeneric.cs" />
<Compile Include="AndroidRes\Model\Generic\AndroidGenericArray.cs" />
<Compile Include="AndroidRes\Model\Generic\AndroidResource.cs" />
<Compile Include="AndroidRes\Util\ClassExtensions.cs" />
<Compile Include="AndroidRes\Util\Log.cs" />
<Compile Include="TaskBar\TaskBarJumpList.cs" />
<Compile Include="Utils\Log.cs" />
<Compile Include="ApkTool\AaptParser.cs" />
<Compile Include="ApkTool\ApkFixer.cs" />
<Compile Include="ApkTool\Apktool.cs">
@@ -369,28 +372,59 @@
<Compile Include="Web\WebDownload.cs">
<SubType>Component</SubType>
</Compile>
<EmbeddedResource Include="Forms\FormAboutBox.de.resx">
<DependentUpon>FormAboutBox.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormAboutBox.resx">
<DependentUpon>FormAboutBox.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormAboutBox.ru.resx">
<DependentUpon>FormAboutBox.cs</DependentUpon>
</EmbeddedResource>
<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>
<EmbeddedResource Include="Forms\FormMain.resx">
<DependentUpon>FormMain.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormMain.ru.resx">
<DependentUpon>FormMain.cs</DependentUpon>
</EmbeddedResource>
<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>
<EmbeddedResource Include="Forms\FormSettings.resx">
<DependentUpon>FormSettings.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\FormSettings.ru.resx">
<DependentUpon>FormSettings.cs</DependentUpon>
</EmbeddedResource>
<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>
@@ -459,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.7.0\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.6.7.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.7.0\build\Fody.targets" Condition="Exists('..\packages\Fody.6.7.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">
@@ -479,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>
@@ -1,562 +0,0 @@
//https://github.com/shadow578/ApksMerger
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml;
using APKSMerger.AndroidRes.Model;
using APKSMerger.AndroidRes.Model.Generic;
using APKSMerger.Util;
using APKToolGUI.Utils;
namespace APKSMerger.AndroidRes
{
/// <summary>
/// merges android resource files
/// </summary>
public sealed class AndroidMerger
{
/// <summary>
/// check capabilities of the base and splits, warn if (common) libs are missing
/// </summary>
/// <param name="locales">list of supported locales; key is locale, value is name of dir that first included it</param>
/// <param name="abis">list of supported abis; key is abi, value is name of dir that first included it</param>
/// <param name="baseDir">base project dir</param>
/// <param name="splits">split dirs</param>
public void CollectCapabilities(out Dictionary<string, string> locales, out Dictionary<string, string> abis,
DirectoryInfo baseDir, params DirectoryInfo[] splits)
{
//init dicts
Log.i("collecting info about splits...");
locales = new Dictionary<string, string>();
abis = new Dictionary<string, string>();
//combine base and splits into one list
List<DirectoryInfo> allDir = new List<DirectoryInfo>();
allDir.Add(baseDir);
allDir.AddRange(splits);
//check all dirs, collect infos about them
foreach (DirectoryInfo d in allDir)
{
//check exists
if (!d.Exists)
{
Directory.CreateDirectory(baseDir.FullName);
Log.w($"Create baseDir {baseDir.FullName}");
continue;
}
//get all library archs included in this dir
//a decompiled apk dir may have a lib directory that contains native libraries for all archs supported by that apk (or split)
//the archs are splitted into their own directories, depending on the arch they're for
string libsDir = Path.Combine(d.FullName, "lib");
if (Directory.Exists(libsDir))
{
foreach (string arch in Directory.EnumerateDirectories(libsDir))
{
//get name of arch
string archName = Path.GetFileName(arch);
//add arch to lists of abis
if (!abis.ContainsKey(archName))
{
Log.v($"{d.Name} includes abi {archName}");
abis.Add(archName, d.Name);
}
else
{
//double arch?
Log.w($"arch {archName} already included by {abis[archName]} - in {d.Name}");
}
}
}
else
{
Log.v($"{d.Name} does not include abis");
}
//get all locales included in this dir
//extra locales are defined in strings.xml files in directories named values-<LOCALE_NAME>
//locale name seems to be formatted as ISO 639, but with an extra r (so en-GB == en-rGB)
string resDir = Path.Combine(d.FullName, "res");
if (Directory.Exists(resDir))
{
//add all dirs matching pattern (like values-en-rGB)
foreach (string lang in Directory.EnumerateDirectories(resDir, @"values-*"))
{
//check directory contains a strings.xml
if (!File.Exists(Path.Combine(lang, "strings.xml")))
continue;
//get name of lang
string langName = Path.GetFileName(lang).ReplaceFirst("values-", "");
//add lang to list of locales
if (!locales.ContainsKey(langName))
{
Log.v($"{d.Name} included locale {langName}");
locales.Add(langName, d.Name);
}
else
{
//double lang?
Log.w($"locale {langName} already included by {locales[langName]} - in {d.Name}");
}
}
}
else
{
Log.v($"{d.Name} does not include locales");
}
}
}
/// <summary>
/// merge all splits into the base project dir
/// </summary>
/// <param name="baseDir">base project dir</param>
/// <param name="splits">split dirs to merge</param>
public void MergeSplits(DirectoryInfo baseDir, params DirectoryInfo[] splits)
{
//Log.v($"Base dir: {baseDir.FullName}");
//check all dirs exists
if (!baseDir.Exists)
{
Directory.CreateDirectory(baseDir.FullName);
Log.w($"Create baseDir {baseDir.FullName}");
//return;
}
foreach (DirectoryInfo dir in splits)
{
//Debug.WriteLine(dir);
if (!dir.Exists)
{
Log.e($"split dir {dir.FullName} dos not exist!");
return;
}
}
List<string> assetPacks = new List<string>();
//enumarate all splitted files
Dictionary</*original*/string, /*replacement*/string> globalNameReplacements = new Dictionary<string, string>();
foreach (DirectoryInfo split in splits)
{
//Log.v($"Split dir: {split.FullName}");
split.EnumerateAllFiles("*.*", true, (FileInfo splittedFile) =>
{
if (splittedFile.FullName.Contains("AndroidManifest.xml"))
{
string manifest = File.ReadAllText(splittedFile.FullName);
string splitModule = StringExt.Regex(@"(?<= split=\"")(.*?)(?=\"")", manifest);
if (!String.IsNullOrEmpty(splitModule) && manifest.Contains("dist:type=\"asset-pack\""))
{
Log.v($"Add module: {splitModule}");
assetPacks.Add(splitModule);
}
}
//Debug.WriteLine($"Splited file: {splittedFile.FullName}");
//check if should process
string splitRel = PathUtils.GetRelativePath(split.FullName, splittedFile.FullName);
if (!ShouldProcess(splittedFile, split))
{
//Log.v($"skip excluded split file {splitRel}");
return;
}
//Debug.WriteLine($"Split rel dir: {splitRel}");
//Debug.WriteLine($"base Dir: {baseDir.FullName}");
List<string> splitList = splitRel.Split('\\').ToList();
splitList.RemoveAt(0);
string outputString = string.Join("\\", splitList);
//get file path for base dir
FileInfo baseFile = new FileInfo(Path.Combine(baseDir.FullName, outputString));
//Debug.WriteLine($"Base file: {baseFile}");
//Log.v($"Base file: {baseFile}");
//create target dir in base if needed
string baseFileDir = Path.GetDirectoryName(baseFile.FullName);
//Log.v($"Base file´dir: {baseFileDir}");
//Debug.WriteLine($"Base file dir: {baseFileDir}");
if (!Directory.Exists(baseFileDir))
{
Directory.CreateDirectory(baseFileDir);
}
//check file exists in base and is resource xml
if (!IsResourceXml(baseFile))
{
//nothing to merge, just copy
Log.v($"Move split file {splitRel} to {baseFile}");
if (File.Exists(baseFile.FullName))
File.Delete(baseFile.FullName);
splittedFile.MoveTo(baseFile.FullName);
}
else
{
//already exists, merge
//Debug.WriteLine($"Merge split file {splitRel} with {baseFile}");
//skip if files are equal
if (baseFile.HasSameHash(splittedFile))
{
Log.vv($"base and split of {splitRel} have same hash, skipping...");
return;
}
//check base and split are both resource xmls, if not skip
if (/*!IsResourceXml(baseFile) ||*/ !IsResourceXml(splittedFile))
{
Log.vv($"split of {splitRel} is not resource xml, skipping...");
return;
}
if (splittedFile.FullName.Contains("styles.xml"))
{
Debug.WriteLine("Break");
}
//merge
MergeResourceXML(baseFile, splittedFile, globalNameReplacements);
}
});
}
//skip replacement if no global name replacements are available
if (globalNameReplacements.Count <= 0)
{
Log.d("skip global name replacements: count is 0");
}
//replace names globally (in xml only)
Log.d($"process {globalNameReplacements.Count} global name replacements...");
foreach (string org in globalNameReplacements.Keys)
{
Log.v($"Replace {org} with {globalNameReplacements[org]}");
//Debug.Write($"replace {org} with {globalNameReplacements[org]}");
}
baseDir.EnumerateAllFiles("*.xml", true, (FileInfo file) =>
{
//Debug.WriteLine($"Name replace in {file.FullName}");
//create temp file
FileInfo temp = new FileInfo(Path.GetTempFileName());
//copy from input to temp, replace everything on replace list
using (StreamReader inp = file.OpenText())
using (StreamWriter oup = temp.CreateText())
{
string ln;
while ((ln = inp.ReadLine()) != null)
{
//replace all
foreach (string org in globalNameReplacements.Keys)
{
string dummy = StringExt.Regex(@"APKTOOL_DUMMY_([A-Za-z0-9])\w", ln);
if (ln.Contains(dummy))
{
//To avoid replacing wrong dummies. Don't know if there is better way
ln = ln.Replace(org + "<", globalNameReplacements[org] + "<");
ln = ln.Replace(org + "\"", globalNameReplacements[org] + "\"");
//Debug.WriteLine($"Replaced {org} with {globalNameReplacements[org]} in {file.FullName}");
}
//if (ln.Contains(org))
// ln = Regex.Replace(ln, @"APKTOOL_DUMMY_([A-Za-z0-9])\w", globalNameReplacements[org]);
}
//write back
oup.WriteLine(ln);
}
}
//move temp to input and delete temp if still exists
string tempPath = temp.FullName;
if (File.Exists(file.FullName))
{
File.Delete(file.FullName);
}
temp.MoveTo(file.FullName);
if (File.Exists(tempPath))
{
File.Delete(tempPath);
}
});
//remove splits from android manifest
FileInfo baseManifest = new FileInfo(Path.Combine(baseDir.FullName, "AndroidManifest.xml"));
PatchManifest(baseManifest, assetPacks);
FileInfo baseYml = new FileInfo(Path.Combine(baseDir.FullName, "apktool.yml"));
PatchYml(baseYml, assetPacks);
}
/// <summary>
/// Patch the AndroidManifest.xml to not use splits
/// </summary>
/// <param name="manifest">the manifest xml to patch</param>
void PatchManifest(FileInfo manifest, List<string> assetPacks)
{
Log.d($"patching manifest {manifest.FullName}...");
//check the file exists
if (!manifest.Exists)
{
Log.e("manifest to patch does not exist!");
return;
}
string modules = null;
if (assetPacks.Count != 0)
{
foreach (string asset in assetPacks)
{
modules += "," + asset;
}
}
//prepare targets to remove
string[] replaceTargets = { @"android:isSplitRequired=""true""" };
List<string> removeTargets = new List<string> { @"meta-data android:name=""com.android.stamp.source""",
@"meta-data android:name=""com.android.vending.derived.apk.id""",
@"meta-data android:name=""com.android.vending.splits.required""",
@"meta-data android:name=""com.android.vending.splits"""};
//create temp file
FileInfo temp = new FileInfo(Path.GetTempFileName());
//copy from input to temp, replace everything on replace list
using (StreamReader inp = manifest.OpenText())
using (StreamWriter oup = temp.CreateText())
{
string ln;
while ((ln = inp.ReadLine()) != null)
{
//remove all
foreach (string target in replaceTargets)
{
ln = ln.Replace(target, "");
}
if (removeTargets.Any(w => ln.Contains(w)))
continue;
if (ln.Contains("STAMP_TYPE_DISTRIBUTION_APK"))
ln = ln.Replace("STAMP_TYPE_DISTRIBUTION_APK", "STAMP_TYPE_STANDALONE_APK");
if (ln.Contains("</application>") && !String.IsNullOrEmpty(modules))
{
oup.WriteLine(@" <meta-data android:name=""com.android.dynamic.apk.fused.modules"" android:value=""base" + modules + @"""/>");
}
//write back
oup.WriteLine(ln);
}
}
//move temp to input and delete temp if still exists
string tempPath = temp.FullName;
if (File.Exists(manifest.FullName))
{
File.Delete(manifest.FullName);
}
temp.MoveTo(manifest.FullName);
if (File.Exists(tempPath))
{
File.Delete(tempPath);
}
}
void PatchYml(FileInfo yml, List<string> assetPacks)
{
Log.d($"patching apktool.yml {yml.FullName}...");
//check the file exists
if (!yml.Exists)
{
Log.e("manifest to patch does not exist!");
return;
}
//create temp file
FileInfo temp = new FileInfo(Path.GetTempFileName());
//copy from input to temp, replace everything on replace list
using (StreamReader inp = yml.OpenText())
using (StreamWriter oup = temp.CreateText())
{
string ln;
while ((ln = inp.ReadLine()) != null)
{
if (ln.Contains("doNotCompress:") && assetPacks.Count != 0)
{
oup.WriteLine(ln);
foreach (string asset in assetPacks)
{
oup.WriteLine("- assets/assetpack/" + asset);
}
continue;
}
//write back
oup.WriteLine(ln);
}
}
//move temp to input and delete temp if still exists
string tempPath = temp.FullName;
if (File.Exists(yml.FullName))
{
File.Delete(yml.FullName);
}
temp.MoveTo(yml.FullName);
if (File.Exists(tempPath))
{
File.Delete(tempPath);
}
}
/// <summary>
/// merge two splitted resource xmls, overwrite a with merged
/// </summary>
/// <param name="a">file a to merge</param>
/// <param name="b">file b to merge</param>
/// <param name="globalNameReplacements">dictionary that can be used to replace names of resources globally</param>
void MergeResourceXML(FileInfo a, FileInfo b, Dictionary</*original*/string, /*replacement*/string> globalNameReplacements)
{
//deserialize both
AndroidResources resBase = AndroidResources.FromFile(a.FullName);
AndroidResources resSplit = AndroidResources.FromFile(b.FullName);
//merge resources to resA
foreach (AndroidResource res in resSplit.Values)
{
if (res is AndroidPublic splitP)
{
//entry of public.xml, special merge (Id has to be unique)
//try to find public with same id in base apk
AndroidPublic baseP = resBase.FindPublicWithId(splitP.Id);
if (baseP == null || !baseP.Type.Equals(splitP.Type))
{
//id not found or wrong type, add from split
resBase.Values.Add(splitP);
}
else
{
//id with correct type found in base,
//check if name of base is apktool dummy and name of split is not
if (baseP.Name.StartsWith("APKTOOL_DUMMY") && !splitP.Name.StartsWith("APKTOOL_DUMMY"))
{
try
{
Log.v($"Replace {baseP.Name} with {splitP.Name}...");
globalNameReplacements.Add(baseP.Name, splitP.Name);
baseP.Name = splitP.Name;
}
catch (Exception ex)
{
Log.v($"Error replacing {baseP.Name} with {splitP.Name}...");
Debug.WriteLine(ex.Message);
}
}
}
}
else
{
//normal resource entry (string / color / ...)
if (!resBase.Values.Contains(res))
{
resBase.Values.Add(res);
}
}
}
//serialize back to a
resBase.ToFile(a.FullName);
}
/// <summary>
/// check if the xml file contains the resources xml tag
/// </summary>
/// <param name="xml">the xml to check</param>
/// <returns>does the xml contain the tag?</returns>
bool IsResourceXml(FileInfo f)
{
//check file exists
if (!f.Exists) return false;
try
{
//Net reactor cause error
//check xml root
XmlDocument xml = new XmlDocument();
xml.Load(f.FullName);
//Log.v($"IsResourceXml 5");
return xml.DocumentElement.Name.Equals("resources", StringComparison.OrdinalIgnoreCase);
}
catch
{
//probably bad xml
return false;
}
}
/// <summary>
/// should the file be processed?
/// Example for files to exclude from processing are AndroidManifest.xml, apktool.yml, and META-INF/*
/// </summary>
/// <param name="file">the file to check</param>
/// <param name="projDir">the project dir the file is in</param>
/// <returns>process the file?</returns>
bool ShouldProcess(FileInfo file, DirectoryInfo projDir)
{
//get relative path
string filePathRel = PathUtils.GetRelativePath(projDir.FullName, file.FullName).TrimStart('/').TrimStart('\\');
//check if in META-INF (exclude all)
//if (filePathRel.StartsWith("META-INF", StringComparison.OrdinalIgnoreCase))
// return false;
//check if in original (exlude all)
if (filePathRel.StartsWith("original", StringComparison.OrdinalIgnoreCase))
return false;
//check if AndroidManifest.xml OR apktool.yml
if (file.Name.Equals("androidmanifest.xml", StringComparison.OrdinalIgnoreCase)
|| file.Name.Equals("apktool.yml", StringComparison.OrdinalIgnoreCase))
return false;
//check if AndroidManifest.xml OR apktool.yml
if (file.Name.Equals("resources.arsc", StringComparison.OrdinalIgnoreCase))
return false;
//check if drawables.yml
//if (file.Name.Equals("drawables.xml", StringComparison.OrdinalIgnoreCase))
// return false;
//all ok, include
return true;
}
}
}
-103
View File
@@ -1,103 +0,0 @@
//https://github.com/shadow578/ApksMerger
using APKSMerger.AndroidRes.Model;
using APKSMerger.AndroidRes.Model.Generic;
using System;
using System.Collections.Generic;
using System.IO;
using System.Xml.Serialization;
namespace APKSMerger.AndroidRes
{
[XmlRoot("resources")]
public sealed class AndroidResources
{
//basic
[XmlElement("bool", Type = typeof(AndroidBool))]
[XmlElement("integer", Type = typeof(AndroidInteger))]
[XmlElement("dimen", Type = typeof(AndroidDimension))]
[XmlElement("drawable", Type = typeof(AndroidDrawable))]
[XmlElement("color", Type = typeof(AndroidColor))]
[XmlElement("fraction", Type = typeof(AndroidFraction))]
//extended
[XmlElement("attr", Type = typeof(AndroidAttribute))]
[XmlElement("string", Type = typeof(AndroidString))]
[XmlElement("item", Type = typeof(AndroidTypedItem))]
[XmlElement("public", Type = typeof(AndroidPublic))]
//complex
[XmlElement("style", Type = typeof(AndroidStyle))]
[XmlElement("plurals", Type = typeof(AndroidPlural))]
[XmlElement("string-array", Type = typeof(AndroidStringArray))]
[XmlElement("integer-array", Type = typeof(AndroidIntegerArray))]
[XmlElement("array", Type = typeof(AndroidGenericArray))]
[XmlElement("declare-styleable", Type = typeof(AndroidStyleable))]
public List<AndroidResource> Values { get; set; } = new List<AndroidResource>();
/// <summary>
/// Find a AndroidPublic with matching id
/// </summary>
/// <param name="id">the id to find</param>
/// <returns>matching public, or null if not found</returns>
public AndroidPublic FindPublicWithId(string id)
{
foreach(AndroidResource res in Values)
{
if((res is AndroidPublic pub) && pub.Id.Equals(id))
{
return pub;
}
}
return null;
}
/// <summary>
/// Deserialize a file into a object
/// </summary>
/// <param name="file">the file to deserialize</param>
/// <returns>the object</returns>
public static AndroidResources FromFile(string file)
{
//check file
if (!File.Exists(file)) return null;
//deserialize
try
{
XmlSerializer ser = new XmlSerializer(typeof(AndroidResources));
using (StreamReader reader = File.OpenText(file))
{
return ser.Deserialize(reader) as AndroidResources;
}
}
catch
{
return null;
}
}
/// <summary>
/// serialize into a file
/// </summary>
/// <param name="file">the file to serialize to, will be overwritten if exists</param>
/// <returns>write file ok?</returns>
public bool ToFile(string file)
{
try
{
XmlSerializer ser = new XmlSerializer(typeof(AndroidResources));
using (StreamWriter writer = File.CreateText(file))
{
ser.Serialize(writer, this, new XmlSerializerNamespaces());
return true;
}
}
catch
{
return false;
}
}
}
}
@@ -1,15 +0,0 @@
using APKSMerger.AndroidRes.Model.Generic;
using System.Xml.Serialization;
namespace APKSMerger.AndroidRes.Model
{
public sealed class AndroidAttribute : AndroidResource
{
[XmlAttribute("format")]
public string Format { get; set; }
//[XmlText]
//[XmlAttribute("value")]
public string Value { get; set; }
}
}
@@ -1,12 +0,0 @@
using APKSMerger.AndroidRes.Model.Generic;
using System.Xml.Serialization;
namespace APKSMerger.AndroidRes.Model
{
public sealed class AndroidBool : AndroidResource
{
//[XmlText]
//[XmlAttribute("value")]
public bool Value { get; set; }
}
}
@@ -1,12 +0,0 @@
using APKSMerger.AndroidRes.Model.Generic;
using System.Xml.Serialization;
namespace APKSMerger.AndroidRes.Model
{
public sealed class AndroidInteger : AndroidResource
{
//[XmlText]
//[XmlAttribute("value")]
public int Value { get; set; }
}
}
@@ -1,21 +0,0 @@
using APKSMerger.AndroidRes.Model.Generic;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace APKSMerger.AndroidRes.Model
{
public sealed class AndroidPlural : AndroidResource
{
public sealed class Plural
{
[XmlAttribute("quantitiy")]
public string Quantity { get; set; }
[XmlText]
public string Value { get; set; }
}
[XmlElement("item", Type = typeof(Plural))]
public List<Plural> Values { get; set; } = new List<Plural>();
}
}
@@ -1,14 +0,0 @@
using APKSMerger.AndroidRes.Model.Generic;
using System.Xml.Serialization;
namespace APKSMerger.AndroidRes.Model
{
public sealed class AndroidPublic : AndroidResource
{
[XmlAttribute("type")]
public string Type { get; set; }
[XmlAttribute("id")]
public string Id { get; set; }
}
}
@@ -1,18 +0,0 @@
using APKSMerger.AndroidRes.Model.Generic;
using System.Xml.Serialization;
namespace APKSMerger.AndroidRes.Model
{
public sealed class AndroidString : AndroidResource
{
//[XmlAttribute("formatted")]
//public bool Formatted { get; set; }
//[XmlAttribute("translatable")]
//public bool Translateable { get; set; }
// [XmlText]
//[XmlAttribute("value")]
public string Value { get; set; }
}
}
@@ -1,15 +0,0 @@
using APKSMerger.AndroidRes.Model.Generic;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace APKSMerger.AndroidRes.Model
{
public sealed class AndroidStyle : AndroidResource
{
[XmlAttribute("parent")]
public string Parent { get; set; }
[XmlElement("item", Type = typeof(AndroidGeneric))]
public List<AndroidGeneric> Items { get; set; } = new List<AndroidGeneric>();
}
}
@@ -1,12 +0,0 @@
using APKSMerger.AndroidRes.Model.Generic;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace APKSMerger.AndroidRes.Model
{
public sealed class AndroidStyleable : AndroidResource
{
[XmlElement("attr", Type = typeof(AndroidAttribute))]
public List<AndroidAttribute> Values { get; set; } = new List<AndroidAttribute>();
}
}
@@ -1,15 +0,0 @@
using APKSMerger.AndroidRes.Model.Generic;
using System.Xml.Serialization;
namespace APKSMerger.AndroidRes.Model
{
public sealed class AndroidTypedItem : AndroidResource
{
[XmlAttribute("type")]
public string Type { get; set; }
//[XmlText]
//[XmlAttribute("value")]
public string Value { get; set; }
}
}
@@ -1,11 +0,0 @@
using System.Xml.Serialization;
namespace APKSMerger.AndroidRes.Model.Generic
{
public class AndroidGeneric : AndroidResource
{
[XmlText]
//[XmlAttribute("value")]
public string Value { get; set; }
}
}
@@ -1,18 +0,0 @@
using System.Collections.Generic;
using System.Xml.Serialization;
namespace APKSMerger.AndroidRes.Model.Generic
{
public class AndroidGenericArray : AndroidResource
{
public sealed class Item
{
// [XmlText]
//[XmlAttribute("value")]
public string Value { get; set; }
}
[XmlElement("item", Type = typeof(Item))]
public List<Item> Values { get; set; } = new List<Item>();
}
}
@@ -1,22 +0,0 @@
using System;
using System.Diagnostics;
using System.Xml.Serialization;
namespace APKSMerger.AndroidRes.Model.Generic
{
public class AndroidResource
{
[XmlAttribute(AttributeName = "name")]
public string Name { get; set; }
public override bool Equals(object obj)
{
//check other object is of correct type, otherwise not equal
if (!(obj is AndroidResource other)) return false;
//check if name is equal
//Debug.WriteLine("Xml name: " + other.Name);
return Name.Equals(other.Name, StringComparison.OrdinalIgnoreCase);
}
}
}
@@ -1,8 +0,0 @@
using APKSMerger.AndroidRes.Model.Generic;
namespace APKSMerger.AndroidRes.Model
{
public sealed class AndroidStringArray : AndroidGenericArray { }
public sealed class AndroidIntegerArray : AndroidGenericArray { }
}
@@ -1,12 +0,0 @@
using APKSMerger.AndroidRes.Model.Generic;
namespace APKSMerger.AndroidRes.Model
{
public sealed class AndroidDimension : AndroidGeneric { }
public sealed class AndroidDrawable : AndroidGeneric { }
public sealed class AndroidColor : AndroidGeneric { }
public sealed class AndroidFraction : AndroidGeneric { }
}
@@ -1,115 +0,0 @@
using System;
using System.IO;
using System.Security.Cryptography;
using System.Threading.Tasks;
namespace APKSMerger.Util
{
/// <summary>
/// extension methods
/// </summary>
public static class ClassExtensions
{
/// <summary>
/// replaces the first occurance of the pattern with the replacement
/// </summary>
/// <param name="s">the string to replace in</param>
/// <param name="pattern">the pattern to replace</param>
/// <param name="replacement">the replacement for the pattern</param>
/// <returns>a string in wich the first occurance of the pattern was replaced</returns>
public static string ReplaceFirst(this string s, string pattern, string replacement)
{
int pos = s.IndexOf(pattern);
if (pos < 0)
{
return s;
}
return s.Substring(0, pos) + replacement + s.Substring(pos + pattern.Length);
}
/// <summary>
/// does the array contain the string a, ignoring case?
/// </summary>
/// <param name="s">the array to check</param>
/// <param name="a">the string to check for</param>
/// <returns>contains it?</returns>
public static bool ContainsIgnoreCase(this string[] s, string a)
{
foreach (string sa in s)
{
if (sa.Equals(a, StringComparison.OrdinalIgnoreCase))
{
return true;
}
}
return false;
}
/// <summary>
/// enumerates all files in the directory (and subdirs if enabled)
/// </summary>
/// <param name="dir">the directory to enumerate in</param>
/// <param name="pattern">the pattern to filter with, eg. *.* or *.txt</param>
/// <param name="includeSubDirs">should files in subdirs be included?</param>
/// <param name="action">the action to execute for all files</param>
public static void EnumerateAllFiles(this DirectoryInfo dir, string pattern, bool includeSubDirs, Action<FileInfo> action)
{
foreach (FileInfo file in dir.EnumerateFiles(pattern, includeSubDirs ? SearchOption.AllDirectories : SearchOption.TopDirectoryOnly))
{
action.Invoke(file);
}
}
/// <summary>
/// enumerates all files in the directory (and subdirs if enabled) in parallel
/// </summary>
/// <param name="dir">the directory to enumerate in</param>
/// <param name="pattern">the pattern to filter with, eg. *.* or *.txt</param>
/// <param name="includeSubDirs">should files in subdirs be included?</param>
/// <param name="action">the action to execute for all files</param>
public static void EnumerateAllFilesParallel(this DirectoryInfo dir, string pattern, bool includeSubDirs, Action<FileInfo> action)
{
Parallel.ForEach(dir.EnumerateFiles(pattern, includeSubDirs ? SearchOption.AllDirectories : SearchOption.TopDirectoryOnly), action);
}
/// <summary>
/// checks if the two files have the same hash (MD5)
/// </summary>
/// <param name="a">the first file</param>
/// <param name="b">the file to compare</param>
/// <returns>do they have the same hash?</returns>
public static bool HasSameHash(this FileInfo a, FileInfo b)
{
return a.GetMD5().Equals(b.GetMD5());
}
/// <summary>
/// Get the md5 of the file
/// </summary>
/// <param name="f">the file to get md5 of</param>
/// <returns>md5 string of the file</returns>
public static string GetMD5(this FileInfo f)
{
using (MD5 md5 = MD5.Create())
using (FileStream stream = f.OpenRead())
{
return BitConverter.ToString(md5.ComputeHash(stream)).Replace("-", "").ToLowerInvariant();
}
}
/// <summary>
/// repeat the char n times
/// </summary>
/// <param name="c">char to repeat</param>
/// <param name="n">how often to repeat</param>
/// <returns>string with n time c</returns>
public static string Repeat(this char c, int n)
{
string s = "";
for (int i = 0; i < n; i++)
s += c;
return s;
}
}
}
-265
View File
@@ -1,265 +0,0 @@
using APKToolGUI;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows.Media;
namespace APKSMerger.Util
{
/// <summary>
/// simple logging wrapper class
/// </summary>
public static class Log
{
/// <summary>
/// should very verbose logs (Log.vv) be written?
/// </summary>
public static bool LogVeryVerbose { get; set; } = false;
/// <summary>
/// should verbose logs (Log.v) be written?
/// </summary>
public static bool LogVerbose { get; set; } = true;
/// <summary>
/// should debug logs (Log.d) be written?
/// </summary>
public static bool LogDebug { get; set; } = true;
#region direct logs
/// <summary>
/// log message with level VERY VERBOSE (may be disabled)
/// </summary>
/// <param name="s">the string to log</param>
public static void vv(string s)
{
if (!LogVeryVerbose) return;
FormMain.Instance.ToLog(ApktoolEventType.None, s);
}
/// <summary>
/// log message with level VERBOSE (may be disabled)
/// </summary>
/// <param name="s">the string to log</param>
public static void v(string s)
{
if (!LogVerbose) return;
FormMain.Instance.ToLog(ApktoolEventType.None, s);
}
/// <summary>
/// log message with level DEBUG (may be disabled)
/// </summary>
/// <param name="s">the string to log</param>
public static void d(string s)
{
if (!LogDebug) return;
FormMain.Instance.ToLog(ApktoolEventType.None, s);
}
/// <summary>
/// log message with level INFO
/// </summary>
/// <param name="s">the string to log</param>
public static void i(string s)
{
FormMain.Instance.ToLog(ApktoolEventType.Infomation, s);
}
/// <summary>
/// log message with level WARNING
/// </summary>
/// <param name="s">the string to log</param>
public static void w(string s)
{
FormMain.Instance.ToLog(ApktoolEventType.Warning, s);
}
/// <summary>
/// log message with level ERROR
/// </summary>
/// <param name="s">the string to log</param>
public static void e(string s)
{
FormMain.Instance.ToLog(ApktoolEventType.Error, s);
}
#endregion
/// <summary>
/// start a new async log session
/// </summary>
/// <returns></returns>
public static AsyncLogSession StartAsync()
{
return new AsyncLogSession();
}
/// <summary>
/// writes a direct log message
/// </summary>
/// <param name="s">the string to log</param>
/// <param name="color">color to log in, null is default</param>
static void WriteLogDirect(string s, ConsoleColor? color = null)
{
//set color
ConsoleColor iColor = Console.ForegroundColor;
if (color.HasValue)
{
Console.ForegroundColor = color.Value;
}
//write log
Console.WriteLine(s);
//restore color
if (color.HasValue)
{
Console.ForegroundColor = iColor;
}
}
/// <summary>
/// async log sesssion
/// </summary>
public class AsyncLogSession : IDisposable
{
/// <summary>
/// lock object to ensure only one object commits at a time
/// </summary>
static readonly object _CommitLock = new object();
/// <summary>
/// Tag to include when logging
/// </summary>
Stack<string> tags = new Stack<string>();
/// <summary>
/// contains all pending log entries
/// </summary>
Queue<string> pending = new Queue<string>();
#region log functions
/// <summary>
/// log message with level VERY VERBOSE (may be disabled)
/// </summary>
/// <param name="s">the string to log</param>
public void vv(string s)
{
if (!LogVeryVerbose) return;
EnqueueMessage($"[VV]{s}");
}
/// <summary>
/// log message with level VERBOSE (may be disabled)
/// </summary>
/// <param name="s">the string to log</param>
public void v(string s)
{
if (!LogVerbose) return;
EnqueueMessage($"[V]{s}");
}
/// <summary>
/// log message with level DEBUG (may be disabled)
/// </summary>
/// <param name="s">the string to log</param>
public void d(string s)
{
if (!LogDebug) return;
EnqueueMessage($"[D]{s}");
}
/// <summary>
/// log message with level INFO
/// </summary>
/// <param name="s">the string to log</param>
public void i(string s)
{
EnqueueMessage($"[I]{s}");
}
/// <summary>
/// log message with level WARNING
/// </summary>
/// <param name="s">the string to log</param>
public void w(string s)
{
EnqueueMessage($"[W]{s}");
}
/// <summary>
/// log message with level ERROR
/// </summary>
/// <param name="s">the string to log</param>
public void e(string s)
{
EnqueueMessage($"[E]{s}");
}
#endregion
/// <summary>
/// enqueue a message in the message queue
/// </summary>
/// <param name="s">the message to enqueue</param>
void EnqueueMessage(string s)
{
pending.Enqueue($"{GetTag()}:{s}");
}
/// <summary>
/// push a tag onto the tags stack
/// </summary>
/// <param name="t">the tag to push</param>
public void PushTag(string t)
{
tags.Push(t);
}
/// <summary>
/// pop the last tag of the tags stack
/// </summary>
public void PopTag()
{
// tags.TryPop(out _);
}
/// <summary>
/// get the current tag
/// </summary>
/// <returns>current tag, or string.Empty if no tag</returns>
public string GetTag()
{
string tag;
// if (!tags.TryPeek(out tag))
tag = string.Empty;
return tag;
}
/// <summary>
/// commit all pending log entries
/// </summary>
public void Commit()
{
lock (_CommitLock)
{
while (pending.Count > 0)
{
WriteLogDirect(pending.Dequeue());
}
}
}
/// <summary>
/// same as calling .Commit(). used for using() syntax
/// </summary>
public void Dispose()
{
Commit();
}
}
}
}
+160 -66
View File
@@ -1,10 +1,14 @@
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;
using System.Windows.Documents;
namespace APKToolGUI.Utils
{
@@ -64,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)
{
@@ -83,34 +100,34 @@ namespace APKToolGUI.Utils
new string[] { "\r\n", "\r", "\n" },
StringSplitOptions.None);
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();
@@ -124,18 +141,33 @@ namespace APKToolGUI.Utils
var densities = Regex.Matches(line.Split(':')[1], @"(?<= \')(.*?)(?=\')").Cast<Match>().Select(m => m.Value).ToList();
Densities = string.Join(", ", densities);
break;
case "alt-native-code":
nativecode2 = Regex.Matches(line.Split(':')[1], @"(?<= \')(.*?)(?=\')").Cast<Match>().Select(m => m.Value).ToList();
break;
case "native-code":
var nativecode = Regex.Matches(line.Split(':')[1], @"(?<= \')(.*?)(?=\')").Cast<Match>().Select(m => m.Value).ToList();
NativeCode = string.Join(", ", nativecode);
nativecode = Regex.Matches(line.Split(':')[1], @"(?<= \')(.*?)(?=\')").Cast<Match>().Select(m => m.Value).ToList();
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;
}
@@ -163,103 +195,165 @@ 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/
public string SdkToAndroidVer(string sdk)
{
switch (sdk)
{
case "36":
return sdk + ": Android 16";
case "35":
return sdk + ": Android 15";
case "34":
return sdk + ": Android 14";
case "33":
return "31: Android 13";
return sdk + ": Android 13";
case "32":
return "31: Android 12.0L";
return sdk + ": Android 12.0L";
case "31":
return "31: Android 12";
return sdk + ": Android 12";
case "30":
return "30: Android 11";
return sdk + ": Android 11";
case "29":
return "29: Android 10";
return sdk + ": Android 10";
case "28":
return "28: Android 9 (Pie)";
return sdk + ": Android 9 (Pie)";
case "27":
return "27: Android 8.1 (Oreo MR1)";
return sdk + ": Android 8.1 (Oreo)";
case "26":
return "26: Android 8.0 (Oreo)";
return sdk + ": Android 8.0 (Oreo)";
case "25":
return "25: Android 7.1 (Nougat MR1)";
return sdk + ": Android 7.1 (Nougat)";
case "24":
return "24: Android 7.0 (Nougat)";
return sdk + ": Android 7.0 (Nougat)";
case "23":
return "23: Android 6 (Marshmallow)";
return sdk + ": Android 6 (Marshmallow)";
case "22":
return "22: Android 5.1 (Lollipop MR1)";
return sdk + ": Android 5.1 (Lollipop)";
case "21":
return "21: Android 5.0 (Lollipop)";
return sdk + ": Android 5.0 (Lollipop)";
case "20":
return "20: Android 4.4W (KitKat Watch)";
return sdk + ": Android 4.4W (KitKat Watch)";
case "19":
return "19: Android 4.4 (KitKat)";
return sdk + ": Android 4.4 (KitKat)";
case "18":
return "18: Android 4.3 (Jelly Bean MR2)";
return sdk + ": Android 4.3 (Jelly Bean)";
case "17":
return "17: Android 4.2 (Jelly Bean MR1)";
return sdk + ": Android 4.2 (Jelly Bean)";
case "16":
return "16: Android 4.1 (Jelly Bean)";
return sdk + ": Android 4.1 (Jelly Bean)";
case "15":
return "15: Android 4.0.3 (Ice Cream Sandwich MR1)";
return sdk + ": Android 4.0.3 (Ice Cream Sandwich)";
case "14":
return "14: Android 4.0 (Ice Cream Sandwich)";
return sdk + ": Android 4.0 (Ice Cream Sandwich)";
case "13":
return "13: Android 3.2 (Honeycomb MR2)";
return sdk + ": Android 3.2 (Honeycomb)";
case "12":
return "12: Android 3.1 (Honeycomb MR1)";
return sdk + ": Android 3.1 (Honeycomb)";
case "11":
return "11: Android 3.0 (Honeycomb)";
return sdk + ": Android 3.0 (Honeycomb)";
case "10":
return "10: Android 2.3.3 Gingerbread MR1";
return sdk + ": Android 2.3.3 Gingerbread";
case "9":
return "9: Android 2.3 (Gingerbread)";
return sdk + ": Android 2.3 (Gingerbread)";
case "8":
return "8: Android 2.2 (Froyo)";
return sdk + ": Android 2.2 (Froyo)";
case "7":
return "7: Android 2.1 (Eclair MR1)";
return sdk + ": Android 2.1 (Eclair)";
case "6":
return "6: Android 2.0.1 (Eclair 0.1)";
return sdk + ": Android 2.0.1 (Eclair)";
case "5":
return "5: Android 2.0 (Eclair)";
return sdk + ": Android 2.0 (Eclair)";
case "4":
return "4: Android 1.6 (Donut)";
return sdk + ": Android 1.6 (Donut)";
case "3":
return "3: Android 1.5 (Cupcake)";
return sdk + ": Android 1.5 (Cupcake)";
case "2":
return "2: Android 1.1 (Base 1.1)";
return sdk + ": Android 1.1 (Base 1.1)";
case "1":
return "1: Android 1.0 (Base)";
return sdk + ": Android 1.0 (Base)";
default:
return sdk;
}
+103 -26
View File
@@ -1,6 +1,7 @@
using APKToolGUI.Properties;
using APKToolGUI.Utils;
using Java;
using Microsoft.Build.Framework.XamlTypes;
using System;
using System.Diagnostics;
using System.IO;
@@ -9,16 +10,18 @@ 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)
public const string Serial = " -s"; // use device with given serial (overrides $ANDROID_SERIAL)
public const string Vendor = " -i"; //Vendor
public const string ApkPath = " -r";
public const string Abi = " --abi armeabi-v7a";
public const string Abi = " --abi"; //override platform's default ABI
}
public event DataReceivedEventHandler OutputDataReceived
@@ -42,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;
}
@@ -63,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)
@@ -78,12 +129,31 @@ namespace APKToolGUI
Regex regex = new Regex(@"^(\S+)\s+.*model:(\w+).*");
Match mdevice = regex.Match(device);
string setVendor = null;
string setVendor = null, abi = null;
if (Settings.Default.Adb_SetVendor)
setVendor = $"{Keys.Vendor} com.android.vending {Keys.ApkPath}";
if (Settings.Default.Adb_SetOverrideAbi)
{
switch (Settings.Default.Adb_OverrideAbi)
{
case 0:
abi = Keys.Abi + " arm64-v8a";
break;
case 1:
abi = Keys.Abi + " armeabi-v7a";
break;
case 2:
abi = Keys.Abi + " x86";
break;
case 3:
abi = Keys.Abi + " x86_64";
break;
}
}
string args = String.Format($"{Keys.Serial} {mdevice.Groups[1].Value} install {setVendor} \"{inputApk}\"");
string args = String.Format($"{Keys.Serial} {mdevice.Groups[1].Value} install {setVendor} {abi} \"{inputApk}\"");
Log.d("ADB: " + adbFileName + " " + args);
Debug.WriteLine("Adb: " + args);
processAdb.EnableRaisingEvents = false;
@@ -98,26 +168,33 @@ namespace APKToolGUI
public string GetDevices()
{
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;
Log.d("ADB: " + adbFileName + " " + Keys.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();
}
}
}
}
+116 -5
View File
@@ -4,16 +4,21 @@ using System.Diagnostics;
using APKToolGUI.Properties;
using System.IO;
using APKToolGUI.Utils;
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;
public ApkEditor(string javaPath, string jarPath)
: base(javaPath, jarPath)
{
this._jarPath = jarPath;
base.Exited += ApkEditor_Exited;
OutputDataReceived += ApkEditor_OutputDataReceived;
ErrorDataReceived += ApkEditor_ErrorDataReceived; //Output makes process way slower
@@ -69,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)
@@ -86,6 +105,8 @@ namespace APKToolGUI
string args = String.Format("m {0} {1} -f", inputFile, keyOutputDir);
Log.d("ApkEditor CMD: " + _jarPath + " " + args);
Start(args);
BeginOutputReadLine();
@@ -97,6 +118,96 @@ namespace APKToolGUI
CancelErrorRead();
return ExitCode;
}
public int Decompile(string input, string output)
{
string inputFile = String.Format("-i \"{0}\"", input);
string keyOutputDir = String.Format("-o \"{0}\"", output);
string args = String.Format("d {0} {1} -f", inputFile, keyOutputDir);
Log.d("ApkEditor CMD: " + _jarPath + " " + args);
Start(args);
BeginOutputReadLine();
BeginErrorReadLine();
WaitForExit();
CancelOutputRead();
CancelErrorRead();
return ExitCode;
}
public int Build(string input, string output)
{
string inputFile = String.Format("-i \"{0}\"", input);
string keyOutputDir = String.Format("-o \"{0}\"", output);
string args = String.Format("b {0} {1} -f", inputFile, keyOutputDir);
Log.d("ApkEditor CMD: " + _jarPath + " " + args);
Start(args);
BeginOutputReadLine();
BeginErrorReadLine();
WaitForExit();
CancelOutputRead();
CancelErrorRead();
return ExitCode;
}
public string GetVersion()
{
using (JarProcess jar = new JarProcess(JavaPath, JarPath))
{
jar.EnableRaisingEvents = false;
jar.Start("-version");
//APKEditor always print as errors as usual :)
string version = jar.StandardOutput.ReadToEnd();
version += jar.StandardError.ReadToEnd();
jar.WaitForExit(3000);
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
+80 -35
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;
@@ -12,57 +14,100 @@ namespace APKToolGUI.ApkTool
{
public class ApkFixer
{
public static bool FixAndroidManifest(string path)
public static bool FixAndroidManifest(string decompilePath)
{
string manifestPath = Path.Combine(path, "AndroidManifest.xml");
if (File.Exists(manifestPath))
string manifestPath = Path.Combine(decompilePath, "AndroidManifest.xml");
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("<queries>\r\n <intent>\r\n <action android:name=\"android.intent.action.MAIN\"/>\r\n </intent>\r\n </queries>", "");
maniFestText = maniFestText.Replace("<intent> <action android:name=\"android.intent.action.MAIN\"/> </intent>", "");
maniFestText = maniFestText.Replace("STAMP_TYPE_DISTRIBUTION_APK", "STAMP_TYPE_STANDALONE_APK");
File.WriteAllText(Path.Combine(path, "AndroidManifest.xml"), 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");
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))
return false;
try
{
string yml = File.ReadAllText(ymlPath);
yml = yml.Replace("sparseResources: true", "sparseResources: false");
File.WriteAllText(ymlPath, yml);
return true;
}
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;
}
public static bool ChangeSdkTo29(string path)
{
string ymlPath = Path.Combine(path, "apktool.yml");
if (File.Exists(ymlPath))
catch (IOException ex)
{
string ymll = File.ReadAllText(ymlPath);
int sdk = 30;
int.TryParse(StringExt.Regex(@"(?<= targetSdkVersion: \')(.*?)(?=\')", ymll), out sdk);
if (sdk >= 30)
{
ymll = ymll.Replace("targetSdkVersion: '" + sdk + "'", "targetSdkVersion: '29'");
File.WriteAllText(ymlPath, ymll);
return true;
}
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;
}
return false;
}
}
}
+88 -9
View File
@@ -11,8 +11,10 @@ using Java;
namespace APKToolGUI
{
public class Apktool : JarProcess
public class Apktool : JarProcess, IDisposable
{
private bool disposed = false;
enum ApktoolActionType
{
Decompile,
@@ -34,6 +36,7 @@ namespace APKToolGUI
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.
public const string Jobs = " -j"; // Sets the number of threads to use.
}
static class BuildKeys
@@ -46,6 +49,8 @@ namespace APKToolGUI
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
public const string Jobs = " -j"; // Sets the number of threads to use.
}
static class InstallFrameworkKeys
@@ -86,8 +91,10 @@ namespace APKToolGUI
}
}
string _jarPath;
public Apktool(string javaPath, string jarPath) : base(javaPath, jarPath)
{
_jarPath = jarPath;
Exited += Apktool_Exited;
OutputDataReceived += Apktool_OutputDataReceived;
ErrorDataReceived += Apktool_ErrorDataReceived;
@@ -135,10 +142,14 @@ 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)
apiLevel = 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}\"");
Log.d("Apktool CMD: " + _jarPath + " " + args);
Start(args);
BeginOutputReadLine();
BeginErrorReadLine();
@@ -152,22 +163,34 @@ 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 (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(ex);
Debug.WriteLine($"[Apktool] Failed to cancel process: {ex.Message}");
}
}
public int Build(string inputFolder, string outputFile)
{
string keyForceAll = null, keyAapt = null, keyCopyOriginal = null, noCrunch = null, keyFramePath = null, keyOutputAppPath = null, apiLevel = null, useAapt2 = null;
string keyForceAll = null, keyAapt = null, keyCopyOriginal = null, noCrunch = null, keyFramePath = null, keyOutputAppPath = null, apiLevel = null, useAapt2 = null, netSecConf = null;
if (Settings.Default.Build_ForceAll)
keyForceAll = BuildKeys.ForceAll;
if (Settings.Default.Build_CopyOriginal)
@@ -179,14 +202,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)
apiLevel = 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}{keyOutputAppPath} \"{inputFolder}\"");
string args = String.Format($"b{keyForceAll}{keyAapt}{keyCopyOriginal}{noCrunch}{keyFramePath}{apiLevel}{useAapt2}{netSecConf}{keyOutputAppPath} \"{inputFolder}\"");
Log.d("Apktool CMD: " + _jarPath + " " + args);
Start(args);
BeginOutputReadLine();
@@ -207,6 +236,8 @@ namespace APKToolGUI
string args = String.Format($"if{keyFrameDir}{keyTag} \"{inputPath}\"");
Log.d("Apktool CMD: " + _jarPath + " " + args);
Start(args);
BeginOutputReadLine();
BeginErrorReadLine();
@@ -224,6 +255,8 @@ namespace APKToolGUI
string args = String.Format($"empty-framework-dir {EmptyFrameworkKeys.ForceDelete} {keyFramePath}");
Log.d("Apktool CMD: " + _jarPath + " " + args);
Start(args);
BeginOutputReadLine();
BeginErrorReadLine();
@@ -232,6 +265,18 @@ namespace APKToolGUI
}
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))
{
@@ -242,6 +287,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($"[Apktool] Error during disposal: {ex.Message}");
}
finally
{
base.Dispose();
}
}
disposed = true;
}
}
~Apktool()
{
Dispose(false);
}
}
public delegate void ApktoolDataReceivedEventHandler(Object sender, ApktoolDataReceivedEventArgs e);
+60 -5
View File
@@ -7,13 +7,17 @@ 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;
public Baksmali(string javaPath, string jarPath)
: base(javaPath, jarPath)
{
_jarPath = jarPath;
base.Exited += Baksmali_Exited;
OutputDataReceived += Baksmali_OutputDataReceived;
ErrorDataReceived += Baksmali_ErrorDataReceived;
@@ -70,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)
@@ -86,6 +104,9 @@ namespace APKToolGUI
string keyOutputDir = String.Format("-o \"{0}\"", output);
string args = String.Format("d {0} {1}", inputFile, keyOutputDir);
Log.v("Baksmali CMD: " + _jarPath + " " + args);
Start(args);
BeginOutputReadLine();
BeginErrorReadLine();
@@ -94,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
+74 -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;
@@ -40,9 +43,11 @@ namespace APKToolGUI
}
}
string _jarPath;
public Signapk(string javaPath, string jarPath)
: base(javaPath, jarPath)
{
_jarPath = jarPath;
Exited += Signapk_Exited;
OutputDataReceived += Signapk_OutputDataReceived;
ErrorDataReceived += Signapk_ErrorDataReceived;
@@ -72,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)
@@ -125,6 +144,9 @@ namespace APKToolGUI
v4 = "--v4-signing-enabled false";
string args = String.Format("sign {0} {1} {2} {3} {4} {5} {6} \"{7}\"", key, alias, v1, v2, v3, v4, outputDir, lastSourceApk);
Log.v("Signapk CMD: " + _jarPath + " " + args);
Start(args);
BeginOutputReadLine();
BeginErrorReadLine();
@@ -133,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);
+60 -5
View File
@@ -7,13 +7,17 @@ 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;
public Smali(string javaPath, string jarPath)
: base(javaPath, jarPath)
{
_jarPath = jarPath;
base.Exited += Smali_Exited;
}
@@ -67,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)
@@ -83,6 +101,9 @@ namespace APKToolGUI
string keyOutputDir = String.Format("-o \"{0}\"", output);
string args = String.Format("a {0} {1}", inputFile, keyOutputDir);
Log.v("Smali CMD: " + _jarPath + " " + args);
Start(args);
BeginOutputReadLine();
BeginErrorReadLine();
@@ -91,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
+119 -15
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";
@@ -30,15 +32,17 @@ namespace APKToolGUI
public event EventHandler Exited;
public int ExitCode { get { return processZipalign.ExitCode; } }
string _zipalignFileName;
public Zipalign(string zipalignFileName)
{
_zipalignFileName = zipalignFileName;
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;
}
@@ -56,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)
@@ -92,7 +144,7 @@ namespace APKToolGUI
string args = String.Format("{0}{1}{2}{3} {4} \"{5}\" {6}", keyCheckOnly, keyOverwriteOutputFile, keyVerbose, keyRecompress, Settings.Default.Zipalign_AlignmentInBytes, input, keyOutputFile);
Debug.WriteLine("Zipalign: " + args);
Log.v("Zipalign: " + _zipalignFileName + " " + args);
processZipalign.StartInfo.Arguments = args;
processZipalign.Start();
@@ -100,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;
}
+95 -62
View File
@@ -13,40 +13,47 @@ namespace APKToolGUI.Controls
{
internal class DarkTheme
{
static Color bgColor = Color.FromArgb(32, 32, 32);
static Color txtBoxColor = Color.FromArgb(64, 64, 64);
static Color btnColor = Color.FromArgb(51, 51, 51);
static Color btnBorderColor = Color.FromArgb(155, 155, 155);
static Color tabBorderColor = Color.FromArgb(45, 45, 45);
static Color menuItemHoverColor = Color.FromArgb(51, 51, 51);
static Color menuItemSelectedColor = Color.FromArgb(41, 41, 41);
public static Color bgColor = Color.FromArgb(32, 32, 32);
public static Color txtBoxColor = Color.FromArgb(64, 64, 64);
public static Color btnColor = Color.FromArgb(51, 51, 51);
public static Color btnBorderColor = Color.FromArgb(155, 155, 155);
public static Color tabBorderColor = Color.FromArgb(45, 45, 45);
public static Color menuItemHoverColor = Color.FromArgb(51, 51, 51);
public static Color menuItemSelectedColor = Color.FromArgb(41, 41, 41);
public static Color separatorColor = Color.FromArgb(62, 62, 62);
public static void SetTheme(Control.ControlCollection container, Form form)
{
form.BackColor = bgColor;
form.ForeColor = Color.White;
foreach (Control component in container)
{
Debug.WriteLine(component.GetType());
component.BackColor = bgColor;
component.ForeColor = Color.White;
SetThemeTabControl(component);
SetThemeTabControl(component, container);
}
}
public static void SetThemeTabControl(Control component)
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;
foreach (Control tabControl in component.Controls)
{
SetThemeTabControl(tabControl);
SetThemeTabControl(tabControl, container);
Debug.WriteLine("tabPage " + tabControl.GetType());
//Debug.WriteLine("tabPage " + tabControl.GetType());
((TabControl)component).DrawItem += (sender, e) =>
{
@@ -90,7 +97,7 @@ namespace APKToolGUI.Controls
foreach (Control tabPage in tabControl.Controls)
{
SetThemeTabControl(tabPage);
SetThemeTabControl(tabPage, container);
}
}
}
@@ -98,7 +105,7 @@ namespace APKToolGUI.Controls
{
foreach (Control control in component.Controls)
{
SetThemeTabControl(control);
SetThemeTabControl(control, container);
}
component.BackColor = bgColor;
component.ForeColor = Color.White;
@@ -111,11 +118,17 @@ namespace APKToolGUI.Controls
{
if (item is ToolStripMenuItem toolStripMenuItem)
{
foreach (ToolStripMenuItem dditem in toolStripMenuItem.DropDownItems)
foreach (ToolStripMenuItem dditem in toolStripMenuItem.DropDownItems.OfType<ToolStripMenuItem>())
{
dditem.BackColor = bgColor;
dditem.ForeColor = Color.White;
Debug.WriteLine(dditem.Text);
//Debug.WriteLine(dditem.Text);
}
foreach (ToolStripSeparator toolStripSeparator in toolStripMenuItem.DropDownItems.OfType<ToolStripSeparator>())
{
toolStripSeparator.BackColor = Color.Blue;
toolStripSeparator.ForeColor = Color.Blue;
Debug.WriteLine(toolStripSeparator.Name);
}
toolStripMenuItem.BackColor = bgColor;
@@ -127,7 +140,7 @@ namespace APKToolGUI.Controls
{
foreach (Control control in component.Controls)
{
SetThemeTabControl(control);
SetThemeTabControl(control, container);
}
component.BackColor = bgColor;
component.ForeColor = Color.White;
@@ -148,17 +161,14 @@ namespace APKToolGUI.Controls
}
else if (component is TextBox)
{
foreach (Control panel in component.Controls)
{
SetThemeTabControl(panel);
}
component.BackColor = txtBoxColor;
component.ForeColor = Color.White;
((TextBox)component).BorderStyle = BorderStyle.FixedSingle;
}
else if (component is RichTextBox)
{
((RichTextBox)component).BorderStyle = BorderStyle.None;
if (component.Name == "logTxtBox")
((RichTextBox)component).BorderStyle = BorderStyle.None;
component.BackColor = bgColor;
component.ForeColor = Color.White;
}
@@ -171,54 +181,77 @@ namespace APKToolGUI.Controls
public class MenuItemColorTable : ProfessionalColorTable
{
public override Color ImageMarginGradientBegin
{
get { return bgColor; }
}
/// <summary>
/// Gets the starting color of the gradient used when
/// a top-level System.Windows.Forms.ToolStripMenuItem is pressed.
/// </summary>
public override Color MenuItemPressedGradientBegin => menuItemSelectedColor;
public override Color ImageMarginGradientEnd
{
get { return bgColor; }
}
/// <summary>
/// Gets the end color of the gradient used when a top-level
/// System.Windows.Forms.ToolStripMenuItem is pressed.
/// </summary>
public override Color MenuItemPressedGradientEnd => menuItemSelectedColor;
public override Color ToolStripDropDownBackground
{
get { return bgColor; }
}
/// <summary>
/// Gets the border color to use with a
/// System.Windows.Forms.ToolStripMenuItem.
/// </summary>
public override Color MenuItemBorder => menuItemSelectedColor;
public override Color MenuItemSelected
{
get { return menuItemHoverColor; }
}
/// <summary>
/// Gets the starting color of the gradient used when the
/// System.Windows.Forms.ToolStripMenuItem is selected.
/// </summary>
public override Color MenuItemSelectedGradientBegin => menuItemSelectedColor;
public override Color MenuBorder
{
get { return menuItemHoverColor; }
}
/// <summary>
/// Gets the end color of the gradient used when the
/// System.Windows.Forms.ToolStripMenuItem is selected.
/// </summary>
public override Color MenuItemSelectedGradientEnd => menuItemSelectedColor;
public override Color MenuItemBorder
{
get { return menuItemHoverColor; }
}
/// <summary>
/// Gets the border color to use with a
/// System.Windows.Forms.ToolStripMenuItem.
/// </summary>
public override Color MenuItemSelected => menuItemHoverColor;
public override Color MenuItemSelectedGradientBegin
{
get { return menuItemSelectedColor; }
}
/// <summary>
/// Gets the solid background color of the
/// System.Windows.Forms.ToolStripDropDown.
/// </summary>
public override Color ToolStripDropDownBackground => bgColor;
public override Color MenuItemSelectedGradientEnd
{
get { return menuItemSelectedColor; }
}
public override Color MenuItemPressedGradientBegin
{
get { return menuItemSelectedColor; }
}
/// <summary>
/// Gets the starting color of the gradient used in the image
/// margin of a System.Windows.Forms.ToolStripDropDownMenu.
/// </summary>
public override Color ImageMarginGradientBegin => bgColor;
public override Color MenuItemPressedGradientEnd
{
get { return menuItemSelectedColor; }
}
/// <summary>
/// Gets the middle color of the gradient used in the image
/// margin of a System.Windows.Forms.ToolStripDropDownMenu.
/// </summary>
public override Color ImageMarginGradientMiddle => bgColor;
/// <summary>
/// Gets the end color of the gradient used in the image
/// margin of a System.Windows.Forms.ToolStripDropDownMenu.
/// </summary>
public override Color ImageMarginGradientEnd => bgColor;
/// <summary>
/// Gets the color to use to for shadow effects on
/// the System.Windows.Forms.ToolStripSeparator.
/// </summary>
public override Color SeparatorDark => separatorColor;
/// <summary>
/// Gets the color that is the border color to use
/// on a System.Windows.Forms.MenuStrip.
/// </summary>
public override Color MenuBorder => menuItemHoverColor;
}
}
}
+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">
+144
View File
@@ -0,0 +1,144 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Text" xml:space="preserve">
<value>Über</value>
</data>
<data name="labelCopyright.Text" xml:space="preserve">
<value>Copyright</value>
</data>
<data name="labelProductName.Text" xml:space="preserve">
<value>Produktname</value>
</data>
<data name="labelVersion.Text" xml:space="preserve">
<value>Version</value>
</data>
<data name="linkLabel1.Text" xml:space="preserve">
<value>Github Repo</value>
</data>
<data name="okButton.Text" xml:space="preserve">
<value>&amp;ОК</value>
</data>
<data name="textBoxDescription.Text" xml:space="preserve">
<value>Beschreibung</value>
</data>
</root>
+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>
+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>软件名</value>
</data>
<data name="labelVersion.Text" xml:space="preserve">
<value>版本</value>
</data>
<data name="labelCopyright.Text" xml:space="preserve">
<value>版权</value>
</data>
<data name="textBoxDescription.Text" xml:space="preserve">
<value>描述</value>
</data>
<data name="linkLabel1.Text" xml:space="preserve">
<value>Github 仓库</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>关于</value>
</data>
</root>
+295 -123
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+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>
+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>将拆分的 APK 合并为单个 APK:</value>
</data>
<data name="mergeApkBtn.Text" xml:space="preserve">
<value>合并</value>
</data>
<data name="comApkOpenDir.Text" xml:space="preserve">
<value>编译的 APK 目录</value>
</data>
<data name="decOutOpenDirBtn.Text" xml:space="preserve">
<value>反编译输出目录</value>
</data>
<data name="signApkOpenDirBtn.Text" xml:space="preserve">
<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="label31.Text" xml:space="preserve">
<value>启动 activity:</value>
</data>
<data name="label30.Text" xml:space="preserve">
<value>架构:</value>
</data>
<data name="label17.Text" xml:space="preserve">
<value>文件:</value>
</data>
<data name="label18.Text" xml:space="preserve">
<value>本地化:</value>
</data>
<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>
<data name="label7.Text" xml:space="preserve">
<value>应用名:</value>
</data>
<data name="label9.Text" xml:space="preserve">
<value>应用包名:</value>
</data>
<data name="label8.Text" xml:space="preserve">
<value>版本:</value>
</data>
<data name="label11.Text" xml:space="preserve">
<value>最小兼容 SDK:</value>
</data>
<data name="label10.Text" xml:space="preserve">
<value>代号:</value>
</data>
<data name="label13.Text" xml:space="preserve">
<value>屏幕尺寸</value>
</data>
<data name="label12.Text" xml:space="preserve">
<value>目标 SDK:</value>
</data>
<data name="basicInfoTabPage.Text" xml:space="preserve">
<value>基本信息</value>
</data>
<data name="tabPage3.Text" xml:space="preserve">
<value>完整信息</value>
</data>
<data name="tabPageApkInfo.Text" xml:space="preserve">
<value>APK 信息</value>
</data>
<data name="checkBox7.Text" xml:space="preserve">
<value>在选择 APK 进行反编译时,不要解析 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_NoSrc.Text" xml:space="preserve">
<value>不反编译源码</value>
</data>
<data name="checkBox_DECODE_Force.Text" xml:space="preserve">
<value>强制删除目标目录</value>
</data>
<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>
</data>
<data name="useAapt2ChkBox.Text" xml:space="preserve">
<value>使用 aapt2(升级 apktool 使用实验性 aapt2 二进制)</value>
</data>
<data name="buildSetApiLvlChkBox.Text" xml:space="preserve">
<value>设置要生成的文件的 API 级别,例如 ICS 的 14。</value>
</data>
<data name="createUnsignApkChkBox.Text" xml:space="preserve">
<value>构建后创建具有原始签名的未签名 APK</value>
</data>
<data name="createUnsignApkChkBox.ToolTip" xml:space="preserve">
<value>只兼容核心补丁模块,需要 root 设备。</value>
</data>
<data name="signAfterBuildChkBox.Text" xml:space="preserve">
<value>在 构建/zip对齐 后进行签名</value>
</data>
<data name="zipalignAfterBuildChkBox.Text" xml:space="preserve">
<value>在构建后进行 zip对齐</value>
</data>
<data name="checkBox_BUILD_NoCrunch.Text" xml:space="preserve">
<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>
</data>
<data name="checkBox_BUILD_OutputAppPath.ToolTip" xml:space="preserve">
<value>编译后的输出目录也将用于 Zipalign 和签名</value>
</data>
<data name="checkBox_BUILD_CopyOriginal.Text" xml:space="preserve">
<value>复制原来的 AndroidManifest.xml 和 META-INF 文件夹</value>
</data>
<data name="checkBox_BUILD_UseAapt.Text" xml:space="preserve">
<value>使用的 aapt.exe 文件位置:</value>
</data>
<data name="checkBox_BUILD_UseFramework.Text" xml:space="preserve">
<value>使用的 framework 文件位置:</value>
</data>
<data name="groupBox_BUILD_Options.Text" xml:space="preserve">
<value>选项</value>
</data>
<data name="tabPageBuild.Text" xml:space="preserve">
<value>构建</value>
</data>
<data name="checkBox2.Text" xml:space="preserve">
<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>
</data>
<data name="schemev4ComboBox.Items" xml:space="preserve">
<value>默认</value>
</data>
<data name="schemev4ComboBox.Items1" xml:space="preserve">
<value>开启</value>
</data>
<data name="schemev4ComboBox.Items2" xml:space="preserve">
<value>关闭</value>
</data>
<data name="label27.Text" xml:space="preserve">
<value>签名方案 v4:</value>
</data>
<data name="schemev3ComboBox.Items" xml:space="preserve">
<value>默认</value>
</data>
<data name="schemev3ComboBox.Items1" xml:space="preserve">
<value>开启</value>
</data>
<data name="schemev3ComboBox.Items2" xml:space="preserve">
<value>关闭</value>
</data>
<data name="label26.Text" xml:space="preserve">
<value>签名方案 v3:</value>
</data>
<data name="schemev2ComboBox.Items" xml:space="preserve">
<value>默认</value>
</data>
<data name="schemev2ComboBox.Items1" xml:space="preserve">
<value>启用</value>
</data>
<data name="schemev2ComboBox.Items2" xml:space="preserve">
<value>关闭</value>
</data>
<data name="label25.Text" xml:space="preserve">
<value>签名方案 v2:</value>
</data>
<data name="schemev1ComboBox.Items" xml:space="preserve">
<value>默认</value>
</data>
<data name="schemev1ComboBox.Items1" xml:space="preserve">
<value>开启</value>
</data>
<data name="schemev1ComboBox.Items2" xml:space="preserve">
<value>关闭</value>
</data>
<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>
</data>
<data name="useKeyStoreChkBox.Text" xml:space="preserve">
<value>使用 keystore</value>
</data>
<data name="useSigningOutputDir.Text" xml:space="preserve">
<value>APK 输出目录:</value>
</data>
<data name="label_SIGN_PrivateKey.Text" xml:space="preserve">
<value>私钥:</value>
</data>
<data name="label_SIGN_PublicKey.Text" xml:space="preserve">
<value>公钥:</value>
</data>
<data name="groupBox_SIGN_Options.Text" xml:space="preserve">
<value>选项</value>
</data>
<data name="tabPageSign.Text" xml:space="preserve">
<value>签名</value>
</data>
<data name="zipalignOutputDirChkBox.Text" xml:space="preserve">
<value>APK 输出目录:</value>
</data>
<data name="signAfterZipalignChkBox.Text" xml:space="preserve">
<value>zip对齐后进行签名</value>
</data>
<data name="checkBox_ZIPALIGN_Recompress.Text" xml:space="preserve">
<value>使用 Zopfli 重新压缩</value>
</data>
<data name="label_ZIPALIGN_AlignmentBytes.Text" xml:space="preserve">
<value>以 bytes 为单位的对齐,例如: '4' 提供 32-bit 对齐</value>
</data>
<data name="checkBox_ZIPALIGN_CheckAlignment.Text" xml:space="preserve">
<value>只检查对齐(不修改文件)</value>
</data>
<data name="checkBox_ZIPALIGN_VerboseOutput.Text" xml:space="preserve">
<value>详细输出</value>
</data>
<data name="checkBox_ZIPALIGN_OverwriteOutputFile.Text" xml:space="preserve">
<value>覆盖现有的输出文件</value>
</data>
<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>
</data>
<data name="clearFwBtn.Text" xml:space="preserve">
<value>清空 framework 缓存</value>
</data>
<data name="clearFwBeforeDecodeChkBox.Text" xml:space="preserve">
<value>反编译前清空 Framework 缓存</value>
</data>
<data name="groupBox1.Text" xml:space="preserve">
<value>选项</value>
</data>
<data name="checkBox_IF_Tag.Text" xml:space="preserve">
<value>标签 frameworks 使用:</value>
</data>
<data name="checkBox_IF_FramePath.Text" xml:space="preserve">
<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>
</data>
<data name="smaliUseOutputChkBox.Text" xml:space="preserve">
<value>Dex 输出目录:</value>
</data>
<data name="comSmaliBtn.Text" xml:space="preserve">
<value>编译</value>
</data>
<data name="label28.Text" xml:space="preserve">
<value>Dex 反编译:</value>
</data>
<data name="baksmaliUseOutputChkBox.Text" xml:space="preserve">
<value>输出目录:</value>
</data>
<data name="decSmaliBtn.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="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>
+147 -114
View File
@@ -32,31 +32,34 @@
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.customApkToolTxtBox = new System.Windows.Forms.TextBox();
this.themeComboBox = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
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.label1 = new System.Windows.Forms.Label();
this.themeComboBox = new System.Windows.Forms.ComboBox();
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();
@@ -73,16 +76,19 @@
//
// tabPage1
//
resources.ApplyResources(this.tabPage1, "tabPage1");
this.tabPage1.Controls.Add(this.groupBox1);
this.tabPage1.Controls.Add(this.groupBoxLanguage);
this.tabPage1.Controls.Add(this.groupBoxContextMenu);
resources.ApplyResources(this.tabPage1, "tabPage1");
this.tabPage1.Name = "tabPage1";
this.tabPage1.UseVisualStyleBackColor = true;
//
// groupBox1
//
resources.ApplyResources(this.groupBox1, "groupBox1");
this.groupBox1.Controls.Add(this.textBox1);
this.groupBox1.Controls.Add(this.checkBox7);
this.groupBox1.Controls.Add(this.checkBox6);
this.groupBox1.Controls.Add(this.themeComboBox);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.customApkToolTxtBox);
@@ -102,13 +108,20 @@
this.groupBox1.Name = "groupBox1";
this.groupBox1.TabStop = false;
//
// customApkToolTxtBox
// themeComboBox
//
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;
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
//
resources.ApplyResources(this.label1, "label1");
this.label1.Name = "label1";
//
// customApktoolBtn
//
@@ -117,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");
@@ -170,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");
@@ -185,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");
@@ -220,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";
//
@@ -235,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");
@@ -276,20 +207,119 @@
this.buttonОК.UseVisualStyleBackColor = true;
this.buttonОК.Click += new System.EventHandler(this.buttonОК_Click);
//
// label1
// textBox1
//
resources.ApplyResources(this.label1, "label1");
this.label1.Name = "label1";
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;
//
// themeComboBox
// checkBox7
//
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";
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
//
@@ -344,5 +374,8 @@
private System.Windows.Forms.CheckBox useCustomApktoolChk;
private System.Windows.Forms.ComboBox themeComboBox;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.CheckBox checkBox6;
private System.Windows.Forms.CheckBox checkBox7;
private System.Windows.Forms.TextBox textBox1;
}
}
+43 -21
View File
@@ -12,6 +12,8 @@ using System.Windows.Shapes;
using static APKToolGUI.UpdateChecker;
using APKToolGUI.Properties;
using APKToolGUI.Controls;
using System.Diagnostics;
using System.Linq;
namespace APKToolGUI
{
@@ -81,20 +83,24 @@ namespace APKToolGUI
private void LoadSettings()
{
String sysLang = Language.SystemLanguage;
string sysLang = Language.SystemLanguage;
comboBox1.Items.Add(sysLang);
comboBox1.Items.Add(CultureInfo.GetCultureInfo("en"));
CultureInfo[] cultures = CultureInfo.GetCultures(CultureTypes.AllCultures);
String _culture = Properties.Settings.Default.Culture;
string _culture = Settings.Default.Culture;
foreach (CultureInfo culture in cultures)
{
foreach (string resourceName in Assembly.GetExecutingAssembly().GetManifestResourceNames())
{
string[] cultNamw = resourceName.Split('.');
if (cultNamw[1] == culture.Name)
//Debug.WriteLine(resourceName);
string[] cultName = resourceName.Split('.');
if (cultName[1] == culture.Name)
{
string lang = String.Format("{0} [{1}]", culture.DisplayName, culture.Name);
//Debug.WriteLine("Lang: " + cultName[1] + " " + culture.Name);
string lang = string.Format("{0} [{1}]", culture.DisplayName, culture.Name);
comboBox1.Items.Add(lang);
if (culture.Name == _culture)
@@ -111,11 +117,15 @@ namespace APKToolGUI
currentLanguage = sysLang;
comboBox1.SelectedItem = sysLang;
}
else if (string.IsNullOrEmpty(_culture))
{
comboBox1.SelectedIndex = 1;
}
else
{
try
{
currentLanguage = Properties.Settings.Default.Culture;
currentLanguage = Settings.Default.Culture;
comboBox1.SelectedItem = _culture;
}
catch { }
@@ -124,21 +134,33 @@ namespace APKToolGUI
private void SaveSettings()
{
if (Language.SystemLanguage.Equals(comboBox1.SelectedItem.ToString()))
Settings.Default.Culture = "Auto";
else
Settings.Default.Culture = StringExt.Regex(@"(?<=\[)(.*?)(?=\])", comboBox1.SelectedItem.ToString());
Settings.Default.Theme = themeComboBox.SelectedIndex;
Settings.Default.Save();
if (!comboBox1.SelectedItem.ToString().Contains(currentLanguage) || themeComboBox.SelectedIndex != currentTheme)
if (MessageBox.Show(Language.RestartApplicationPrompt, Application.ProductName, MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
Application.Restart();
if (currentUseApktoolChk != useCustomApktoolChk.Checked || currentApktoolPath != customApkToolTxtBox.Text)
try
{
FormMain.Instance.SetApktoolPath();
if (Language.SystemLanguage.Equals(comboBox1.SelectedItem.ToString()))
Settings.Default.Culture = "Auto";
else
Settings.Default.Culture = StringExt.RegexExtract(@"(?<=\[)(.*?)(?=\])", comboBox1.SelectedItem.ToString());
Settings.Default.Theme = themeComboBox.SelectedIndex;
Settings.Default.Save();
if (string.IsNullOrEmpty(currentLanguage))
currentLanguage = "en";
Debug.WriteLine("Combobox: " + comboBox1.SelectedItem.ToString() + " Language: " + currentLanguage);
if (!comboBox1.SelectedItem.ToString().Contains(currentLanguage) || themeComboBox.SelectedIndex != currentTheme)
if (MessageBox.Show(Language.RestartApplicationPrompt, Application.ProductName, MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
Application.Restart();
if (currentUseApktoolChk != useCustomApktoolChk.Checked || currentApktoolPath != customApkToolTxtBox.Text)
{
FormMain.Instance.SetApktoolPath();
}
}
catch (Exception ex)
{
Log.e(ex.ToString());
}
}
@@ -184,7 +206,7 @@ namespace APKToolGUI
DirectoryUtils.Delete(Program.TEMP_PATH);
//Create new temp folder
Program.TEMP_PATH = Program.TempDirectory();
Program.TEMP_PATH = Program.RandTempDirectory();
Directory.CreateDirectory(Program.TEMP_PATH);
}
}
+235
View File
@@ -0,0 +1,235 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="checkBox7.Size" type="System.Drawing.Size, System.Drawing">
<value>206, 17</value>
</data>
<data name="checkBox7.Text" xml:space="preserve">
<value>Benutzerdefinierte JVM-Argumente</value>
</data>
<data name="checkBox6.Size" type="System.Drawing.Size, System.Drawing">
<value>101, 17</value>
</data>
<data name="checkBox6.Text" xml:space="preserve">
<value>Debug-Modus</value>
</data>
<data name="themeComboBox.Items" xml:space="preserve">
<value>Automatisch</value>
</data>
<data name="themeComboBox.Items1" xml:space="preserve">
<value>Hell</value>
</data>
<data name="themeComboBox.Items2" xml:space="preserve">
<value>Dunkel</value>
</data>
<data name="label1.Text" xml:space="preserve">
<value>Thema</value>
</data>
<data name="customApktoolBtn.Text" xml:space="preserve">
<value>…</value>
</data>
<data name="useCustomApktoolChk.Size" type="System.Drawing.Size, System.Drawing">
<value>232, 17</value>
</data>
<data name="useCustomApktoolChk.Text" xml:space="preserve">
<value>Benutzerdefinierter APKTool-Speicherort</value>
</data>
<data name="label6.Size" type="System.Drawing.Size, System.Drawing">
<value>502, 13</value>
</data>
<data name="label6.Text" xml:space="preserve">
<value>Der Vorgang wird langsamer sein, da die Dateien in den temporären Ordner verschoben werden</value>
</data>
<data name="checkBox5.Size" type="System.Drawing.Size, System.Drawing">
<value>218, 17</value>
</data>
<data name="checkBox5.Text" xml:space="preserve">
<value>Unterstützung für UTF-8-Dateinamen</value>
</data>
<data name="checkBox4.Size" type="System.Drawing.Size, System.Drawing">
<value>212, 17</value>
</data>
<data name="checkBox4.Text" xml:space="preserve">
<value>Benutzerdefinierter Java-Speicherort</value>
</data>
<data name="buttonCustomTempLocation.Text" xml:space="preserve">
<value>…</value>
</data>
<data name="checkBox3.Size" type="System.Drawing.Size, System.Drawing">
<value>233, 17</value>
</data>
<data name="checkBox3.Text" xml:space="preserve">
<value>Benutzerdefinierter temporärer Standort</value>
</data>
<data name="buttonCustomJavaLocation.Text" xml:space="preserve">
<value>…</value>
</data>
<data name="checkBox2.Size" type="System.Drawing.Size, System.Drawing">
<value>203, 17</value>
</data>
<data name="checkBox2.Text" xml:space="preserve">
<value>Ton abspielen, wenn du fertig bist</value>
</data>
<data name="checkBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>281, 17</value>
</data>
<data name="checkBox1.Text" xml:space="preserve">
<value>Protokoll löschen, bevor du Maßnahmen ergreifst</value>
</data>
<data name="checkBoxCheckUpdateStartup.Size" type="System.Drawing.Size, System.Drawing">
<value>191, 17</value>
</data>
<data name="checkBoxCheckUpdateStartup.Text" xml:space="preserve">
<value>Beim Start nach Updates suchen</value>
</data>
<data name="groupBox1.Text" xml:space="preserve">
<value>Allgemein</value>
</data>
<data name="groupBoxLanguage.Text" xml:space="preserve">
<value>Sprache</value>
</data>
<data name="ignoreOutputContextMenuBox.Size" type="System.Drawing.Size, System.Drawing">
<value>376, 17</value>
</data>
<data name="ignoreOutputContextMenuBox.Text" xml:space="preserve">
<value>Benutzerdefiniertes Ausgabeverzeichnis für Kontextmenü ignorieren</value>
</data>
<data name="labelAdminRights.Text" xml:space="preserve">
<value>Administratorrechte erforderlich</value>
</data>
<data name="buttonAddContextMenu.Text" xml:space="preserve">
<value>Install …</value>
</data>
<data name="buttonRemoveContextMenu.Text" xml:space="preserve">
<value>Deinstall …</value>
</data>
<data name="groupBoxContextMenu.Text" xml:space="preserve">
<value>Kontextmenü</value>
</data>
<data name="tabPage1.Text" xml:space="preserve">
<value>Allgemein</value>
</data>
<data name="buttonCancel.Text" xml:space="preserve">
<value>Abbrechen</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>Einstellungen</value>
</data>
</root>
+145 -61
View File
@@ -121,9 +121,101 @@
<data name="tabControl1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left, Right</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="tabPage1.AutoScroll" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="groupBox1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="textBox1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="textBox1.Location" type="System.Drawing.Point, System.Drawing">
<value>274, 139</value>
</data>
<data name="textBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>239, 22</value>
</data>
<data name="textBox1.TabIndex" type="System.Int32, mscorlib">
<value>20</value>
</data>
<data name="textBox1.WordWrap" type="System.Boolean, mscorlib">
<value>False</value>
</data>
<data name="&gt;&gt;textBox1.Name" xml:space="preserve">
<value>textBox1</value>
</data>
<data name="&gt;&gt;textBox1.Type" xml:space="preserve">
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;textBox1.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;textBox1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="checkBox7.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="checkBox7.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="checkBox7.Location" type="System.Drawing.Point, System.Drawing">
<value>9, 141</value>
</data>
<data name="checkBox7.Size" type="System.Drawing.Size, System.Drawing">
<value>147, 17</value>
</data>
<data name="checkBox7.TabIndex" type="System.Int32, mscorlib">
<value>19</value>
</data>
<data name="checkBox7.Text" xml:space="preserve">
<value>Custom JVM arguments</value>
</data>
<data name="&gt;&gt;checkBox7.Name" xml:space="preserve">
<value>checkBox7</value>
</data>
<data name="&gt;&gt;checkBox7.Type" xml:space="preserve">
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;checkBox7.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;checkBox7.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="checkBox6.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="checkBox6.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="checkBox6.Location" type="System.Drawing.Point, System.Drawing">
<value>9, 265</value>
</data>
<data name="checkBox6.Size" type="System.Drawing.Size, System.Drawing">
<value>93, 17</value>
</data>
<data name="checkBox6.TabIndex" type="System.Int32, mscorlib">
<value>18</value>
</data>
<data name="checkBox6.Text" xml:space="preserve">
<value>Debug mode</value>
</data>
<data name="&gt;&gt;checkBox6.Name" xml:space="preserve">
<value>checkBox6</value>
</data>
<data name="&gt;&gt;checkBox6.Type" xml:space="preserve">
<value>System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;checkBox6.Parent" xml:space="preserve">
<value>groupBox1</value>
</data>
<data name="&gt;&gt;checkBox6.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="themeComboBox.Items" xml:space="preserve">
<value>Auto</value>
</data>
@@ -133,14 +225,12 @@
<data name="themeComboBox.Items2" xml:space="preserve">
<value>Dark</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="themeComboBox.Location" type="System.Drawing.Point, System.Drawing">
<value>128, 213</value>
<value>276, 234</value>
</data>
<data name="themeComboBox.Size" type="System.Drawing.Size, System.Drawing">
<value>121, 21</value>
<value>153, 21</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="themeComboBox.TabIndex" type="System.Int32, mscorlib">
<value>17</value>
</data>
@@ -154,13 +244,16 @@
<value>groupBox1</value>
</data>
<data name="&gt;&gt;themeComboBox.ZOrder" xml:space="preserve">
<value>0</value>
<value>3</value>
</data>
<data name="label1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="label1.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
<value>6, 216</value>
<value>7, 239</value>
</data>
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
<value>41, 13</value>
@@ -181,16 +274,16 @@
<value>groupBox1</value>
</data>
<data name="&gt;&gt;label1.ZOrder" xml:space="preserve">
<value>1</value>
<value>4</value>
</data>
<data name="customApkToolTxtBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="customApkToolTxtBox.Location" type="System.Drawing.Point, System.Drawing">
<value>203, 180</value>
<value>274, 205</value>
</data>
<data name="customApkToolTxtBox.Size" type="System.Drawing.Size, System.Drawing">
<value>215, 22</value>
<value>203, 22</value>
</data>
<data name="customApkToolTxtBox.TabIndex" type="System.Int32, mscorlib">
<value>15</value>
@@ -208,7 +301,7 @@
<value>groupBox1</value>
</data>
<data name="&gt;&gt;customApkToolTxtBox.ZOrder" xml:space="preserve">
<value>2</value>
<value>5</value>
</data>
<data name="customApktoolBtn.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
@@ -220,7 +313,7 @@
<value>NoControl</value>
</data>
<data name="customApktoolBtn.Location" type="System.Drawing.Point, System.Drawing">
<value>421, 180</value>
<value>483, 205</value>
</data>
<data name="customApktoolBtn.Size" type="System.Drawing.Size, System.Drawing">
<value>30, 23</value>
@@ -241,7 +334,7 @@
<value>groupBox1</value>
</data>
<data name="&gt;&gt;customApktoolBtn.ZOrder" xml:space="preserve">
<value>3</value>
<value>6</value>
</data>
<data name="useCustomApktoolChk.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
@@ -250,7 +343,7 @@
<value>NoControl</value>
</data>
<data name="useCustomApktoolChk.Location" type="System.Drawing.Point, System.Drawing">
<value>9, 182</value>
<value>9, 207</value>
</data>
<data name="useCustomApktoolChk.Size" type="System.Drawing.Size, System.Drawing">
<value>153, 17</value>
@@ -271,7 +364,7 @@
<value>groupBox1</value>
</data>
<data name="&gt;&gt;useCustomApktoolChk.ZOrder" xml:space="preserve">
<value>4</value>
<value>7</value>
</data>
<data name="label6.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
@@ -280,7 +373,7 @@
<value>NoControl</value>
</data>
<data name="label6.Location" type="System.Drawing.Point, System.Drawing">
<value>24, 160</value>
<value>6, 185</value>
</data>
<data name="label6.Size" type="System.Drawing.Size, System.Drawing">
<value>349, 13</value>
@@ -301,7 +394,7 @@
<value>groupBox1</value>
</data>
<data name="&gt;&gt;label6.ZOrder" xml:space="preserve">
<value>5</value>
<value>8</value>
</data>
<data name="checkBox5.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
@@ -310,7 +403,7 @@
<value>NoControl</value>
</data>
<data name="checkBox5.Location" type="System.Drawing.Point, System.Drawing">
<value>9, 140</value>
<value>9, 165</value>
</data>
<data name="checkBox5.Size" type="System.Drawing.Size, System.Drawing">
<value>147, 17</value>
@@ -331,7 +424,7 @@
<value>groupBox1</value>
</data>
<data name="&gt;&gt;checkBox5.ZOrder" xml:space="preserve">
<value>6</value>
<value>9</value>
</data>
<data name="checkBox4.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
@@ -340,7 +433,7 @@
<value>NoControl</value>
</data>
<data name="checkBox4.Location" type="System.Drawing.Point, System.Drawing">
<value>9, 114</value>
<value>9, 115</value>
</data>
<data name="checkBox4.Size" type="System.Drawing.Size, System.Drawing">
<value>134, 17</value>
@@ -361,16 +454,16 @@
<value>groupBox1</value>
</data>
<data name="&gt;&gt;checkBox4.ZOrder" xml:space="preserve">
<value>7</value>
<value>10</value>
</data>
<data name="customTempLocationTxtBox.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="customTempLocationTxtBox.Location" type="System.Drawing.Point, System.Drawing">
<value>203, 86</value>
<value>274, 86</value>
</data>
<data name="customTempLocationTxtBox.Size" type="System.Drawing.Size, System.Drawing">
<value>215, 22</value>
<value>203, 22</value>
</data>
<data name="customTempLocationTxtBox.TabIndex" type="System.Int32, mscorlib">
<value>7</value>
@@ -388,16 +481,16 @@
<value>groupBox1</value>
</data>
<data name="&gt;&gt;customTempLocationTxtBox.ZOrder" xml:space="preserve">
<value>8</value>
<value>11</value>
</data>
<data name="textBoxCustomJavaLocation.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="textBoxCustomJavaLocation.Location" type="System.Drawing.Point, System.Drawing">
<value>203, 112</value>
<value>274, 112</value>
</data>
<data name="textBoxCustomJavaLocation.Size" type="System.Drawing.Size, System.Drawing">
<value>215, 22</value>
<value>203, 22</value>
</data>
<data name="textBoxCustomJavaLocation.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
@@ -415,7 +508,7 @@
<value>groupBox1</value>
</data>
<data name="&gt;&gt;textBoxCustomJavaLocation.ZOrder" xml:space="preserve">
<value>9</value>
<value>12</value>
</data>
<data name="buttonCustomTempLocation.AccessibleName" xml:space="preserve">
<value>buttonCustomTempLocation</value>
@@ -430,7 +523,7 @@
<value>NoControl</value>
</data>
<data name="buttonCustomTempLocation.Location" type="System.Drawing.Point, System.Drawing">
<value>421, 86</value>
<value>483, 86</value>
</data>
<data name="buttonCustomTempLocation.Size" type="System.Drawing.Size, System.Drawing">
<value>30, 23</value>
@@ -451,7 +544,7 @@
<value>groupBox1</value>
</data>
<data name="&gt;&gt;buttonCustomTempLocation.ZOrder" xml:space="preserve">
<value>10</value>
<value>13</value>
</data>
<data name="checkBox3.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
@@ -460,7 +553,7 @@
<value>NoControl</value>
</data>
<data name="checkBox3.Location" type="System.Drawing.Point, System.Drawing">
<value>9, 89</value>
<value>9, 90</value>
</data>
<data name="checkBox3.Size" type="System.Drawing.Size, System.Drawing">
<value>139, 17</value>
@@ -481,7 +574,7 @@
<value>groupBox1</value>
</data>
<data name="&gt;&gt;checkBox3.ZOrder" xml:space="preserve">
<value>11</value>
<value>14</value>
</data>
<data name="buttonCustomJavaLocation.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
@@ -493,7 +586,7 @@
<value>NoControl</value>
</data>
<data name="buttonCustomJavaLocation.Location" type="System.Drawing.Point, System.Drawing">
<value>421, 112</value>
<value>483, 112</value>
</data>
<data name="buttonCustomJavaLocation.Size" type="System.Drawing.Size, System.Drawing">
<value>30, 23</value>
@@ -514,7 +607,7 @@
<value>groupBox1</value>
</data>
<data name="&gt;&gt;buttonCustomJavaLocation.ZOrder" xml:space="preserve">
<value>12</value>
<value>15</value>
</data>
<data name="checkBox2.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
@@ -544,7 +637,7 @@
<value>groupBox1</value>
</data>
<data name="&gt;&gt;checkBox2.ZOrder" xml:space="preserve">
<value>13</value>
<value>16</value>
</data>
<data name="checkBox1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
@@ -574,7 +667,7 @@
<value>groupBox1</value>
</data>
<data name="&gt;&gt;checkBox1.ZOrder" xml:space="preserve">
<value>14</value>
<value>17</value>
</data>
<data name="checkBoxCheckUpdateStartup.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
@@ -604,13 +697,13 @@
<value>groupBox1</value>
</data>
<data name="&gt;&gt;checkBoxCheckUpdateStartup.ZOrder" xml:space="preserve">
<value>15</value>
<value>18</value>
</data>
<data name="groupBox1.Location" type="System.Drawing.Point, System.Drawing">
<value>8, 6</value>
</data>
<data name="groupBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>454, 251</value>
<value>521, 299</value>
</data>
<data name="groupBox1.TabIndex" type="System.Int32, mscorlib">
<value>12</value>
@@ -633,17 +726,14 @@
<data name="groupBoxLanguage.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="comboBox1.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="comboBox1.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>System</value>
</data>
<data name="comboBox1.Location" type="System.Drawing.Point, System.Drawing">
<value>129, 17</value>
<value>9, 17</value>
</data>
<data name="comboBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>319, 21</value>
<value>347, 21</value>
</data>
<data name="comboBox1.TabIndex" type="System.Int32, mscorlib">
<value>2</value>
@@ -661,10 +751,10 @@
<value>0</value>
</data>
<data name="groupBoxLanguage.Location" type="System.Drawing.Point, System.Drawing">
<value>8, 263</value>
<value>8, 311</value>
</data>
<data name="groupBoxLanguage.Size" type="System.Drawing.Size, System.Drawing">
<value>454, 47</value>
<value>522, 47</value>
</data>
<data name="groupBoxLanguage.TabIndex" type="System.Int32, mscorlib">
<value>8</value>
@@ -720,9 +810,6 @@
<data name="&gt;&gt;ignoreOutputContextMenuBox.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="labelAdminRights.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Left, Right</value>
</data>
<data name="labelAdminRights.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
@@ -753,9 +840,6 @@
<data name="&gt;&gt;labelAdminRights.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="buttonAddContextMenu.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="buttonAddContextMenu.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>System</value>
</data>
@@ -763,7 +847,7 @@
<value>NoControl</value>
</data>
<data name="buttonAddContextMenu.Location" type="System.Drawing.Point, System.Drawing">
<value>276, 18</value>
<value>343, 18</value>
</data>
<data name="buttonAddContextMenu.Size" type="System.Drawing.Size, System.Drawing">
<value>83, 23</value>
@@ -789,9 +873,6 @@
<data name="&gt;&gt;buttonAddContextMenu.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="buttonRemoveContextMenu.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Right</value>
</data>
<data name="buttonRemoveContextMenu.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>System</value>
</data>
@@ -799,7 +880,7 @@
<value>NoControl</value>
</data>
<data name="buttonRemoveContextMenu.Location" type="System.Drawing.Point, System.Drawing">
<value>365, 18</value>
<value>432, 18</value>
</data>
<data name="buttonRemoveContextMenu.Size" type="System.Drawing.Size, System.Drawing">
<value>83, 23</value>
@@ -823,10 +904,10 @@
<value>3</value>
</data>
<data name="groupBoxContextMenu.Location" type="System.Drawing.Point, System.Drawing">
<value>8, 316</value>
<value>8, 364</value>
</data>
<data name="groupBoxContextMenu.Size" type="System.Drawing.Size, System.Drawing">
<value>454, 74</value>
<value>523, 74</value>
</data>
<data name="groupBoxContextMenu.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
@@ -853,7 +934,7 @@
<value>3, 3, 3, 3</value>
</data>
<data name="tabPage1.Size" type="System.Drawing.Size, System.Drawing">
<value>466, 396</value>
<value>535, 442</value>
</data>
<data name="tabPage1.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
@@ -880,7 +961,7 @@
<value>0, 1</value>
</data>
<data name="tabControl1.Size" type="System.Drawing.Size, System.Drawing">
<value>474, 422</value>
<value>543, 468</value>
</data>
<data name="tabControl1.TabIndex" type="System.Int32, mscorlib">
<value>1</value>
@@ -907,7 +988,7 @@
<value>NoControl</value>
</data>
<data name="buttonCancel.Location" type="System.Drawing.Point, System.Drawing">
<value>392, 429</value>
<value>461, 475</value>
</data>
<data name="buttonCancel.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
@@ -940,7 +1021,7 @@
<value>NoControl</value>
</data>
<data name="buttonОК.Location" type="System.Drawing.Point, System.Drawing">
<value>311, 429</value>
<value>380, 475</value>
</data>
<data name="buttonОК.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
@@ -970,7 +1051,10 @@
<value>6, 13</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>473, 457</value>
<value>542, 503</value>
</data>
<data name="$this.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
<value>NoControl</value>
</data>
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterParent</value>
+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>
+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>自定义 JVM 命令</value>
</data>
<data name="checkBox6.Text" xml:space="preserve">
<value>调试模式</value>
</data>
<data name="themeComboBox.Items" xml:space="preserve">
<value>自动</value>
</data>
<data name="themeComboBox.Items1" xml:space="preserve">
<value>浅色</value>
</data>
<data name="themeComboBox.Items2" xml:space="preserve">
<value>深色</value>
</data>
<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>
</data>
<data name="label6.Text" xml:space="preserve">
<value>操作过程的文件移动到缓存目录中需要时间,请耐心等待</value>
</data>
<data name="checkBox5.Text" xml:space="preserve">
<value>UTF-8 文件名支持,中文乱码开启</value>
</data>
<data name="checkBox4.Text" xml:space="preserve">
<value>自定义 Java 位置</value>
</data>
<data name="checkBox3.Text" xml:space="preserve">
<value>自定义缓存位置</value>
</data>
<data name="checkBox2.Text" xml:space="preserve">
<value>完成提示音</value>
</data>
<data name="checkBox1.Text" xml:space="preserve">
<value>操作前清除日志</value>
</data>
<data name="checkBoxCheckUpdateStartup.Text" xml:space="preserve">
<value>启动时检查更新</value>
</data>
<data name="groupBox1.Text" xml:space="preserve">
<value>常规</value>
</data>
<data name="groupBoxLanguage.Text" xml:space="preserve">
<value>语言</value>
</data>
<data name="ignoreOutputContextMenuBox.Text" xml:space="preserve">
<value>忽略右键菜单的自定义输出目录</value>
</data>
<data name="labelAdminRights.Text" xml:space="preserve">
<value>需要管理员权限</value>
</data>
<data name="buttonAddContextMenu.Text" xml:space="preserve">
<value>安装</value>
</data>
<data name="buttonRemoveContextMenu.Text" xml:space="preserve">
<value>卸载</value>
</data>
<data name="groupBoxContextMenu.Text" xml:space="preserve">
<value>右键菜单</value>
</data>
<data name="tabPage1.Text" xml:space="preserve">
<value>常规</value>
</data>
<data name="buttonCancel.Text" xml:space="preserve">
<value>取消</value>
</data>
<data name="buttonОК.Text" xml:space="preserve">
<value>确定</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>设置</value>
</data>
</root>
+17 -10
View File
@@ -1,4 +1,5 @@
using APKToolGUI.Languages;
using APKToolGUI.Properties;
using System;
using System.Collections.Generic;
using System.IO;
@@ -15,19 +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.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 async void refreshDevicesBtn_Click(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)
{
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)
{
@@ -36,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))
@@ -47,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())
{
@@ -58,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,14 +50,19 @@ 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";
if (ofd.ShowDialog() == DialogResult.OK)
{
main.textBox_DECODE_InputAppPath.Text = ofd.FileName;
main.GetApkInfo(ofd.FileName);
if (!Settings.Default.Decode_DontParseApkInfo)
await main.GetApkInfo(ofd.FileName);
if (main.checkBox_DECODE_OutputDirectory.Checked)
{
main.textBox_DECODE_OutputDirectory.Text = Path.Combine(Path.GetDirectoryName(main.textBox_DECODE_InputAppPath.Text), Path.GetFileNameWithoutExtension(main.textBox_DECODE_InputAppPath.Text));
@@ -66,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))
@@ -93,14 +98,7 @@ namespace APKToolGUI.Handlers
if (inputFile.ContainsAny(".xapk", ".zip", ".apks", ".apkm"))
{
if (Settings.Default.Decode_UseApkEditorMergeApk)
{
await main.MergeUsingApkEditor(inputFile);
}
else
{
await main.Merge(inputFile);
}
await main.MergeAndDecompile(inputFile);
}
else
await main.Decompile(inputFile);
+62 -31
View File
@@ -1,4 +1,5 @@
using APKToolGUI.ApkTool;
using APKToolGUI.Controls;
using APKToolGUI.Languages;
using APKToolGUI.Properties;
using APKToolGUI.Utils;
@@ -19,6 +20,7 @@ namespace APKToolGUI.Handlers
private static FormMain main;
string[] apks = { ".apk", ".xapk", ".zip", ".apks", ".apkm" };
string[] apk = { ".apk" };
public DragDropHandlers(FormMain Main)
{
@@ -36,14 +38,19 @@ 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.mergePanel, null, mergeEventHandler, apks);
Register(main.splitApkPathTxtBox, main.mergePanel, mergeEventHandler, apks);
Register(main.mergeApkBtn, main.mergePanel, mergeEventHandler, apks);
DragEventHandler baksmaliEventHandler = new DragEventHandler((sender, e) => { DropDexToBaksmali(e); });
Register(main.bakSmaliGroupBox, null, baksmaliEventHandler, new string[] { ".dex" });
@@ -58,17 +65,17 @@ 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)
{
if (extCtrl == null)
extCtrl = ctrl;
ctrl.DragLeave += new EventHandler((sender, e) => extCtrl.BackColor = Color.White);
ctrl.DragLeave += new EventHandler((sender, e) => extCtrl.BackColor = PanelBackColor());
ctrl.DragEnter += new DragEventHandler((sender, e) => e.CheckDragEnter(extension));
ctrl.DragOver += new DragEventHandler((sender, e) => { if (e.CheckManyDragOver(extension)) extCtrl.BackColor = Color.LightGreen; });
ctrl.DragOver += new DragEventHandler((sender, e) => { if (e.CheckManyDragOver(extension)) extCtrl.BackColor = PanelHoverBackColor(); });
ctrl.DragDrop += dragHandler;
}
@@ -77,24 +84,18 @@ namespace APKToolGUI.Handlers
string[] apkFiles = null;
if (e.DropManyByEnd(file => apkFiles = file, apks))
{
main.decPanel.BackColor = Color.White;
main.decPanel.BackColor = PanelBackColor();
foreach (var apkFile in apkFiles)
{
main.textBox_DECODE_InputAppPath.Text = apkFile;
await main.GetApkInfo(apkFile);
if (!Settings.Default.Decode_DontParseApkInfo)
await main.GetApkInfo(apkFile);
if (apkFile.ContainsAny(".xapk", ".zip", ".apks", ".apkm"))
{
if (Settings.Default.Decode_UseApkEditorMergeApk)
{
await main.MergeUsingApkEditor(apkFile);
}
else
{
await main.Merge(apkFile);
}
await main.MergeAndDecompile(apkFile);
}
else
await main.Decompile(apkFile);
@@ -105,14 +106,14 @@ namespace APKToolGUI.Handlers
private async void DropDirToCom(DragEventArgs e)
{
string[] folders = null;
if (e.DropManyByEnd(file => folders = file, null))
if (e.DropManyByEnd(file => folders = file, ""))
{
foreach (var folder in folders)
{
if (File.Exists(Path.Combine(folder, "AndroidManifest.xml")))
{
main.textBox_BUILD_InputProjectDir.Text = folder;
main.comPanel.BackColor = Color.White;
main.comPanel.BackColor = PanelBackColor();
await main.Build(folder);
}
else
@@ -126,7 +127,7 @@ namespace APKToolGUI.Handlers
string[] apkFiles = null;
if (e.DropManyByEnd(file => apkFiles = file, apks))
{
main.zipalignPanel.BackColor = Color.White;
main.zipalignPanel.BackColor = PanelBackColor();
foreach (var apkFile in apkFiles)
{
@@ -142,7 +143,7 @@ namespace APKToolGUI.Handlers
string[] apkFiles = null;
if (e.DropManyByEnd(file => apkFiles = file, apks))
{
main.signPanel.BackColor = Color.White;
main.signPanel.BackColor = PanelBackColor();
foreach (var apkFile in apkFiles)
{
@@ -153,13 +154,29 @@ namespace APKToolGUI.Handlers
}
}
private async void DropApkToMerge(DragEventArgs e)
{
string[] apkFiles = null;
if (e.DropManyByEnd(file => apkFiles = file, apks))
{
main.mergePanel.BackColor = PanelBackColor();
foreach (var apkFile in apkFiles)
{
main.splitApkPathTxtBox.Text = apkFile;
await main.Merge(apkFile);
}
}
}
private async void DropDexToBaksmali(DragEventArgs e)
{
string apkFile = null;
if (e.DropOneByEnd(file => apkFile = file, ".dex"))
{
main.baksmaliBrowseInputDexTxtBox.Text = apkFile;
main.bakSmaliGroupBox.BackColor = Color.White;
main.bakSmaliGroupBox.BackColor = PanelBackColor();
await main.Baksmali(apkFile);
}
}
@@ -170,31 +187,45 @@ namespace APKToolGUI.Handlers
if (e.DropOneByEnd(file => dir = file, null))
{
main.smaliBrowseInputDirTxtBox.Text = dir;
main.smaliGroupBox.BackColor = Color.White;
main.smaliGroupBox.BackColor = PanelBackColor();
await main.Smali(dir);
}
}
private async void DropApkToInstall(DragEventArgs e)
{
string dir = null;
if (e.DropOneByEnd(file => dir = file, ".apk"))
{
main.apkPathAdbTxtBox.Text = dir;
main.tabPageAdb.BackColor = Color.White;
main.tabPageAdb.BackColor = PanelBackColor();
await main.Install(dir);
}
}
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.basicInfoTabPage.BackColor = Color.White;
main.GetApkInfo(apkFile);
main.basicInfoTabPage.BackColor = PanelBackColor();
await main.GetApkInfo(apkFile);
}
}
Color PanelBackColor()
{
if (Program.IsDarkTheme())
return DarkTheme.bgColor;
return Color.White;
}
Color PanelHoverBackColor()
{
if (Program.IsDarkTheme())
return Color.Gray;
return Color.LightGreen;
}
}
}
@@ -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);
+58 -28
View File
@@ -5,10 +5,7 @@ using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Forms;
namespace APKToolGUI.Handlers
{
@@ -18,29 +15,46 @@ 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.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;
}
private void clearLogToolStripMenuItem_Click(object sender, EventArgs e)
internal void SelSplitApkBtn_Click(object sender, EventArgs e)
{
main.logTxtBox.Text = "";
using (OpenFileDialog ofd = new OpenFileDialog())
{
ofd.Filter = "Split APK Package (*.xapk;*.zip;*.apkm;*.apks)|*.xapk;*.zip;*.apkm;*.apks";
if (ofd.ShowDialog() == DialogResult.OK)
{
main.splitApkPathTxtBox.Text = ofd.FileName;
}
}
}
private void copyToolStripMenuItem_Click(object sender, EventArgs e)
internal async void MergeApkBtn_Click(object sender, EventArgs e)
{
try
{
Clipboard.SetText(main.logTxtBox.SelectedText);
main.Save();
if (!File.Exists(Settings.Default.SplitApk_InputFile))
{
main.ShowMessage(Language.SplitApkNotFound, MessageBoxIcon.Warning);
return;
}
await main.Merge(Settings.Default.SplitApk_InputFile);
}
catch (Exception ex)
{
@@ -48,8 +62,24 @@ namespace APKToolGUI.Handlers
}
}
private void ClearLogToolStripMenuItem_Click(object sender, EventArgs e)
{
main.logTxtBox.Text = "";
}
internal void decApkOpenDirBtn_Click(object sender, EventArgs e)
private void CopyToolStripMenuItem_Click(object sender, EventArgs e)
{
try
{
System.Windows.Forms.Clipboard.SetText(main.logTxtBox.SelectedText);
}
catch (Exception ex)
{
main.ToLog(ApktoolEventType.Error, ex.Message);
}
}
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);
@@ -59,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);
@@ -69,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"));
@@ -77,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"));
@@ -85,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))
{
@@ -95,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))
@@ -147,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;
@@ -169,7 +199,7 @@ 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;
@@ -184,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;
+30 -19
View File
@@ -18,18 +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.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 saveLogItem_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)
{
using (var sfd = new SaveFileDialog())
{
@@ -44,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;
@@ -58,23 +64,28 @@ 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);
else
{
Directory.CreateDirectory(Program.TEMP_PATH);
Process.Start("explorer.exe", Program.TEMP_PATH);
}
}
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;
@@ -87,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");
}
+19 -19
View File
@@ -22,20 +22,20 @@ 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_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 +50,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 +65,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 +76,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 +85,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 +96,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 +125,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 +135,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))
{
+23 -4
View File
@@ -1,4 +1,5 @@
using System;
using APKToolGUI.Properties;
using System;
using System.Diagnostics;
using System.Linq;
using System.Text;
@@ -32,8 +33,13 @@ namespace Java
public new bool Start(string args)
{
EnableRaisingEvents = true;
StartInfo.Arguments = String.Format("-jar \"{0}\" {1}", JarPath, args);
Debug.WriteLine(String.Format("-jar \"{0}\" {1}", JarPath, args));
string customArgs = null;
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));
return base.Start();
}
@@ -78,8 +84,21 @@ namespace Java
javaProcess.Start();
string output = javaProcess.StandardError.ReadToEnd();
javaProcess.WaitForExit(3000);
//I use _JAVA_OPTIONS so I want the prompt removed
if (output.Contains("_JAVA_OPTIONS"))
{
int n = 2;
string[] lines = output
.Split(Environment.NewLine.ToCharArray())
.Skip(n)
.ToArray();
output = string.Join(Environment.NewLine, lines);
}
if (!String.IsNullOrEmpty(output))
return output = output.Remove(output.LastIndexOf(Environment.NewLine));
return output.Replace("\r\n\r\n", "\n").Trim();
else
return null;
}
+90 -9
View File
@@ -150,6 +150,15 @@ namespace APKToolGUI.Languages {
}
}
/// <summary>
/// Looks up a localized string similar to Can&apos;t detect APKEditor version.
/// </summary>
internal static string CantDetectApkeditorVersion {
get {
return ResourceManager.GetString("CantDetectApkeditorVersion", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Can&apos;t detect apktool version..
/// </summary>
@@ -195,6 +204,15 @@ namespace APKToolGUI.Languages {
}
}
/// <summary>
/// Looks up a localized string similar to Clearing temp folder.
/// </summary>
internal static string ClearTempFolder {
get {
return ResourceManager.GetString("ClearTempFolder", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Compile APK.
/// </summary>
@@ -240,6 +258,15 @@ namespace APKToolGUI.Languages {
}
}
/// <summary>
/// Looks up a localized string similar to Copy file &quot;{0}&quot; to &quot;{1}&quot;.
/// </summary>
internal static string CopyFileTo {
get {
return ResourceManager.GetString("CopyFileTo", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Copy file &quot;{0}&quot; to temp directory &quot;{1}&quot;.
/// </summary>
@@ -393,6 +420,15 @@ namespace APKToolGUI.Languages {
}
}
/// <summary>
/// Looks up a localized string similar to Deleting folder: {0}.
/// </summary>
internal static string DeletingFolder {
get {
return ResourceManager.GetString("DeletingFolder", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to {0} detected as base.
/// </summary>
@@ -438,6 +474,15 @@ namespace APKToolGUI.Languages {
}
}
/// <summary>
/// Looks up a localized string similar to The directory &quot;{0}&quot; does not exist.
/// </summary>
internal static string DirectoryNotExist {
get {
return ResourceManager.GetString("DirectoryNotExist", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Directory &quot;{0}&quot; does not exist.
/// </summary>
@@ -699,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>
@@ -735,6 +771,15 @@ namespace APKToolGUI.Languages {
}
}
/// <summary>
/// Looks up a localized string similar to Fixed apktool.yml.
/// </summary>
internal static string FixApktoolYml {
get {
return ResourceManager.GetString("FixApktoolYml", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Folder does not exist.
/// </summary>
@@ -996,6 +1041,24 @@ namespace APKToolGUI.Languages {
}
}
/// <summary>
/// Looks up a localized string similar to Open compile output folder.
/// </summary>
internal static string OpenComFolder {
get {
return ResourceManager.GetString("OpenComFolder", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Open decompile output folder.
/// </summary>
internal static string OpenDecFolder {
get {
return ResourceManager.GetString("OpenDecFolder", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Parsing APK Info....
/// </summary>
@@ -1041,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>
@@ -1122,6 +1194,15 @@ namespace APKToolGUI.Languages {
}
}
/// <summary>
/// Looks up a localized string similar to Split APK is not selected.
/// </summary>
internal static string SplitApkNotFound {
get {
return ResourceManager.GetString("SplitApkNotFound", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to System language.
/// </summary>
+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>Über</value>
</data>
<data name="APKToolVersion" xml:space="preserve">
<value>Apktool-Version</value>
</data>
<data name="CheckForUpdate" xml:space="preserve">
<value>Auf Aktualisierung prüfen</value>
</data>
<data name="DebugMode" xml:space="preserve">
<value>Debug-Modus</value>
</data>
<data name="Exit" xml:space="preserve">
<value>Beenden</value>
</data>
<data name="File" xml:space="preserve">
<value>Datei</value>
</data>
<data name="Help" xml:space="preserve">
<value>Hilfe</value>
</data>
<data name="Settings" xml:space="preserve">
<value>Einstellungen</value>
</data>
<data name="ErrorJavaDetect" xml:space="preserve">
<value>Java ist nicht oder nicht korrekt installiert. Java installieren oder einen eigenen Speicherort in den Einstellungen festlegen.</value>
</data>
<data name="ErrorReadSettings" xml:space="preserve">
<value>Einstellungen für das Fehlerlesen</value>
</data>
<data name="UpdateNewVersion" xml:space="preserve">
<value>Eine neue Version ist verfügbar. Möchtest du aktualisieren?</value>
</data>
<data name="UpdateNoUpdates" xml:space="preserve">
<value>Aktualisierung verfügbar</value>
</data>
<data name="WarningDecodingFolderNotSelected" xml:space="preserve">
<value>Dekompilierungsordner nicht ausgewählt!</value>
</data>
<data name="WarningFileForDecodingNotSelected" xml:space="preserve">
<value>Datei zum Dekompilieren nicht ausgewählt!</value>
</data>
<data name="WarningFileForSigningNotSelected" xml:space="preserve">
<value>Datei zum Signieren nicht ausgewählt!</value>
</data>
<data name="WarningFrameworkNotSelected" xml:space="preserve">
<value>Framework nicht ausgewählt!</value>
</data>
<data name="ErrorSaveSettings" xml:space="preserve">
<value>Fehler beim Einstellungen speichern!</value>
</data>
<data name="NeedRestart" xml:space="preserve">
<value>Damit die Änderungen wirksam werden, musst du das Programm neu starten. Willst du es jetzt tun?</value>
</data>
<data name="FileNotFound" xml:space="preserve">
<value>Datei wird nicht gefunden</value>
</data>
<data name="FolderNotExist" xml:space="preserve">
<value>Der Ordner existiert nicht</value>
</data>
<data name="Error" xml:space="preserve">
<value>Fehler</value>
</data>
<data name="Build" xml:space="preserve">
<value>Build</value>
</data>
<data name="Decode" xml:space="preserve">
<value>Dekompilieren</value>
</data>
<data name="InstallFramework" xml:space="preserve">
<value>Framework installieren</value>
</data>
<data name="Sign" xml:space="preserve">
<value>Signieren</value>
</data>
<data name="SystemLanguage" xml:space="preserve">
<value>Systemsprache</value>
</data>
<data name="DoYouRealyWantToInstallCM" xml:space="preserve">
<value>Möchtest du das Kontextmenü wirklich installieren?</value>
</data>
<data name="DoYouRealyWantToRemoveCM" xml:space="preserve">
<value>Möchtest du das Kontextmenü wirklich entfernen?</value>
</data>
<data name="Done" xml:space="preserve">
<value>Fertig</value>
</data>
<data name="CantDetectApktoolVersion" xml:space="preserve">
<value>Apktool-Version wird nicht erkannt</value>
</data>
<data name="DecompilingSuccessfullyCompleted" xml:space="preserve">
<value>Dekompilieren erfolgreich abgeschlossen. Ausgabeverzeichnis "{0}"</value>
</data>
<data name="ErrorUpdateChecking" xml:space="preserve">
<value>Fehlerhafte Aktualisierungsprüfung:</value>
</data>
<data name="SignSuccessfullyCompleted" xml:space="preserve">
<value>Signieren erfolgreich abgeschlossen. Datei gespeichert unter "{0}"</value>
</data>
<data name="Aligning" xml:space="preserve">
<value>Abgleichen</value>
</data>
<data name="ErrorCompiling" xml:space="preserve">
<value>Kompilieren fehlgeschlagen</value>
</data>
<data name="ErrorEnteringFrameworkTag" xml:space="preserve">
<value>Fehler bei der Eingabe des Framework-Tags</value>
</data>
<data name="ErrorSelectedFileNotExist" xml:space="preserve">
<value>Ausgewählte Datei nicht vorhanden</value>
</data>
<data name="ErrorSelectingFrameworkDirectory" xml:space="preserve">
<value>Fehler bei Auswahl des Framework-Verzeichnisses</value>
</data>
<data name="ErrorSelectingFrameworkFile" xml:space="preserve">
<value>Fehler bei Auswahl der Framework-Datei. Datei existiert nicht.</value>
</data>
<data name="ErrorSigning" xml:space="preserve">
<value>Signieren fehlgeschlagen</value>
</data>
<data name="FrameworkInstallationNotStarted" xml:space="preserve">
<value>Fehler - Framework-Installation wird nicht gestartet</value>
</data>
<data name="InstallingFramework" xml:space="preserve">
<value>Framework installieren</value>
</data>
<data name="Signing" xml:space="preserve">
<value>Signieren</value>
</data>
<data name="SignInputFileNotFound" xml:space="preserve">
<value>Eingabedatei nicht gefunden</value>
</data>
<data name="SignPrivateKeyNotFound" xml:space="preserve">
<value>Privater Schlüssel - nicht gefunden</value>
</data>
<data name="SignPublicKeyNotFound" xml:space="preserve">
<value>Öffentlicher Schlüssel - nicht gefunden</value>
</data>
<data name="ZIPArchives" xml:space="preserve">
<value>ZIP archivieren</value>
</data>
<data name="DecodeCouldNotCreate" xml:space="preserve">
<value>Ausgewähltes Dekompilierungsverzeichnis konnte nicht erstellt werden, da es ungültige Zeichen enthält.</value>
</data>
<data name="DecodeDirNotSelected" xml:space="preserve">
<value>Dekompilierungsverzeichnis nicht ausgewählt</value>
</data>
<data name="DecodeSelectedFrameworkNotExist" xml:space="preserve">
<value>Ausgewähltes Framework-Verzeichnis nicht vorhanden</value>
</data>
<data name="Decoding" xml:space="preserve">
<value>Dekompilieren</value>
</data>
<data name="ErrorDecompiling" xml:space="preserve">
<value>Dekompilieren fehlgeschlagen</value>
</data>
<data name="ExecutableFile" xml:space="preserve">
<value>Ausführbare Datei</value>
</data>
<data name="ChangedTargetSdkTo29" xml:space="preserve">
<value>Ziel-SDK auf 29 geändert</value>
</data>
<data name="ErrorVersionParsing" xml:space="preserve">
<value>Version parsen nicht möglich</value>
</data>
<data name="FixAndroidManifest" xml:space="preserve">
<value>AndroidManifest.xml repariert</value>
</data>
<data name="RemoveApkToolDummies" xml:space="preserve">
<value>Alle Apk-Tool-Dummys entfernt</value>
</data>
<data name="APKSelected" xml:space="preserve">
<value>APK ausgewählt:</value>
</data>
<data name="ErrorSelectedFolderNotExist" xml:space="preserve">
<value>Ausgewählter Ordner nicht vorhanden</value>
</data>
<data name="AndroidManifestNotExist" xml:space="preserve">
<value>AndroidManifest.xml nicht vorhanden</value>
</data>
<data name="DecompiledAPKNotExist" xml:space="preserve">
<value>Dekompiliertes APK-Verzeichnis existiert nicht</value>
</data>
<data name="MainActivityFound" xml:space="preserve">
<value>Hauptaktivität gefunden in "{0}"</value>
</data>
<data name="MainActivityNotFoundPleaseFindManually" xml:space="preserve">
<value>MainActivity konnte nicht gefunden werden, manuell suchen.</value>
</data>
<data name="ClearingFramework" xml:space="preserve">
<value>Framework bereinigen</value>
</data>
<data name="CompilingSuccessfullyCompleted" xml:space="preserve">
<value>Kompilieren erfolgreich abgeschlossen. Ausgabeverzeichnis "{0}"</value>
</data>
<data name="ErrorZipalign" xml:space="preserve">
<value>Zipaligning fehlgeschlagen</value>
</data>
<data name="ZipalignFileSavedTo" xml:space="preserve">
<value>Zipalign erfolgreich abgeschlossen. Datei gespeichert unter "{0}"</value>
</data>
<data name="ErrorClearingFw" xml:space="preserve">
<value>Framework-Fehler bereinigen</value>
</data>
<data name="FrameworkCacheCleared" xml:space="preserve">
<value>Framework Fehlerbereinigung</value>
</data>
<data name="AllDone" xml:space="preserve">
<value>Alles fertig!</value>
</data>
<data name="FrameworkInstalled" xml:space="preserve">
<value>Framework erfolgreich installiert</value>
</data>
<data name="FrameworkDirNotExist" xml:space="preserve">
<value>Framework-Verzeichnis nicht vorhanden</value>
</data>
<data name="DecompilingDex" xml:space="preserve">
<value>Dex dekompilieren</value>
</data>
<data name="ErrorSelectedOutputFolderNotExist" xml:space="preserve">
<value>Ausgewählter Ausgabeordner nicht vorhanden</value>
</data>
<data name="CompilingDex" xml:space="preserve">
<value>Dex dekompilieren</value>
</data>
<data name="DragDropNotSupported" xml:space="preserve">
<value>Wird als Administrator ausgeführt. Drag &amp; Drop wird möglicherweise nicht unterstützt</value>
</data>
<data name="DragDropSupported" xml:space="preserve">
<value>Drag &amp; Drop wird unterstützt</value>
</data>
<data name="ErrorNotAnApk" xml:space="preserve">
<value>Verzeichnis ist kein Android-Paket</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 kompilieren</value>
</data>
<data name="CompileDex" xml:space="preserve">
<value>DEX kompilieren</value>
</data>
<data name="DecompileApk" xml:space="preserve">
<value>APK dekompilieren</value>
</data>
<data name="DecompileDex" xml:space="preserve">
<value>DEX dekompilieren</value>
</data>
<data name="GetApkInfo" xml:space="preserve">
<value>APK-Info anzeigen</value>
</data>
<data name="NotDecompiledApk" xml:space="preserve">
<value>Ordner ist keine dekompilierte APK</value>
</data>
<data name="NotDecompiledDex" xml:space="preserve">
<value>Ordner ist kein dekompilierte DEX</value>
</data>
<data name="RequiredFilesMissing" xml:space="preserve">
<value>Erforderliche Dateien fehlen</value>
</data>
<data name="SignApk" xml:space="preserve">
<value>APK signieren</value>
</data>
<data name="TextFile" xml:space="preserve">
<value>Textdatei</value>
</data>
<data name="ZipalignApk" xml:space="preserve">
<value>Zipalign APK</value>
</data>
<data name="CreateUnsignedApk" xml:space="preserve">
<value>Unsignierte APK erstellen</value>
</data>
<data name="MetainfNotExist" xml:space="preserve">
<value>Ordner META-INF existiert nicht. Übersprungen</value>
</data>
<data name="ErrorGettingApkInfo" xml:space="preserve">
<value>Fehler beim Abrufen von APK-Informationen</value>
</data>
<data name="InputDirectory" xml:space="preserve">
<value>Eingabeverzeichnis: {0}</value>
</data>
<data name="InputFile" xml:space="preserve">
<value>Eingabedatei: {0}</value>
</data>
<data name="DeleteFile" xml:space="preserve">
<value>Datei löschen "{0}"</value>
</data>
<data name="CopyFileToTemp" xml:space="preserve">
<value>Datei "{0}" in temporäres Verzeichnis "{1}" kopieren</value>
</data>
<data name="CopyFolderToTemp" xml:space="preserve">
<value>Dekompilierten Apk-Ordner "{0}" in temporäre Verzeichnis "{1}" kopieren</value>
</data>
<data name="DecodeDesDirExists" xml:space="preserve">
<value>Zielverzeichnis "{0}" existiert bereits. Aktivieren "Löschen des Zielverzeichnisses erzwingen", wenn du es überschreiben möchtest.</value>
</data>
<data name="MoveTempApkFileToOutput" xml:space="preserve">
<value>Temporären Ordner "{0}" in das Ausgabeverzeichnis "{1}" verschieben</value>
</data>
<data name="MoveTempApkToOutput" xml:space="preserve">
<value>Temporäre Apk "{0}" in das Ausgabeverzeichnis "{1}" verschieben</value>
</data>
<data name="ParsingApkInfo" xml:space="preserve">
<value>APK-Informationen parsen …</value>
</data>
<data name="RestartApplicationPrompt" xml:space="preserve">
<value>Ein Neustart ist erforderlich, um die Änderungen zu übernehmen. Möchtest du die Anwendung neu starten?</value>
</data>
<data name="DecompilingAllApkFiles" xml:space="preserve">
<value>Alle APK-Dateien dekompilieren</value>
</data>
<data name="DetectedAsBase" xml:space="preserve">
<value>{0} als Basis erkannt</value>
</data>
<data name="DetectedAsSplit" xml:space="preserve">
<value>{0} als gesplittet erkannt</value>
</data>
<data name="ExtractingAllApkFiles" xml:space="preserve">
<value>Alle APK-Dateien extrahieren</value>
</data>
<data name="MergeFinishedMoveDir" xml:space="preserve">
<value>Zusammenführen abgeschlossen. Verzeichnis verschieben nach "{0}"</value>
</data>
<data name="MergingApk" xml:space="preserve">
<value>APK zusammenführen</value>
</data>
<data name="MovingBasedirectory" xml:space="preserve">
<value>Basisverzeichnis verschieben nach "{0}"</value>
</data>
<data name="DirNotExist" xml:space="preserve">
<value>Verzeichnis "{0}" existiert nicht</value>
</data>
<data name="TempDirectory" xml:space="preserve">
<value>Temp-Verzeichnis: "{0}"</value>
</data>
<data name="ErrorMerging" xml:space="preserve">
<value>Zusammenführen fehlgeschlagen</value>
</data>
<data name="MergingApkEditor" xml:space="preserve">
<value>APK mit APKEditor.jar zusammenführen</value>
</data>
<data name="Aborted" xml:space="preserve">
<value>Abgebrochen</value>
</data>
<data name="CancelProcess" xml:space="preserve">
<value>Sicher, dass du den Vorgang abbrechen willst?</value>
</data>
<data name="GettingDevices" xml:space="preserve">
<value>Geräte erkennen …</value>
</data>
<data name="PleaseWait" xml:space="preserve">
<value>Bitte warten …</value>
</data>
<data name="ConfirmKillingAdbServer" xml:space="preserve">
<value>Sicher, dass du den ADB-Server beenden willst? Möglicherweise musst du dein Gerät neu anschließen oder den Emulator neu starten.</value>
</data>
<data name="DeviceNotSelected" xml:space="preserve">
<value>Kein Gerät ausgewählt</value>
</data>
<data name="DeviceSelected" xml:space="preserve">
<value>Gerät ausgewählt "{0}"</value>
</data>
<data name="DevicesFound" xml:space="preserve">
<value>{0} Gerät gefunden</value>
</data>
<data name="InstallApkFailed" xml:space="preserve">
<value>APK Installation fehlgeschlagen</value>
</data>
<data name="InstallApkSuccessful" xml:space="preserve">
<value>APK Installation erfolgreich</value>
</data>
<data name="InstallingApk" xml:space="preserve">
<value>APK installieren</value>
</data>
<data name="InstallingApkPath" xml:space="preserve">
<value>APK installieren "{0}"</value>
</data>
<data name="NoDevicesFound" xml:space="preserve">
<value>Keine Geräte gefunden. Vergewissere dich, dass dein Gerät mit dem Computer verbunden ist und das ADB-Debugging aktiviert ist. Wenn du einen Emulator verwendest, starte ihn neu und warte, bis er hochgefahren ist</value>
</data>
<data name="TimeEnded" xml:space="preserve">
<value>Beendet: {0}</value>
</data>
<data name="TimeStarted" xml:space="preserve">
<value>Gestartet: {0}</value>
</data>
<data name="ClearFrameworkPrompt" xml:space="preserve">
<value>Es ist erforderlich, den Framework-Cache nach einer Änderung der Apktool-Version zu löschen, um unerwartete Fehler zu vermeiden. Möchtest du ihn jetzt löschen?</value>
</data>
<data name="ClearTempFolder" xml:space="preserve">
<value>Temp-Ordner löschen</value>
</data>
<data name="DeletingFolder" xml:space="preserve">
<value>Ordner löschen: {0}</value>
</data>
<data name="DirectoryNotExist" xml:space="preserve">
<value>Verzeichnis "{0}" existiert nicht</value>
</data>
<data name="OpenComFolder" xml:space="preserve">
<value>Kompilier-Ausgabeordner öffnen</value>
</data>
<data name="OpenDecFolder" xml:space="preserve">
<value>Dekompilier-Ausgabeordner öffnen</value>
</data>
<data name="FixApktoolYml" xml:space="preserve">
<value>Apktool.yml repariert</value>
</data>
<data name="CopyFileTo" xml:space="preserve">
<value>Datei "{0}" nach "{1}" kopieren</value>
</data>
<data name="SplitApkNotFound" xml:space="preserve">
<value>Split-APK nicht ausgewählt</value>
</data>
<data name="CantDetectApkeditorVersion" xml:space="preserve">
<value>APKEditor Version wird nicht erkannt</value>
</data>
<data name="SetLanguageRestartApplication" xml:space="preserve">
<value>Sprache installiert. Programm neu starten?</value>
</data>
</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>
+30 -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>
@@ -516,4 +513,34 @@
<data name="ClearFrameworkPrompt" xml:space="preserve">
<value>It is required to clear framework cache after changing Apktool version to avoid unexpected errors. Do you want to clear it now?</value>
</data>
<data name="ClearTempFolder" xml:space="preserve">
<value>Clearing temp folder</value>
</data>
<data name="DeletingFolder" xml:space="preserve">
<value>Deleting folder: {0}</value>
</data>
<data name="DirectoryNotExist" xml:space="preserve">
<value>The directory "{0}" does not exist</value>
</data>
<data name="OpenComFolder" xml:space="preserve">
<value>Open compile output folder</value>
</data>
<data name="OpenDecFolder" xml:space="preserve">
<value>Open decompile output folder</value>
</data>
<data name="FixApktoolYml" xml:space="preserve">
<value>Fixed apktool.yml</value>
</data>
<data name="CopyFileTo" xml:space="preserve">
<value>Copy file "{0}" to "{1}"</value>
</data>
<data name="SplitApkNotFound" xml:space="preserve">
<value>Split APK is not selected</value>
</data>
<data name="CantDetectApkeditorVersion" xml:space="preserve">
<value>Can't detect APKEditor version</value>
</data>
<data name="SetLanguageRestartApplication" xml:space="preserve">
<value />
</data>
</root>
+3 -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,7 @@
<data name="ClearFrameworkPrompt" xml:space="preserve">
<value>После изменения версии Apktool необходимо очистить кеш. Вы хотите очистить его сейчас?</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>
+274 -160
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">
@@ -426,4 +426,118 @@
<data name="MoveTempApkToOutput" xml:space="preserve">
<value>移动临时 apk"{0}" 到输出目录 "{1}"</value>
</data>
</root>
<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 调试。 如果您使用模拟器,请重新启动它并等待它启动</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>更改 Apktool 版本后需要清除 Framework 缓存以避免意外错误。 你想现在清除它吗?</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>
</root>
+60 -34
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);
@@ -30,6 +31,7 @@ namespace APKToolGUI
{
try
{
//Debug.WriteLine(Application.ProductName);
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
@@ -38,6 +40,9 @@ namespace APKToolGUI
SetProcessDPIAware();
}
PortableSettingsProvider.SettingsFileName = "config.xml";
PortableSettingsProvider.ApplyProvider(Settings.Default);
if (arg.Length == 1)
{
switch (arg[0])
@@ -48,6 +53,26 @@ namespace APKToolGUI
case "rcm":
ExplorerContextMenuMethod(ExplorerContextMenu.Action.Remove);
break;
case "opendecfolder":
if (Settings.Default.Decode_UseOutputDir)
{
string outDir = Settings.Default.Decode_OutputDir;
if (Directory.Exists(outDir))
Process.Start(outDir);
else
MessageBox.Show(String.Format(Language.DirectoryNotExist, outDir), Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
break;
case "opencomfolder":
if (Settings.Default.Build_UseOutputAppPath)
{
string outDir = Settings.Default.Build_OutputAppPath;
if (Directory.Exists(outDir))
Process.Start(outDir);
else
MessageBox.Show(String.Format(Language.DirectoryNotExist, outDir), Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
break;
}
}
else
@@ -67,10 +92,8 @@ namespace APKToolGUI
}
if (FilesCheck() == true)
{
PortableSettingsProvider.SettingsFileName = "config.xml";
PortableSettingsProvider.ApplyProvider(Settings.Default);
TEMP_PATH = TempDirectory();
TEMP_PATH = RandTempDirectory();
TEMP_MAIN = TempDirectory();
Directory.CreateDirectory(TEMP_PATH);
Theme theme = (Theme)Settings.Default.Theme;
@@ -96,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;
}
@@ -119,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;
}
@@ -220,15 +242,19 @@ namespace APKToolGUI
//Generate new every new instance to avoid conflict
//We want to keep obfuscated path short as possible to prevent long path error
if (Settings.Default.UseCustomTempDir)
return Path.Combine(Settings.Default.TempDir, StringExt.RandStrWithCaps(5));
return Path.Combine(Settings.Default.TempDir);
else
return Path.Combine(LOCAL_APPDATA_PATH, ASSEMBLY_NAME, StringExt.RandStrWithCaps(5));
return Path.Combine(LOCAL_APPDATA_PATH, ASSEMBLY_NAME, "Temp");
}
public static string RandTempDirectory()
{
return Path.Combine(TempDirectory(), StringExt.RandStrWithCaps(5));
}
public static string ASSEMBLY_NAME { get { return AssemblyName.GetAssemblyName(Assembly.GetExecutingAssembly().Location).Name; } }
public static string APP_NAME { get { return "APK Tool GUI"; } }
public static string TEMP_PATH { get; set; }
public static string TEMP_MAIN { get; set; }
public static string LOCAL_APPDATA_PATH { get { return Environment.GetEnvironmentVariable("LocalAppData"); } }
public static string APP_PATH { get { return Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); } }
public static string RES_PATH { get { return Path.Combine(APP_PATH, "Resources"); } }
+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-2023")]
[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.2.1.0")]
[assembly: AssemblyFileVersion("3.2.1.0")]
[assembly: AssemblyVersion("3.3.2.0")]
[assembly: AssemblyFileVersion("3.3.2.0")]
+198 -15
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.5.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 {
@@ -1037,8 +1037,10 @@ namespace APKToolGUI.Properties {
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public bool UseCustomTempDir {
get {
return ((bool)(this["UseCustomTempDir"]));
@@ -1049,8 +1051,10 @@ namespace APKToolGUI.Properties {
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public string TempDir {
get {
return ((string)(this["TempDir"]));
@@ -1061,8 +1065,10 @@ namespace APKToolGUI.Properties {
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public bool UseCustomJavaExe {
get {
return ((bool)(this["UseCustomJavaExe"]));
@@ -1073,8 +1079,10 @@ 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.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public bool AutoDeleteIdsigFile {
get {
return ((bool)(this["AutoDeleteIdsigFile"]));
@@ -1085,8 +1093,10 @@ namespace APKToolGUI.Properties {
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public bool Utf8FilenameSupport {
get {
return ((bool)(this["Utf8FilenameSupport"]));
@@ -1097,8 +1107,10 @@ namespace APKToolGUI.Properties {
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public bool Sign_OverwriteInputFile {
get {
return ((bool)(this["Sign_OverwriteInputFile"]));
@@ -1109,20 +1121,10 @@ namespace APKToolGUI.Properties {
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool Decode_UseApkEditorMergeApk {
get {
return ((bool)(this["Decode_UseApkEditorMergeApk"]));
}
set {
this["Decode_UseApkEditorMergeApk"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public bool Adb_SetVendor {
get {
return ((bool)(this["Adb_SetVendor"]));
@@ -1133,8 +1135,10 @@ namespace APKToolGUI.Properties {
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public string Adb_SelectedApkPath {
get {
return ((string)(this["Adb_SelectedApkPath"]));
@@ -1145,8 +1149,10 @@ namespace APKToolGUI.Properties {
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public bool Sign_InstallApkAfterSign {
get {
return ((bool)(this["Sign_InstallApkAfterSign"]));
@@ -1157,8 +1163,10 @@ namespace APKToolGUI.Properties {
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public bool UseCustomApktool {
get {
return ((bool)(this["UseCustomApktool"]));
@@ -1169,8 +1177,10 @@ namespace APKToolGUI.Properties {
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public string ApktoolPath {
get {
return ((string)(this["ApktoolPath"]));
@@ -1181,8 +1191,10 @@ namespace APKToolGUI.Properties {
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("0")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public int Theme {
get {
return ((int)(this["Theme"]));
@@ -1191,5 +1203,176 @@ namespace APKToolGUI.Properties {
this["Theme"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public bool DebugMode {
get {
return ((bool)(this["DebugMode"]));
}
set {
this["DebugMode"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public bool Build_NetSecConf {
get {
return ((bool)(this["Build_NetSecConf"]));
}
set {
this["Build_NetSecConf"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public bool Decode_DontParseApkInfo {
get {
return ((bool)(this["Decode_DontParseApkInfo"]));
}
set {
this["Decode_DontParseApkInfo"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public bool UseCustomJVMArgs {
get {
return ((bool)(this["UseCustomJVMArgs"]));
}
set {
this["UseCustomJVMArgs"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("-Dfile.encoding=UTF8 -Djdk.util.zip.disableZip64ExtraFieldValidation=true -Djdk.n" +
"io.zipfs.allowDotZipEntry=true")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public string CustomJVMArgs {
get {
return ((string)(this["CustomJVMArgs"]));
}
set {
this["CustomJVMArgs"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public string SplitApk_InputFile {
get {
return ((string)(this["SplitApk_InputFile"]));
}
set {
this["SplitApk_InputFile"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Configuration.SettingsProviderAttribute(typeof(Bluegrams.Application.PortableSettingsProvider))]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
[global::System.Configuration.SettingsManageabilityAttribute(global::System.Configuration.SettingsManageability.Roaming)]
public bool UseApkeditor {
get {
return ((bool)(this["UseApkeditor"]));
}
set {
this["UseApkeditor"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("0")]
public int Adb_OverrideAbi {
get {
return ((int)(this["Adb_OverrideAbi"]));
}
set {
this["Adb_OverrideAbi"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool Adb_SetOverrideAbi {
get {
return ((bool)(this["Adb_SetOverrideAbi"]));
}
set {
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;
}
}
}
}
+53 -17
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,49 +216,85 @@
<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>
</Setting>
<Setting Name="UseCustomTempDir" Type="System.Boolean" Scope="User">
<Setting Name="UseCustomTempDir" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="TempDir" Type="System.String" Scope="User">
<Setting Name="TempDir" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="UseCustomJavaExe" Type="System.Boolean" Scope="User">
<Setting Name="UseCustomJavaExe" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="AutoDeleteIdsigFile" Type="System.Boolean" Scope="User">
<Setting Name="AutoDeleteIdsigFile" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="Utf8FilenameSupport" Type="System.Boolean" Scope="User">
<Setting Name="Utf8FilenameSupport" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="Sign_OverwriteInputFile" Type="System.Boolean" Scope="User">
<Setting Name="Sign_OverwriteInputFile" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="Decode_UseApkEditorMergeApk" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="Adb_SetVendor" Type="System.Boolean" Scope="User">
<Setting Name="Adb_SetVendor" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="Adb_SelectedApkPath" Type="System.String" Scope="User">
<Setting Name="Adb_SelectedApkPath" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="Sign_InstallApkAfterSign" Type="System.Boolean" Scope="User">
<Setting Name="Sign_InstallApkAfterSign" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="UseCustomApktool" Type="System.Boolean" Scope="User">
<Setting Name="UseCustomApktool" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="ApktoolPath" Type="System.String" Scope="User">
<Setting Name="ApktoolPath" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="Theme" Type="System.Int32" Scope="User">
<Setting Name="Theme" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.Int32" Scope="User">
<Value Profile="(Default)">0</Value>
</Setting>
<Setting Name="DebugMode" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="Build_NetSecConf" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="Decode_DontParseApkInfo" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="UseCustomJVMArgs" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="CustomJVMArgs" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.String" Scope="User">
<Value Profile="(Default)">-Dfile.encoding=UTF8 -Djdk.util.zip.disableZip64ExtraFieldValidation=true -Djdk.nio.zipfs.allowDotZipEntry=true</Value>
</Setting>
<Setting Name="SplitApk_InputFile" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="UseApkeditor" Provider="Bluegrams.Application.PortableSettingsProvider" Roaming="true" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="Adb_OverrideAbi" Type="System.Int32" Scope="User">
<Value Profile="(Default)">0</Value>
</Setting>
<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>
+57
View File
@@ -0,0 +1,57 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.WindowsAPICodePack.Taskbar;
using System.IO;
using System.Reflection;
using Microsoft.WindowsAPICodePack.Shell;
using APKToolGUI.Languages;
namespace APKToolGUI
{
public class TaskBarJumpList
{
private JumpList list;
/// <summary>
/// Creating a JumpList for the application
/// </summary>
/// <param name="windowHandle"></param>
public TaskBarJumpList(IntPtr windowHandle)
{
list = JumpList.CreateJumpListForIndividualWindow(TaskbarManager.Instance.ApplicationId, windowHandle);
list.KnownCategoryToDisplay = JumpListKnownCategoryType.Recent;
BuildList();
}
public void AddToRecent(string destination)
{
//Call JumpList.AddToRecent(destination); because of bug
JumpList.AddToRecent(destination);
list.Refresh();
}
public void AddTasks(string titleValue, string args)
{
JumpListLink jumpListLink = new JumpListLink(Assembly.GetEntryAssembly().Location, titleValue);
jumpListLink.IconReference = new IconReference(Assembly.GetEntryAssembly().Location, 3);
jumpListLink.Arguments = args;
list.AddUserTasks(jumpListLink);
}
/// <summary>
/// Builds the Jumplist
/// </summary>
private void BuildList()
{
JumpListCustomCategory userActionsCategory = new JumpListCustomCategory("Actions");
AddTasks(Language.OpenDecFolder, "opendecfolder");
AddTasks(Language.OpenComFolder, "opencomfolder");
list.Refresh();
}
}
}
-1
View File
@@ -28,7 +28,6 @@ namespace APKToolGUI.Utils
}
else
{
MessageBox.Show("Error Loading File.", "Error!", MessageBoxButtons.OK);
return null;
}
}
+5 -5
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)
{
// Debug.WriteLine("CMD: " + FileName + " " + 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"))
{
+3 -2
View File
@@ -3,6 +3,7 @@ using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using System.Windows.Markup;
namespace SaveToGameWpf.Logic.Utils
{
@@ -39,7 +40,7 @@ namespace SaveToGameWpf.Logic.Utils
string[] files = e.GetFilesDrop();
if (extensions == null && Directory.Exists(files[0]))
e.Effect = DragDropEffects.Copy;
else if (extensions.Any(ext => files[0].EndsWith(ext, StringComparison.Ordinal)))
else if (extensions != null && extensions.Any(ext => files[0].EndsWith(ext, StringComparison.Ordinal)))
e.Effect = DragDropEffects.Copy;
else
e.Effect = DragDropEffects.None;
@@ -73,7 +74,7 @@ namespace SaveToGameWpf.Logic.Utils
e.Effect = DragDropEffects.Move;
return true;
}
else if (extensions.Any(ext => files[0].EndsWith(ext, StringComparison.Ordinal)))
else if (extensions != null && extensions.Any(ext => files[0].EndsWith(ext, StringComparison.Ordinal)))
{
e.Effect = DragDropEffects.Move;
return true;
+5 -4
View File
@@ -3,6 +3,7 @@ using Microsoft.Win32;
using APKToolGUI.Languages;
using APKToolGUI.Utils;
using Microsoft.Build.Framework.XamlTypes;
using System.Windows.Forms;
namespace APKToolGUI
{
@@ -24,9 +25,9 @@ namespace APKToolGUI
try
{
#region Add context menu to registry
RegistryKey apkToolGUIFolderShell = Registry.ClassesRoot.OpenSubKey(@"Directory\shell", RegistryKeyPermissionCheck.ReadWriteSubTree, System.Security.AccessControl.RegistryRights.FullControl).CreateSubKey(Program.APP_NAME, RegistryKeyPermissionCheck.ReadWriteSubTree);
RegistryKey apkToolGUIFolderShell = Registry.ClassesRoot.OpenSubKey(@"Directory\shell", RegistryKeyPermissionCheck.ReadWriteSubTree, System.Security.AccessControl.RegistryRights.FullControl).CreateSubKey(Application.ProductName, RegistryKeyPermissionCheck.ReadWriteSubTree);
apkToolGUIFolderShell.SetValue("Icon", executablePath);
apkToolGUIFolderShell.SetValue("MUIVerb", Program.APP_NAME);
apkToolGUIFolderShell.SetValue("MUIVerb", Application.ProductName);
apkToolGUIFolderShell.SetValue("SubCommands", "APKToolGUI.Build;APKToolGUI.Smali");
apkToolGUIFolderShell.Close();
@@ -103,10 +104,10 @@ namespace APKToolGUI
{
Registry.ClassesRoot.OpenSubKey("SystemFileAssociations", RegistryKeyPermissionCheck.ReadWriteSubTree, System.Security.AccessControl.RegistryRights.FullControl).CreateSubKey(fileExtension, RegistryKeyPermissionCheck.ReadWriteSubTree).CreateSubKey("DefaultIcon", RegistryKeyPermissionCheck.ReadWriteSubTree).SetValue("", executablePath, RegistryValueKind.ExpandString);
RegistryKey shell = Registry.ClassesRoot.OpenSubKey(@"SystemFileAssociations\" + fileExtension, RegistryKeyPermissionCheck.ReadWriteSubTree, System.Security.AccessControl.RegistryRights.CreateSubKey).CreateSubKey("shell", RegistryKeyPermissionCheck.ReadWriteSubTree).CreateSubKey(Program.APP_NAME, RegistryKeyPermissionCheck.ReadWriteSubTree);
RegistryKey shell = Registry.ClassesRoot.OpenSubKey(@"SystemFileAssociations\" + fileExtension, RegistryKeyPermissionCheck.ReadWriteSubTree, System.Security.AccessControl.RegistryRights.CreateSubKey).CreateSubKey("shell", RegistryKeyPermissionCheck.ReadWriteSubTree).CreateSubKey(Application.ProductName, RegistryKeyPermissionCheck.ReadWriteSubTree);
shell.SetValue("Icon", "\"" + executablePath + "\"");
shell.SetValue("MUIVerb", Program.APP_NAME);
shell.SetValue("MUIVerb", Application.ProductName);
shell.SetValue("SubCommands", subCommands);
shell.Close();
}
+62
View File
@@ -0,0 +1,62 @@
using APKToolGUI;
using APKToolGUI.Properties;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows.Media;
namespace APKToolGUI.Utils
{
/// <summary>
/// simple logging wrapper class
/// </summary>
public static class Log
{
/// <summary>
/// log message with level VERBOSE (may be disabled)
/// </summary>
/// <param name="s">the string to log</param>
public static void v(string s)
{
if (!Settings.Default.DebugMode) return;
FormMain.Instance.ToLog(ApktoolEventType.None, s);
}
/// <summary>
/// log message with level DEBUG (may be disabled)
/// </summary>
/// <param name="s">the string to log</param>
public static void d(string s)
{
if (!Settings.Default.DebugMode) return;
FormMain.Instance.ToLog(ApktoolEventType.Infomation, s);
}
/// <summary>
/// log message with level INFO
/// </summary>
/// <param name="s">the string to log</param>
public static void i(string s)
{
FormMain.Instance.ToLog(ApktoolEventType.Infomation, s);
}
/// <summary>
/// log message with level WARNING
/// </summary>
/// <param name="s">the string to log</param>
public static void w(string s)
{
FormMain.Instance.ToLog(ApktoolEventType.Warning, s);
}
/// <summary>
/// log message with level ERROR
/// </summary>
/// <param name="s">the string to log</param>
public static void e(string s)
{
FormMain.Instance.ToLog(ApktoolEventType.Error, s);
}
}
}
+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;
}
}
+3 -10
View File
@@ -6,6 +6,7 @@ using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Documents;
namespace APKToolGUI.Utils
{
@@ -145,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;
@@ -163,5 +155,6 @@ namespace APKToolGUI.Utils
}
}
}
}
}
}
+59 -7
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>
@@ -244,9 +244,6 @@
<setting name="Sign_OverwriteInputFile" serializeAs="String">
<value>False</value>
</setting>
<setting name="Decode_UseApkEditorMergeApk" serializeAs="String">
<value>True</value>
</setting>
<setting name="Adb_SetVendor" serializeAs="String">
<value>False</value>
</setting>
@@ -265,6 +262,45 @@
<setting name="Theme" serializeAs="String">
<value>0</value>
</setting>
<setting name="DebugMode" serializeAs="String">
<value>False</value>
</setting>
<setting name="Build_NetSecConf" serializeAs="String">
<value>False</value>
</setting>
<setting name="Decode_DontParseApkInfo" serializeAs="String">
<value>False</value>
</setting>
<setting name="UseCustomJVMArgs" serializeAs="String">
<value>False</value>
</setting>
<setting name="CustomJVMArgs" serializeAs="String">
<value>-Dfile.encoding=UTF8 -Djdk.util.zip.disableZip64ExtraFieldValidation=true -Djdk.nio.zipfs.allowDotZipEntry=true</value>
</setting>
<setting name="SplitApk_InputFile" serializeAs="String">
<value />
</setting>
<setting name="UseApkeditor" serializeAs="String">
<value>False</value>
</setting>
<setting name="Adb_OverrideAbi" serializeAs="String">
<value>0</value>
</setting>
<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>
@@ -272,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" />
@@ -284,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>
+25 -18
View File
@@ -1,65 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Costura.Fody" version="5.7.0" targetFramework="net48" developmentDependency="true" />
<package id="DarkNet" version="2.2.0" targetFramework="net48" />
<package id="DotNetZip" version="1.16.0" targetFramework="net48" />
<package id="Fody" version="6.7.0" targetFramework="net48" developmentDependency="true" />
<package id="Microsoft.NETCore.Platforms" version="7.0.2" targetFramework="net48" />
<package id="Costura.Fody" version="6.0.0" targetFramework="net48" developmentDependency="true" />
<package id="DarkNet" version="2.3.0" targetFramework="net48" />
<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.4" targetFramework="net48" />
<package id="Microsoft-WindowsAPICodePack-Shell" version="1.1.4" targetFramework="net48" />
<package id="Microsoft-WindowsAPICodePack-Core" version="1.1.5" targetFramework="net48" />
<package id="Microsoft-WindowsAPICodePack-Shell" version="1.1.5" targetFramework="net48" />
<package id="NETStandard.Library" version="2.0.3" targetFramework="net48" />
<package id="Ookii.Dialogs.WinForms" version="4.0.0" targetFramework="net48" />
<package id="OSVersionExt" version="2.0.0" targetFramework="net48" />
<package id="PortableSettingsProvider" version="0.2.4" 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.2.4" 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="7.0.2" 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="7.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>
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 27 KiB

+24
View File
@@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <https://unlicense.org>
+28 -22
View File
@@ -10,24 +10,28 @@ 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.
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.
# Requirements
- Windows 7 32-bit/64-bit and above
- [Java Runtime Environment](https://www.java.com/en/)/[Java SE Development Kit](https://www.oracle.com/java/technologies/downloads/) 8 and above. Highly recommended to 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 10 and above have it preinstalled)
- [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
- [.NET Framework 4.8](https://dotnet.microsoft.com/en-us/download/dotnet-framework/net48) (Windows 8 and above already have it preinstalled)
# Features
- Decompile APK
- Decompile and merge split APK/XAPK/APKS/ZIP/APKM using build-in split merging and APKEditor.jar (Default)
- Compile APK
- Decompile & compile APK using Apktool
- Decompile APK/XAPK/APKS/ZIP/APKM & compile APK using APKEditor.jar. Automatically detect if APK was decompiled using Apktool or APKEditor
- Merge XAPK/APKS/ZIP/APKM using APKEditor.jar
- Sign APK
- Zipalign APK
- Adb
- ADB
- Framework
- Drag and drop
- APK info
- Log output
- All features from [Apktool](https://ibotpeaches.github.io/Apktool/documentation/).
- Additional features that can fix some Apktool errors, such as removing DUMMY_APKTOOL, clear framework before decompiling
- All other features from [Apktool](https://ibotpeaches.github.io/Apktool/documentation/).
- Fix some Apktool errors, such as removing DUMMY_APKTOOL, clear framework before decompiling
- Multi language
- Right-click context menu
- Create unsigned APK for Core Patch
@@ -35,11 +39,12 @@ https://github.com/AndnixSH/APKToolGUI/releases
- Long path support (Windows 10 and above)
# Languages
- Brazilian Portuguese (Incomplete)
- English
- Brazilian Portuguese (Incomplete)
- Hungary (Incomplete)
- Russian (Incomplete)
- Chinese Simplified (Incomplete)
- German
### Translation
If you like to help translate with your native language, I recommend using Visual Studio 2022. You don't need any programming knowledge, you just edit the GUI and the `.resx` files
@@ -56,6 +61,8 @@ https://user-images.githubusercontent.com/40742924/227244601-6f796141-ac2d-4c60-
If you can't use Visual Studio, you can use translator tools like [resxtranslator](https://github.com/HakanL/resxtranslator) or [RESX Translator automat](https://www.utilstudio.com/en/resx-translator/), but make sure the `.resx` file is added to [APKToolGUI.csproj](https://github.com/AndnixSH/APKToolGUI/blob/master/APKToolGUI/APKToolGUI.csproj), otherwise Visual Studio would not be able to detect it
3rd party tools can't be translated.
Make pull request when you are done
# Issues
@@ -69,7 +76,7 @@ Anything else, [create a new issue](https://github.com/AndnixSH/APKToolGUI/issue
# FAQ
##### Q: Can it be ported to other OS like Linux?
A: Maybe, but it's not easy since Microsoft is dumb for not supporting it for .NET Core, unlike Java FX which supported all platforms. If you know, feel free to open an issue
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
##### Q: How to update Apktool?
A: Download [Apktool.jar](https://github.com/iBotPeaches/Apktool/releases) and replace it on Resources folder
@@ -80,20 +87,11 @@ A: Download [Baksmali.jar/Smali.jar](https://bitbucket.org/JesusFreke/smali/down
##### Q: How to reset?
A: Simply delete the config.xml file from the directory of the executeable
##### Q: Why this tool is a virus?
A: It just a false positive, anti-virus always flag tools/softwares like this as virus. Don't always believe what your anti-virus are telling you. Try to compile the source by yourself and you will see
##### Q: Can you make an automatic APK injecting tool?
A: No, that's out of scope of this tool, and I'm not interested.
A: No, I'm not interested.
##### Q: Can you implement to convert APK to AAB?
A: No, apktool is about recompiling, not about converting to other formats. AAB is only used for distributing an application to Play Store. It is not directly installable.
##### Q: Can you implement an option to protect/pack/obfuscate APK?
A: No, APK protection is beyond the scope of this tool
##### Q: Can you implement an option 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
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
##### 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)
@@ -101,6 +99,12 @@ A: Download from [Apkcombo's APK downloader](https://apkcombo.com/downloader/),
##### Q: Can you help me with modding APK in general?
A: Sorry, I don't offer support with it.
##### Q: Can you implement features to protect/pack/obfuscate APK?
A: No, APK protection is beyond the scope of this tool
##### 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
# Development
This project is written in C#
@@ -111,7 +115,9 @@ Use Visual Studio 2019 and above. NET Framework 4.8 SDK is required
- INF1NUM (Original author of [APKToolGUI](https://github.com/INF1NUM/APKToolGUI))
- iBotPeaches ([Apktool CLI](https://ibotpeaches.github.io/Apktool/))
- REAndroid ([APKEditor](https://github.com/REAndroid/APKEditor))
- shadow578 ([ApksMerger](https://github.com/shadow578/ApksMerger))
# Disclaimer
Same as Apktool by iBotPeaches, It is NOT intended for piracy and other non-legal uses. It could be used for localizing, adding some features or support for custom platforms and other GOOD purposes. Just try to be fair with authors of an app, that you use and probably like.
# License
The original repo does not have a license but I have permission from the author to use ane distribute this project as "open source"... I don't know what license to use so I'll just add license as unlicensed
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.

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