subdavis / Tusk

🐘 🔒 KeePass-compatible browser extension for filling passwords.
https://subdavis.com/Tusk
Other
468 stars 72 forks source link

The Google Drive integration does not work in Opera. #299

Closed edward-raven closed 5 years ago

edward-raven commented 5 years ago

Bug report

Steps to reproduce - current behaviour

  1. Install Install Chrome Extensions extension.
  2. Install Tusk extension.
  3. Open Tusk Setting -> Manage Databases page.
  4. Switch Google Drive on.
  5. There is an [object Object] error on the page.

What is the expected behaviour

The Google Drive integration works.

Additional remarks

The Opera browser defines the chrome.identity.getAuthToken function, but it throws an error "Function unsupported.". This behaviour is described here.

Environment

Operating System: Windows 8 / 10

Browser vendor and version: Opera 58.0.3135.65

Storage Provider: Google Drive

Adasss commented 5 years ago

Hi, where can I get the updated chrome extension ? EDIT: I was trying to build it by myself but i'm getting error after command yarn build chrome:

yarn run v1.15.2 $ npm run clean

Tusk@2.0.0 clean C:\Users\Anna\Desktop\Tusk-develop rm -rf build/ .zip manifest.json demo

'rm' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! Tusk@2.0.0 clean: rm -rf build/ *.zip manifest.json demo* npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the Tusk@2.0.0 clean script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Anna\AppData\Roaming\npm-cache_logs\2019-04-03T22_23_01_187Z-debug.log error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. PS C:\Users\Anna\Desktop\Tusk-develop>

edward-raven commented 5 years ago

Hi, it's not released yet. You may patch the options.build.js and popup.build.js files in the extension folder %AppData%\Opera Software\Opera Stable\Extensions\fmhmiaejopepamlcjkncpgpdjichnecm\2018.9.27_0\build. Here are the patched versions: options.build.js.txt, popup.build.js.txt

Adasss commented 5 years ago

Thank You. Witch those files its working now :)