Skip to content

Commit

Permalink
Release for 0.5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
magicbear committed Feb 12, 2024
1 parent a3957bc commit 26d37b4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ Changelog
Note that they these tags will not actually close the issue/PR until they
are merged into the "default" branch.

v0.5.9
-------

Feature:

- Open GUI for drag file to the exe

v0.5.8
-------

Expand Down
5 changes: 5 additions & 0 deletions palworld_server_toolkit/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import copy
import importlib.metadata
import traceback
from functools import reduce

module_dir = os.path.dirname(os.path.abspath(__file__))
# sys.path.insert(0, module_dir)
Expand Down Expand Up @@ -590,6 +591,10 @@ def main():
else:
args = parser.parse_args()

if not reduce(lambda x, b: x or getattr(args, b, False), filter(lambda x: 'del_' in x or 'fix_' in x, dir(args)), False) and not sys.flags.interactive:
# Open GUI for no any edit flags
args.gui = True

if not os.path.exists(args.filename):
print(f"{args.filename} does not exist")
exit(1)
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = palworld-server-toolkit
version = 0.5.8
version = 0.5.9
author = MagicBear
author_email = [email protected]
description = A toolset for PalWorld Server
Expand Down

0 comments on commit 26d37b4

Please sign in to comment.