2016-11-06 11:18:53 +00:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
# Name: config.py
|
|
|
|
# Purpose: Module to share important variables between various modules. Mainly included so as not to call many
|
|
|
|
# functions again and again
|
|
|
|
# Authors: Sundar
|
|
|
|
# Licence: This file is a part of multibootusb package. You can redistribute it or modify
|
|
|
|
# under the terms of GNU General Public License, v.2 or above
|
|
|
|
|
|
|
|
iso_link = ""
|
|
|
|
usb_disk = ""
|
|
|
|
usb_mount = ""
|
2016-11-27 00:46:12 +00:00
|
|
|
usb_uuid = ""
|
|
|
|
usb_label = ""
|
2017-04-29 11:10:11 +00:00
|
|
|
usb_details = ''
|
2017-04-16 07:08:39 +00:00
|
|
|
image_path = ""
|
2016-11-06 11:18:53 +00:00
|
|
|
persistence = 0
|
2017-04-14 10:56:11 +00:00
|
|
|
persistence_available = False
|
|
|
|
persistence_max_size = 0
|
2016-11-06 11:18:53 +00:00
|
|
|
distro = ""
|
|
|
|
status_text = ""
|
|
|
|
percentage = 0
|
|
|
|
syslinux_version = ''
|
|
|
|
uninstall_distro_dir_name = ""
|
|
|
|
uninstall_distro_dir_path = ""
|
|
|
|
iso_file_list = ''
|
2017-04-20 14:19:33 +00:00
|
|
|
iso_bin_dir = ''
|
2016-12-03 10:06:47 +00:00
|
|
|
process_exist = None
|
2017-04-30 10:14:55 +00:00
|
|
|
yes = False
|
|
|
|
|
2016-12-03 10:06:47 +00:00
|
|
|
|
2016-11-06 11:18:53 +00:00
|
|
|
imager_iso_link = ""
|
|
|
|
imager_usb_disk_selected = ""
|
|
|
|
imager_lock = ""
|
|
|
|
imager_percentage = ""
|
|
|
|
imager_status_text = ""
|
|
|
|
|
|
|
|
install_size = ""
|
|
|
|
|
2017-04-25 19:10:46 +00:00
|
|
|
editors_linux = ["xdg-open", "gedit", "kate", "kwrite"]
|
2016-11-06 11:18:53 +00:00
|
|
|
editors_win = ["notepad++.exe", "notepad.exe"]
|
|
|
|
|
|
|
|
imager_usb_disk = []
|
2017-04-26 07:48:39 +00:00
|
|
|
|
|
|
|
debug = False
|