Skip to content

Commit bb6f2fd

Browse files
committed
Added devices.json to config files
1 parent cb6dd0c commit bb6f2fd

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ logs
55
menus.json
66
settings.json
77
effects.json
8+
devices.json
89

910
# Auto generated
1011
main_ld.qss
@@ -213,4 +214,4 @@ compile_commands.json
213214
# QtCreator local machine specific files for imported projects
214215
*creator.user*
215216

216-
*_qmlcache.qrc
217+
*_qmlcache.qrc

preferences/base/devices_base.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"devices": {},
3+
"discovered_devices": {}
4+
}

src/__main__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ def __init__(self, *args, **kwargs):
7979
self.list_menu = CreateMenuContext(parent=self).makeMenu()
8080

8181
def setupFiles(self):
82-
self.init_files = ['menus.json', 'settings.json', 'effects.json']
82+
self.init_files = ['menus.json', 'settings.json',
83+
'effects.json', 'devices_base.json']
8384
# Copy all files from base dir if they don't already exist
8485
for file in self.init_files:
8586
if JsonIO(file).fileExists():

0 commit comments

Comments
 (0)