potential dataDir paths in comments for future reference
This commit is contained in:
parent
9d9c4076ac
commit
62e2ef18a3
|
@ -14,7 +14,7 @@ import toolkit
|
||||||
|
|
||||||
log = logging.getLogger('AVP.Core')
|
log = logging.getLogger('AVP.Core')
|
||||||
STDOUT_LOGLVL = logging.VERBOSE
|
STDOUT_LOGLVL = logging.VERBOSE
|
||||||
FILE_LOGLVL = logging.DEBUG
|
FILE_LOGLVL = logging.VERBOSE
|
||||||
|
|
||||||
|
|
||||||
class Core:
|
class Core:
|
||||||
|
@ -460,6 +460,9 @@ class Core:
|
||||||
dataDir = QtCore.QStandardPaths.writableLocation(
|
dataDir = QtCore.QStandardPaths.writableLocation(
|
||||||
QtCore.QStandardPaths.AppConfigLocation
|
QtCore.QStandardPaths.AppConfigLocation
|
||||||
)
|
)
|
||||||
|
# Windows: C:/Users/<USER>/AppData/Local/audio-visualizer
|
||||||
|
# macOS: ~/Library/Preferences/audio-visualizer
|
||||||
|
# Linux: ~/.config/audio-visualizer
|
||||||
with open(os.path.join(wd, 'encoder-options.json')) as json_file:
|
with open(os.path.join(wd, 'encoder-options.json')) as json_file:
|
||||||
encoderOptions = json.load(json_file)
|
encoderOptions = json.load(json_file)
|
||||||
|
|
||||||
|
|
Reference in New Issue