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

DoWork Exited with code [0] #6

Open
CoreJa opened this issue Nov 2, 2020 · 1 comment
Open

DoWork Exited with code [0] #6

CoreJa opened this issue Nov 2, 2020 · 1 comment
Labels
question Further information is requested

Comments

@CoreJa
Copy link

CoreJa commented Nov 2, 2020

环境如下:
OS: Manjaro 20.1.2 Mikah
Kernel: x86_64 Linux 5.9.1-1-MANJARO
Docker version: 19.03.12-ce, build 48a66213fe

debug开启后的log如下:

🚀 Pulling the latest docker image done.
🚀 Starting DoWork /dɑɑˈwɜːk/ ...

+ main
++ id -u
+ '[' 0 -ne 0 ']'
+ setupUserGroup
+ '[' -n 995 ']'
+ groupmod -o -g 995 audio
+ '[' -n 986 ']'
+ groupmod -o -g 986 video
++ id -g user
+ '[' 1000 '!=' 1000 ']'
++ id -u user
+ '[' 1000 '!=' 1000 ']'
+ chown user:group '/home/user/.wine/drive_c/users/user/Application Data' /home/user/WXWork
+ setupHostname
+ export HOSTNAME=DoWork
+ HOSTNAME=DoWork
+ echo DoWork
+ hostname DoWork
+ exec gosu user /entrypoint.sh
+ main
++ id -u
+ '[' 1000 -ne 0 ']'
+ startWXWork
+ hello
++ cat /VERSION
+ VERSION=0.2.0
+ echo '[DoWork] 盒装企业微信 v0.2.0'
+ disableUpgrade
+ echo 'To be write'
[DoWork] 盒装企业微信 v0.2.0
+ setupFontDpi
+ DELETE_KEYS=('HKEY_CURRENT_USER\Control Panel\Desktop' 'HKEY_CURRENT_USER\Software\Wine\Fonts')
+ for key in "${DELETE_KEYS[@]}"
+ wine reg DELETE 'HKEY_CURRENT_USER\Control Panel\Desktop' /v LogPixels /f
+ true
+ for key in "${DELETE_KEYS[@]}"
+ wine reg DELETE 'HKEY_CURRENT_USER\Software\Wine\Fonts' /v LogPixels /f
+ wine reg ADD 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts' /v LogPixels /t REG_DWORD /d 120 /f
+ true
+ echo '[DoWork] Starting...'
+ '[' -n true ']'
+ unset WINEDEBUG
+ wine 'C:\Program Files\WXWork\WXWork.exe'
[DoWork] Starting...
002e:fixme:msvcrt:_configure_wide_argv (1) stub
002e:fixme:msvcrt:_initialize_wide_environment stub
002e:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032FDE4 1 C) semi-stub
002e:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032FE08 1 C) semi-stub
002e:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032FCBC 1 C) semi-stub
002e:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032FC3C 1 C) semi-stub
002e:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032F490 1 C) semi-stub
002e:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032F340 1 C) semi-stub
002e:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032F184 1 C) semi-stub
002f:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (06CBF8E8 1 *) semi-stub
002f:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (06CBF8E8 1 C) semi-stub
002f:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (06CBF798 1 C) semi-stub
002f:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (06CBF738 1 C) semi-stub
002f:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (06CBF69C 1 *) semi-stub
002e:fixme:netprofm:connection_point_Advise 06506A60, 063B2C98, 06329A90 - semi-stub
0041:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0041:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
002e:fixme:netprofm:connection_point_Advise 06506F70, 063E3588, 063E3560 - semi-stub
002e:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x805a510, 0x80c39b0, 0x80c65c8) stub.
002e:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032F7E4 1 C) semi-stub
002e:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032F92C 1 C) semi-stub
002e:fixme:win:UnregisterTouchWindow (0x10046): stub
002e:fixme:win:RegisterTouchWindow ((nil) 00000000): stub
002e:fixme:advapi:OpenEventLogW ((null),L"System") stub
002e:fixme:advapi:ReadEventLogA (0xcafe4242,0x00000009,0x00000000,0x6b65e28,0x00010000,0x32fad4,0x32fad8) stub
002e:fixme:advapi:CloseEventLog (0xcafe4242) stub
002e:fixme:netprofm:ConnectionPointContainer_FindConnectionPoint interface {dcb00004-570f-4a9b-8d69-199fdba5723b} not implemented
002e:fixme:netprofm:ConnectionPointContainer_FindConnectionPoint interface {dcb00004-570f-4a9b-8d69-199fdba5723b} not implemented
002e:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
002e:fixme:msvcrt:__clean_type_info_names_internal (0x3e73a4) stub
002e:fixme:msvcrt:__clean_type_info_names_internal (0x62fd424) stub
+ true
++ pgrep -i WXWork.exe
+ '[' -n '' ']'
+ echo '[DoWork] WXWork.exe exited'
+ break
+ unset upgrading
+ true
[DoWork] WXWork.exe exited
++ pgrep -i WeWorkUpdate.ex

+ '[' -z '' ']'
+ echo
+ break
+ '[' -z '' ']'
+ break

📦 DoWork Exited with code [0]
@huan huan added the question Further information is requested label Nov 2, 2020
@wizawu
Copy link

wizawu commented May 6, 2021

xhost +
bash dowork.sh

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

No branches or pull requests

3 participants