create .local/bin folder for AppImage if not existent
This commit is contained in:
parent
59625c1581
commit
efd5b34b13
@ -19,7 +19,12 @@ def make_starter(app_file: str | None):
|
|||||||
|
|
||||||
|
|
||||||
def make_starter_appimage(app_file: Path):
|
def make_starter_appimage(app_file: Path):
|
||||||
new_path = Path.home() / '.local' / 'bin' / app_file.name
|
new_path = Path.home() / '.local' / 'bin'
|
||||||
|
|
||||||
|
if not new_path.exists():
|
||||||
|
new_path.mkdir(parents=True)
|
||||||
|
|
||||||
|
new_path /= app_file.name
|
||||||
|
|
||||||
if app_file != new_path:
|
if app_file != new_path:
|
||||||
app_file.rename(new_path)
|
app_file.rename(new_path)
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user