CodeSpent / twitch-toolbox

A cross-platform CLI tool for common Twitch/TwitchDev tasks.
7 stars 0 forks source link

Unable to request elevated privelages to write configuration file on Windows #5

Closed CodeSpent closed 4 years ago

CodeSpent commented 4 years ago

Windows 10

Running as Administrator expects to give ability to write configuration file in home directory, however, _is_admin() check still fails which doesn't allow the user to configure.

Workaround:

On Windows, navigate to your home directory (C:/Users/YourUserName/) & create a configuration file manually called twitch-clip-manager.json.

{
    "client_id": "",
    "client_secret": "",
    "username": "",
    "download_directory": ""
}

Creating this configuration & providing the data will allow you to use the tool without configuring through the UI.

CodeSpent commented 4 years ago

Fixed with #8