Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tagui_location() to support setting custom TagUI installation directory [done] #257

Closed
kensoh opened this issue May 22, 2021 · 3 comments
Labels

Comments

@kensoh
Copy link
Member

kensoh commented May 22, 2021

By default, the package installs TagUI to %APPDATA%/tagui folder for Windows, and ~/.tagui folder for Mac and Linux.

PR #207 by @fi-do will add option for users to specify where to install and where to find the installation to init() the tool.

To review to see if that can be implemented as a separate function or to provide as parameter to existing functions.

@kensoh kensoh added the feature label May 22, 2021
kensoh added a commit that referenced this issue May 23, 2021
* add configurable installation directory to init and setup function
* add .tagui for custome path
* add custom folder ability to pack and update function
* add custom installation dir explanation
* add custom installation dir explanation
* modify installation dir explanation
* fix path composition
* implementation using a tagui_location()
* bump readme to v1.36

Co-authored-by: Ken Soh <kensoh@gmail.com>
@kensoh kensoh changed the title Review, mod and merge @fi-do's #207 PR on TagUI installation directory - to review May 23, 2021
@kensoh kensoh changed the title Add tagui_location() to upport custom TagUI installation directory - [done] May 23, 2021
@kensoh
Copy link
Member Author

kensoh commented May 23, 2021

This is added in v1.36, available with pip install rpa --upgrade

  • to use, set r.tagui_location('your_full_path') before calling r.init() or r.pack()
  • use r.tagui_location() to return the current parent folder where TagUI is installed in
@kensoh
Copy link
Member Author

kensoh commented May 23, 2021

For example, following works on macOS and installs TagUI to a .tagui folder within Desktop folder.

import rpa as r
r.tagui_location('/Users/username/Desktop')
r.init()
r.url('https://google.com')
r.close()
@kensoh
Copy link
Member Author

kensoh commented May 23, 2021

See PR #207 for more info on the discussions. Thanks to @fi-do !

@kensoh kensoh changed the title Add tagui_location() to support setting custom TagUI installation directory - [done] May 23, 2021
@kensoh kensoh closed this as completed Jul 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 participant