Last active
November 8, 2021 03:22
-
-
Save Beej126/4aa86ad45b1cb77a9ee922e8d53448fc to your computer and use it in GitHub Desktop.
Revisions
-
Beej126 revised this gist
Nov 6, 2021 . 1 changed file with 4 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,8 @@ # Prerequisites - currently this requires at least Windows 11 insider *beta* channel - [install guide](https://www.windowscentral.com/how-get-started-android-apps-windows-11) - and "adb.exe" must be in your system path - [install guide](https://nerdschalk.com/windows-11-how-to-sideload-apk-using-windows-subsystem-for-android-and-adb/) # Install Steps 1. download these files to a local folder 2. double click the android_subsys_install_apk_context_menu_setup.cmd -
Beej126 revised this gist
Nov 6, 2021 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,7 @@ # Install Steps -1. currently this requires at least Windows 11 insider *beta* channel - [install guide](https://www.windowscentral.com/how-get-started-android-apps-windows-11) 0. add "adb.exe" to your system path - [install guide](https://nerdschalk.com/windows-11-how-to-sideload-apk-using-windows-subsystem-for-android-and-adb/) 1. download these files to a local folder 2. double click the android_subsys_install_apk_context_menu_setup.cmd -
Beej126 revised this gist
Nov 6, 2021 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,14 +2,14 @@ 1. download these files to a local folder 2. double click the android_subsys_install_apk_context_menu_setup.cmd ## that's it, now you have a new context menu:  ## what to expect:  ## launch new apps from start menu (pretty slick there msft):  -
Beej126 revised this gist
Nov 6, 2021 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,4 +8,8 @@ that's it, now you have a new context menu: what to expect:  launch new apps from start menu (pretty slick there msft):  -
Beej126 revised this gist
Nov 6, 2021 . 2 changed files with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,4 +4,8 @@ that's it, now you have a new context menu:  what to expect:  This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ reg add "HKEY_CURRENT_USER\Software\Classes\.apk" /f /ve /t REG_SZ /d WSA_APK_Install :: progid provides the windows explorer context menu... reg add "HKEY_CURRENT_USER\Software\Classes\WSA_APK_Install\shell\Install to Android Subsys on Windows\command" /f /ve /t REG_EXPAND_SZ /d "cmd /c clear & mode 80,15 & title WSA APK Installer & echo, & echo, & adb connect 127.0.0.1:58526 & adb install \"^%%L\" & timeout /t 5" :: ...and file icon reg add "HKEY_CURRENT_USER\Software\Classes\WSA_APK_Install\DefaultIcon" /f /ve /t REG_EXPAND_SZ /d "%~dp0android.ico,0" -
Beej126 revised this gist
Nov 6, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,4 +3,5 @@ 2. double click the android_subsys_install_apk_context_menu_setup.cmd that's it, now you have a new context menu:  -
Beej126 revised this gist
Nov 6, 2021 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1,6 @@ # Install Steps 1. download these files to a local folder 2. double click the android_subsys_install_apk_context_menu_setup.cmd that's it, now you have a new context menu:  -
Beej126 revised this gist
Nov 6, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@  -
Beej126 revised this gist
Nov 6, 2021 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
Binary file not shown. -
Beej126 created this gist
Nov 6, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ :: associate apk file extension with ProgId reg add "HKEY_CURRENT_USER\Software\Classes\.apk" /f /ve /t REG_SZ /d WSA_APK_Install :: progid provides the windows explorer context menu... reg add "HKEY_CURRENT_USER\Software\Classes\WSA_APK_Install\shell\Install to Android Subsys on Windows\command" /f /ve /t REG_EXPAND_SZ /d "cmd /c clear & adb connect 127.0.0.1:58526 & adb install \"^%%L\" & timeout /t 5" :: ...and file icon reg add "HKEY_CURRENT_USER\Software\Classes\WSA_APK_Install\DefaultIcon" /f /ve /t REG_EXPAND_SZ /d "%~dp0android.ico,0" @timeout /t 5