Skip to content

Commit

Permalink
Merge pull request #53 from ItsProfessional/patch-1
Browse files Browse the repository at this point in the history
Change elmocut settings directory to %appdata%\elmocut
  • Loading branch information
elmoiv authored Feb 22, 2023
2 parents 34657a6 + 17211a8 commit c095abe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/constants.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from os import path, environ

DOCUMENTS_PATH = path.join(environ['USERPROFILE'], 'Documents', 'elmocut')
DOCUMENTS_PATH = path.join(environ['APPDATA'], 'elmocut')
SETTINGS_PATH = path.join(DOCUMENTS_PATH, 'elmocut.json')

TABLE_HEADER_LABELS = ['IP Address', 'MAC Address', 'Vendor', 'Type', 'Nickname']
Expand All @@ -26,4 +26,4 @@

SETTINGS_KEYS = ['dark', 'count', 'autostart', 'minimized', 'remember', 'killed', 'autoupdate', 'threads', 'iface', 'nicknames']

SETTINGS_VALS = [True, 25, False, True, False, [], True, 12, '', {}]
SETTINGS_VALS = [True, 25, False, True, False, [], True, 12, '', {}]

0 comments on commit c095abe

Please sign in to comment.