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

Install.sh targets wrong file name #5

Open
wittywilla opened this issue Mar 15, 2024 · 0 comments
Open

Install.sh targets wrong file name #5

wittywilla opened this issue Mar 15, 2024 · 0 comments

Comments

@wittywilla
Copy link

After having some weird issues with the install script, I noticed it was calling for "EnvyControlQt.desktop" (with no spaces), but the file included in the repo has a space, and it cannot find it to complete the setup.
Here's the terminal output for this issue:

[willow@Legion5iProGen7 EnvyControl-PyQt-new_feature]$ sudo ./install.sh
sed: can't read EnvyControlQt.desktop: No such file or directory
sed: can't read EnvyControlQt.desktop: No such file or directory
Updated the paths in the EnvyControlQt.desktop
cp: cannot stat 'EnvyControlQt.desktop': No such file or directory
Copied the EnvyControlQt.desktop to /home/willow/.local/share/applications/
Press enter to exit script:

On top of that, once I fixed the file name, it then didn't create the required folders - instead making me create the folder manually
Here's the terminal output for this issue:

[willow@Legion5iProGen7 EnvyControl-PyQt-new_feature]$ sudo ./install.sh
Updated the paths in the EnvyControlQt.desktop
cp: cannot create regular file '/home/willow/.local/share/applications/': Not a directory
Copied the EnvyControlQt.desktop to /home/willow/.local/share/applications/
Press enter to exit script:

After fixing these two issues manually, the script successfully installed itself
Here's the terminal output when everything was renamed and folders were made:

[willow@Legion5iProGen7 EnvyControl-PyQt-new_feature]$ sudo ./install.sh
Updated the paths in the EnvyControlQt.desktop
Copied the EnvyControlQt.desktop to /home/willow/.local/share/applications/
Press enter to exit script:

I'm using Endeavouros, and this is on a fairly fresh install

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

1 participant