adding the application signature - Printable Version +- yab | yet another Basic for HAIKU (https://yab.orgfree.com/forum) +-- Forum: Programming in yab (https://yab.orgfree.com/forum/forumdisplay.php?fid=1) +--- Forum: Snippets (https://yab.orgfree.com/forum/forumdisplay.php?fid=3) +--- Thread: adding the application signature (/showthread.php?tid=66) |
adding the application signature - bbjimmy - 04-29-2016 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 RE: adding the application signature - clasqm - 04-30-2016 Thanks for this. Is the space between # and M required? RE: adding the application signature - bbjimmy - 04-30-2016 No, the space is not required. Also // and # are synonomous. #mimetype and //mimetype are the same. RE: adding the application signature - _-Caleb-_ - 01-27-2024 Hi! I have this message after add the app signature: Code: t application/x-vnd.BeInput What i'm doing wrong? Regards! RE: adding the application signature - bbjimmy - 01-27-2024 You're doing nothing wrong. Your program needs to be bound or built, otherwise the system looks at the yab binary mimetype and the BeInput mime type and warns that they do not match |