Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.2-1: no script is created #33

Closed
kenderipa opened this issue Jan 16, 2025 · 2 comments
Closed

4.2-1: no script is created #33

kenderipa opened this issue Jan 16, 2025 · 2 comments

Comments

@kenderipa
Copy link

Hey, I have a following problem: after running archimage-cli (4.2-1) no new script is created. Am I doing something wrong?

Thanks!

@ivan-hc
Copy link
Owner

ivan-hc commented Jan 16, 2025

Hi, the script should be in xdg-user-dir DESKTOP (normally is $HOME/Desktop).

If the directory does not exists, the script is created in the directory you are running the terminal (normally it is $HOME)

You can set a different directory by exporting the $SCRIPTDIR variable, for example

export SCRIPTDIR=/home/$USER/Desktop

This ir the piace of code in archimage-cli that determine where to download the scripts

# XDG Variables
SCRIPTDIR="${SCRIPTDIR:-$(xdg-user-dir DESKTOP 2>/dev/null)}"
[ -d "$SCRIPTDIR" ] || SCRIPTDIR="$PWD"

ivan-hc added a commit that referenced this issue Jan 17, 2025
- removed references to old lib* functions of the script
- if no XDG Desktop directory, show a message, fix #33
@kenderipa
Copy link
Author

Thanks, it was in ~/Desktop. Closing.

ivan-hc added a commit that referenced this issue Jan 18, 2025
* Update NEW-junest.sh
- removed references to old lib* functions of the script
- add function to detect all libraries needed
- if no XDG Desktop directory, show a message, fix #33

* Update archimage-cli

- Add developer mode
- If "AM" exists, use bash-completion / zsh-completion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants