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

Not working on Yosemite #9

Open
satan87 opened this issue Oct 1, 2014 · 9 comments
Open

Not working on Yosemite #9

satan87 opened this issue Oct 1, 2014 · 9 comments

Comments

@satan87
Copy link

satan87 commented Oct 1, 2014

Hello,
The dl is working fine but not the install :

Nicolass-Mac-Pro:os-x-self-destruct nicolas$ ./self-destruct.sh --install
Copying self to /usr/local/bin/self-destruct
cp: /usr/local/bin/self-destruct: No such file or directory
chmod: /usr/local/bin/self-destruct: No such file or directory
Plist found. Unloading before install...
Generating plist for user and installing: /Users/nicolas/Library/LaunchAgents/com.github.tdlm.os-x-self-destruct.plist
Installation complete!

if i tag manually and run manually it works, but the tag list is not updated and the run is not being executed by itself

thanks,
Nicolas

@Andrew30003
Copy link

I am having the same exact issue. I tried to fix the issue by manually creating a /usr/local/bin folder (which made the no such file error disappear)
Andrews-MacBook-Air:~ AndrewGodinez$ ./os-x-self-destruct/self-destruct.sh --install
Copying self to /usr/local/bin/self-destruct
Plist found. Unloading before install...
Generating plist for user and installing: /Users/AndrewGodinez/Library/LaunchAgents/com.github.tdlm.os-x-self-destruct.plist
Installation complete!

But I am still unable to get the files to delete without manually running self-destruct.sh.

@tdlm
Copy link
Owner

tdlm commented Oct 2, 2014

@satan87 and @Andrew30003
I originally had this working with crontab. If you're familiar with crontab, you can try adding the line to crontab while we figure the plist part of it out:

* * * * * /usr/local/bin/self-destruct

@Andrew30003
Copy link

I tried adding the line, but still a no go.

@MalcolmK
Copy link

MalcolmK commented Dec 2, 2014

I am having the same problem. It does not work on Yosemite. I have tried add the crontab, but so far I didn't worked out.

@tdlm
Copy link
Owner

tdlm commented Dec 4, 2014

@MalcolmK Hmm, you may want to try an older version. If you need help with that, let me know. There have been some serious changes since then.

@ghost
Copy link

ghost commented Apr 1, 2015

Any update concerning Yosemite ? Same issue here, won't run by itself. Run smoothly manually.

@tdlm
Copy link
Owner

tdlm commented Apr 7, 2015

@roylockhart I haven't had a chance to work on this, but did you try using an older version?

@tdlm
Copy link
Owner

tdlm commented Dec 6, 2016

@satan87 @0xroy I've made updates to the script of late. I'd appreciate it if you could all test it to give feedback on errors. Hopefully we can close some of these issues.

@ghost
Copy link

ghost commented Dec 17, 2016

Just noticed your update ! I tested it on Sierra, and have some feedback :
For some reason, the job outputs an Error 78 because the command is '/usr/local/bin/self-destruct' --run.
I modified it to /usr/local/bin/self-destruct --run and it ran without any problem 👍

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

4 participants