mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 00:14:09 -04:00
pipenv: Pre-migration to pipenv things
- Use an alternative xdg module that provides functions to generate XDG-paths. - Fix startup routines for the main configurator.
This commit is contained in:
parent
5481bbff22
commit
9958ea234d
@ -1,10 +1,7 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import os
|
||||
import os.path
|
||||
import xdg.BaseDirectory as basedir
|
||||
from xdg import xdg_config_home
|
||||
|
||||
PROGNAME = 'g13gui'
|
||||
VERSION = '0.1.0'
|
||||
PROFILES_CONFIG_PATH = os.path.join(basedir.save_config_path('g13', 'g13gui'),
|
||||
'profiles.json')
|
||||
PROFILES_CONFIG_PATH = xdg_config_home() / 'g13' / 'g13gui' / 'profiles.json'
|
||||
|
@ -12,3 +12,7 @@ def main():
|
||||
|
||||
app = Application()
|
||||
app.run(sys.argv)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user