Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
/yumex-dnf-oldPublic archive

Commit535bf19

Browse files
author
Tim Lauridsen
authored
Merge pull request#175 from GloriousEggroll/fix-no-autostart-dir
make sure autostart user folder exists before attempting to copy file…
2 parentsd62f276 +c305710 commit535bf19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/yumex/gui/window/__init__.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ def legacy_cleanup(self):
106106
os.unlink(const.LEGACY_DESKTOP_FILE)
107107
ifCONFIG.conf.autostart:
108108
ifnotos.path.exists(const.USER_DESKTOP_FILE):
109+
ifnotos.path.exists(const.AUTOSTART_DIR):
110+
os.mkdir(const.AUTOSTART_DIR)
109111
logger.debug(f"create autostart:{const.USER_DESKTOP_FILE}")
110112
shutil.copy(const.SYS_DESKTOP_FILE,const.USER_DESKTOP_FILE)
111113
# key is renamed to keyword

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp