Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
adding the application signature
#1
yab-IDE 2.2.6 adds some convenience to building your application. No-longer is "application/x-vnd.yab-app" the default application signature.

if the yab filename is "MyApp.yab" then the application signature will default to "application/x-vnd.MyApp"

This default can be over-ridden by placing a comment at the beginning of your yab file.

Code:
#!yab
# MIMETYPE "application/x-vnd.MyCoolApp"
This will change the default for your program to "application/x-vnd.MyCoolApp" regardless of the filename. The comment must be the first or second line of your file.
Reply
#2
Thanks for this. Is the space between # and M required?
Reply
#3
No, the space is not required. Also // and # are synonomous.

#mimetype and //mimetype are the same.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
Free Web Hosting