fix usage of dedent
This commit is contained in:
@@ -32,7 +32,8 @@ def _linux_install_desktop_file():
|
|||||||
if apps_dir.exists() and apps_dir.is_dir():
|
if apps_dir.exists() and apps_dir.is_dir():
|
||||||
krowlog_desktop_file = apps_dir / "krowlog.desktop"
|
krowlog_desktop_file = apps_dir / "krowlog.desktop"
|
||||||
if not krowlog_desktop_file.exists():
|
if not krowlog_desktop_file.exists():
|
||||||
desktop_file_data = textwrap.dedent("""[Desktop Entry]
|
desktop_file_data = textwrap.dedent("""\
|
||||||
|
[Desktop Entry]
|
||||||
Type=Application
|
Type=Application
|
||||||
Version=1.5
|
Version=1.5
|
||||||
Terminal=false
|
Terminal=false
|
||||||
@@ -63,7 +64,8 @@ def _linux_install_icon_to_path(path: Path):
|
|||||||
if not path.parent.exists():
|
if not path.parent.exists():
|
||||||
path.parent.mkdir(parents=True, exist_ok=True)
|
path.parent.mkdir(parents=True, exist_ok=True)
|
||||||
|
|
||||||
svg = textwrap.dedent("""<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
svg = textwrap.dedent("""\
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<svg width="64" height="64" viewBox="0 0 128 128" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
<svg width="64" height="64" viewBox="0 0 128 128" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||||
<defs>
|
<defs>
|
||||||
<linearGradient id="bg1" x1="0%" y1="100%" x2="100%" y2="0%">
|
<linearGradient id="bg1" x1="0%" y1="100%" x2="100%" y2="0%">
|
||||||
|
|||||||
Reference in New Issue
Block a user