winapps-org / winapps

The winapps main project, forked from https://github.com/Fmstrat/winapps/
Other
991 stars 43 forks source link

Error in Office apps when launching from command line #79

Open sforli opened 6 months ago

sforli commented 6 months ago

When opening any of the imported Office applications from command line, there's an error that suggests the launcher script is passing an extra argument that is interpreted as the file name to open.

My launcher for PowerPoint, for example, looks like this:

#!/usr/bin/env bash
/home/user/.local/bin/winapps powerpoint-o365 powerpoint-o365 svg

When launching it, I get this error inside PowerPoint powerpoint_error

To me it seems is trying to open either arguments ("powerpoint-o365") like they were a file. I am using the latest commit available (152a924).

LDprg commented 4 months ago

@sforli Is your problem fixed with the new patch that has been merged?

oskardotglobal commented 4 months ago

That doesn't seem right, the command should be winapps powerpoint-o365, no?

KernelGhost commented 2 months ago

I identified the same issue when working on #139. The issue stemmed from the first argument being passed in twice. AFAIK, this has now been fixed. @sforli Could you please pull the latest changes and confirm if this is the case?