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

Invalid parameter (Task Scheduler) #16

Closed
yani opened this issue Jun 14, 2021 · 1 comment
Closed

Invalid parameter (Task Scheduler) #16

yani opened this issue Jun 14, 2021 · 1 comment

Comments

@yani
Copy link

yani commented Jun 14, 2021

I had an older version of chrupd but deleted the task from scheduler, removed all older files, put the new version in the original directory and ran -crTask again.

Parameters that were added to the scheduled task:

C:\chrupd\chrupd.vbs -scheduler -editor Hibbiki -arch 64-bit -channel stable -cAutoUp

-cAutoUp seems to be an invalid parameter and fails to start the update process. After removing this parameter the update process worked again.

Also, I checked the .vbs file that was created. The path was C:\chrupdchrupd.vbs which should have been C:\\chrupd\\chrupd.vbs

Current version: 20210122

mkorthof added a commit that referenced this issue Jun 16, 2021
mkorthof added a commit that referenced this issue Jun 16, 2021
@mkorthof
Copy link
Owner

Thanks. Indeed there were 2 characters missing :)
A '\' in the vbs content and $AutoUp instead of $cAutoUp in the task args.

Fixed in latest commit

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