Commit 7db4ff3
committed
fix(apps,config,launch): register EABackgroundService, -EpicPortal launch arg
Root causes (confirmed via Wine services.c + MS SC_FAILURE_ACTIONS docs):
- Wine's SCM has no FailureActions restart logic; marked SERVICE_STOPPED
on exit only — our FailureActions=zeros was correct but irrelevant
- Services use hidden __wineservice_winstation\Default desktop; invisible
windows are expected behaviour
- Epic: launches in tray-only/background mode without -EpicPortal; UI
never opens
- EA: msiextract skips the service-registration custom action; EADesktop.exe
calls StartService("EABackgroundService"), gets ERROR_SERVICE_DOES_NOT_EXIST,
falls back to repair/bootstrapper mode
Fixes:
- config.sh: add APP_LAUNCH_ARGS associative array; epic-games gets -EpicPortal
- launch.sh: launch_app appends APP_LAUNCH_ARGS[$app_key] after the exe binary
- apps.sh: ea-desktop post-install regedit /s now registers EABackgroundService
(Type=0x10 WIN32_OWN_PROCESS, Start=0x3 DEMAND_START, ImagePath with -start
flag, ObjectName=LocalSystem) so StartService() succeeds from EADesktop.exe1 parent c9b088a commit 7db4ff3
3 files changed
Lines changed: 18 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | 139 | | |
142 | 140 | | |
143 | 141 | | |
144 | 142 | | |
145 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
146 | 152 | | |
147 | 153 | | |
148 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| |||
0 commit comments