use nicer string join api
This commit is contained in:
@@ -22,9 +22,9 @@ def _is_executable() -> bool:
|
||||
|
||||
|
||||
def _linux_install_desktop_file():
|
||||
apps_dir = Path.home().joinpath(".local").joinpath("share").joinpath("applications")
|
||||
apps_dir = Path.home() / ".local" / "share" / "applications"
|
||||
if apps_dir.exists() and apps_dir.is_dir():
|
||||
krowlog_desktop_file = apps_dir.joinpath("krowlog.desktop")
|
||||
krowlog_desktop_file = apps_dir / "krowlog.desktop"
|
||||
if not krowlog_desktop_file.exists():
|
||||
desktop_file_data = textwrap.dedent("""[Desktop Entry]
|
||||
Type=Application
|
||||
|
||||
Reference in New Issue
Block a user