Get gdrive working in Docker
This commit is contained in:
parent
38c88d9ac3
commit
f63029468d
1 changed files with 26 additions and 3 deletions
5
src/gdrive/replace_open.sh
Normal file
5
src/gdrive/replace_open.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#! /bin/bash
|
||||
|
||||
# Basic script to replace opn(authorizeUrl, { wait: false }).then(cp => cp.unref()); with process.stdout.write(`Open this URL in your browser: ${authorizeUrl}`);
|
||||
|
||||
sed -i 's/opn(authorizeUrl, { wait: false }).then(cp => cp.unref());/process.stderr.write(`Open this URL in your browser: ${authorizeUrl}\n`);/' node_modules/@google-cloud/local-auth/build/src/index.js
|
||||
Loading…
Reference in a new issue