WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ondemand shuld download the app if not present  (Read 1831 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
ondemand shuld download the app if not present
« on: April 03, 2010, 08:46:33 AM »
Since I have ~/.wmx/Ondemand in filetool I'd like the scripts generated by ondemand (from cpanel) to check if the tcz exists otherwise download it from the repo.

I also would like the ondemand script to accept a parameter so I can associate to a filetype the ondemand script where the parameter is the filename
dCore user

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: ondemand shuld download the app if not present
« Reply #1 on: April 03, 2010, 10:17:26 AM »
Quote
I'd like the scripts generated by ondemand (from cpanel) to check if the tcz exists otherwise download it from the repo.

If something is not right, it may be a good idea to have a message displayed, explaining the situation, and suggesting what the user should do to fix it.

However, it is not a good idea to download or modify the system automatically, without the user requesting it.


Some people run Tiny Core without being connected to the internet.

Some people run modified extensions containing personal settings, for example, for printer setup. If these were updated automatically, the user may lose their settings. You don't want this being done automatically.

I have one modified extension, with a dep file. When I run update dep database, my dep file is removed, and the application doesn't work. I need to keep another copy, and put it back manually after running update dep database. If this type of thing happened automatically, it would cause me grief.
Many people see what is. Some people see what can be, and make a difference.