vault-ui icon indicating copy to clipboard operation
vault-ui copied to clipboard

Missing icons in the Win build

Open dakujem opened this issue 6 years ago • 4 comments

While editing a secret, there are no icons: image

In the dev console, this error occurs: GET file:///C:/Users/<username>/AppData/Local/Programs/vault-ui/resources/app.asar/dist/dist/8e7baace3c3e7575c8f1e0fca9aa9a9d.svg net::ERR_FILE_NOT_FOUND (username replaced correctly)

... and this is what the resources dir looks like: image (the app.asar.unpacked) dir only contains a dir named node_modules.

Version: Vault-UI-2.4.0-rc3-win.exe

dakujem avatar Mar 23 '18 12:03 dakujem

Hi,

I noticed the same problem for mac version...

JorisInsign avatar Mar 23 '18 12:03 JorisInsign

try to unpack the app.asar then create a directory "dist" under dist (should look like this: \app\dist\dist) then copy the 2 SVG files(8e7baace3c3e7575c8f1e0fca9aa9a9d.SVG and 7f8b4fb08d1aa6aa4ab6424413e70c42.SVG), which will correct the error on the path.

pack the app directory again using asar, then overwrite the file "app.asar"

this should resolve the issue

you can google how to install asar

or i could email you the app.asar file

poroporopororo avatar May 21 '18 13:05 poroporopororo

Is it not an issue that should be fixed in distribution files?

dakujem avatar May 21 '18 17:05 dakujem

it should be. i guess they missed that one. but what i just provided was an immediate fix if you want to have it running

poroporopororo avatar May 22 '18 04:05 poroporopororo