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.cmd script fails when there is a space in windows username #42

Open
prakharb5 opened this issue Dec 11, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@prakharb5
Copy link

  1. Setup a profile with name "First Last"
  2. Try running the install script.
  3. Script fails, and instead of you have a folder "Last" in the folder with the script files.
  4. Additionally, it fails to detect whether it is x64 or x86.
@krlvm krlvm added the bug Something isn't working label Dec 11, 2023
@deantumabcao
Copy link

deantumabcao commented Jan 16, 2025

@krlvm
I think I found a fix for this!

My user folder's name is has a space, and running the installation cmd unchanged gave this console log:

Installing AccentColorizer...
Access is denied.
Error occurred while processing: C:\Users\Dean.
A subdirectory or file Tumabcao\AppData\Local\AccentColorizer already exists.
Error occurred while processing: Tumabcao\AppData\Local\AccentColorizer.
The system cannot find the path specified.
The system cannot find the path specified.

📌 Changing mkdir %LOCAL_INSTALLATION_PATH% to mkdir "%LOCAL_INSTALLATION_PATH%"; adding quotation marks just like the rest of your references to other environment variables solved this issue for me.

🌟Fixed installation log and folder:

Installing AccentColorizer...
AccentColorizer sucessfully installed
Press any key to continue . . .

Image

🤖 I got some help:
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants