final AUR package:
https://aur.archlinux.org/packages/doc2x
official website provides win exe file, size is around 70-80M, likely to be electron.
download it, check the string.
strings doc2x.exe | grep '^Chrome/[0-9.]* Electron/[0-9]'
Chrome/112.0.5615.204 Electron/24.8.8
after some 7z x
+ asar e
, get the app
folder
download the electron24 dependency.
ELECTRON_ENABLE_LOGGING=1 electron24 app/
At first, it white screen.
check the log, seems will check the system.
do some brute force replacement.
sed -i '[email protected]@(true)@g
[email protected]@"darwin"@g' app/dist/main/index.cjs # mac has window decoration
then it works.
it requires weixin to work, so I asked others.