# coding=utf-8

# This is part of the ProFormA Editor
#
# This proformaEditor was created by the eCULT-Team of Ostfalia University
# http://ostfalia.de/cms/de/ecult/
# The software is distributed under a CC BY-SA 3.0 Creative Commons license
# https://creativecommons.org/licenses/by-sa/3.0/
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
# INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
# PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# test configuration
#
# @copyright 2018 Ostfalia Hochschule fuer angewandte Wissenschaften
# @author   Karin Borm <k.borm@ostfalia.de>


import os
import platform

# default download path for windows
# path to downloaded files
if platform.system() == 'Windows':
    username = os.environ['USERNAME']
    download_path = "c:/Users/" + username + "/Downloads"
elif platform.system() == 'Linux':
    os.system('mkdir /downloads')
    download_path = "/downloads"

    # pynput:
    # An X server must be running.
    # The environment variable $DISPLAY must be set.

    
else:
    print ('unknown OS: ' + platform.system())

print("using '" + download_path + "' as download path")

# preferred browser
#browser = "Firefox"
browser = "Chrome"
#browser = "Edge"

# path to firefox binary
# if left blank the default path is used
firefox_executable = ""




    
