Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes Chrome and Edge when downloading an apk file. #112

Open
JoeYe-233 opened this issue Jul 25, 2022 · 9 comments
Open

Crashes Chrome and Edge when downloading an apk file. #112

JoeYe-233 opened this issue Jul 25, 2022 · 9 comments

Comments

@JoeYe-233
Copy link

As long as the browser attempts to render the file icon of the apk file that it downloads, it immediately crashes.

When click the download manager icon of Edge, it also crashes of there is an apk file in the list. Like, when you just downloaded an apk file.

@Zebra2711
Copy link

Same. I think the problem is it does not support showing the icon of the ".apk" file when downloaded in a web browser yet.

@JoeYe-233
Copy link
Author

I’ve worked out a temporary solution so far :
ban msedge.exe and chrome.exe from accessing the reg key that records the info for .apk and .ipa file.

For me it’s HKLM\SOFTWARE\Classes\apk.1 (and itunes.ipa for ipa files) and I can apply the ban via my antivirus software (anything with HIPS will do the job).

It’s not perfect tho. The browser will just show a blank icon for it. But at least it works :/

@Zebra2711
Copy link

Did you use it on win 11? I tried using it on win 10 (32bit& 64bit) and I don't have any errors. But the icon of the file apk when I download is the default icon.

@JoeYe-233
Copy link
Author

Well, I'm currently on Windows 10 20H2.

Just tested with Edge on my Win11 VM and it worked fine, the icon showed up as a little android with a green filled circle as background. Just as what it should be.. Wierd...🤔🤔

By the way, the detailed sysinfo:
Host: Windows 10 20H2 64-bit 10.0.19042 Build 19042 + Edge 104.0.1293.54
Win11 VM: Windows 11 10.0.22483 Build 22483 + Edge 104.0.1293.54

@kkguo
Copy link
Owner

kkguo commented Aug 15, 2022

this might be also relates to the cpk you are downloading. cannot support newest format (protobuf) yet... :(

@blackcrack
Copy link

blackcrack commented Aug 16, 2022

@kkguo :) you know the newest pack-format.. and have it in the head :) good start ;) i am already curious about the newest version :) and don't forget a silent install switch :) "/s" or "/qi" or so..

goto :fileswiches

::>>>==File-Switches=================================================
:fileswiches
if "%~1"=="-i" GOTO :INSTALL   &:: Jumping directly to Installing the whole Rollup
if "%~1"=="/i" GOTO :INSTALL
if "%~1"=="-msu" GOTO :MSU   &:: with this can you make a 2nd stage where you install msu-files and other MS-Updates only in the installer if you have install regfiles
if "%~1"=="/msu" GOTO :MSU   &:: and foreign files allready so create only a :MSU jump point and call it directly via switch msu
if "%~1"=="-esu" GOTO :ESU   &:: and foreign files allready so create only a :ESU jump point and call it directly via switch msu
if "%~1"=="/esu" GOTO :ESU   &:: and foreign files allready so create only a :ESU jump point and call it directly via switch msu
if "%~1"=="/?" call :help & echo Please use Anykey & pause >NUL 
if "%~1"=="-?" call :help & echo Please use Anykey & pause >NUL 
if "%~1"=="/h" call :help & echo Please use Anykey & pause >NUL
if "%~1"=="-h" call :help & echo Please use Anykey & pause >NUL
if "%~1"=="" GOTO :MENU
if not "%~1"=="" GOTO :help
goto :eof
::<<<==File-Switches=================================================

:MENU is the next Jumppoint without any swiches ..

:help
cls
title This is the Help of Setup/update Batch
color
echo.
echo.
echo.
echo   ****************************************************************************
echo   * This is a automatic batch installer for Enhanced/ more Experiance Users  *
echo   * IF you know what you do can you edit this file for Configuring           *
echo   *                                                                          *
echo   * -i   = can you let run the WinNT update Routine for a rollup             *
echo   *        update 1.+ 2.Stage                                                *
echo   *                                                                          *
echo   * -msu = Microsoft Service Updates and Actualisation rollup Update only    *
echo   *        as a 2nd stage, in the first one can you let install only once    *
echo   *                                                                          *
echo   * -h  to see this lil' help                                                *
echo   *                                                                          *
echo   *  the Batch support also :                                                *
echo   *           call :runonce, :runonceinstall, :runoncemsu  and :runoncedel   *
echo   *                                                                          *
echo   ****************************************************************************
echo.
echo.
GOTO :stopping
::==============================
:stopping
endlocal
::del /S /Q C:\tmp 
::rd /S /Q C:\tmp
color & endlocal
goto :eof
::------------------------------------------------------------------------------

"goto :eof" is for "call" funtions, to call pnly the :funtion then goto :EOF and work with other funktions or jumppoints

blackysgate.de/files/folder-root/batch-files/

best

@1595901624
Copy link

I think I've found the reason, and later, I'll build a new version.

@1595901624
Copy link

我想我已经找到了原因,稍后,我将构建一个新版本。我想我已经找到原因了,稍后,我将构建一个新版本。

Please visit https://github.com/1595901624/apkshellext/releases/tag/v3.0.0 and download it.

@narfa0215
Copy link

我想我已经找到了原因,稍后,我将构建一个新版本。我想我已经找到原因了,稍后,我将构建一个新版本。

Please visit https://github.com/1595901624/apkshellext/releases/tag/v3.0.0 and download it.

不好意思,打扰一下,这个修复确实有效,请问您是如何修复这个问题的呢?谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants