Skip to content

Commit

Permalink
Merge pull request #18 from dseichter/adjust_readme
Browse files Browse the repository at this point in the history
Adjust readme
  • Loading branch information
Daniel Seichter authored Jun 9, 2024
2 parents 6c5a47d + 400f2ed commit 87f7b28
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ I am asked from time to time if I would like to offer more than six commands. Th

Workdir can be used multiple times. Create a subfolder each time, which you name “Development” or “Projects”, for example. Copy the application file into these directories. When you start the program, it will check if there is already a configuration there (if not, the program will create it automatically). Now you can define different commands, independent of the category. For example, the opening or updating (git pull) of directories with source code. Or automatic generation of thumbnails or conversion of file formats. The variety knows no limits. Workdir supports you in meeting these requirements as well.

## Known Issues

If you run workdir the first time, the window can be really small. The size will be auto adjusted based on your directories. So please proceed by adding your directories.

# Contributing

If you want to contribute by fixing an issue, add a new function or just optimize something, a simple instruction how to start development.
Expand Down
4 changes: 3 additions & 1 deletion src/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ def create_config():
except FileNotFoundError:
with open(CONFIGFILE, 'w') as f:
f.write('{}')
data = {}

with open(CONFIGFILE, 'r') as f:
data = json.load(f)

if 'directories' not in data:
data['directories'] = []
Expand Down

0 comments on commit 87f7b28

Please sign in to comment.