зеркало из https://github.com/mozilla/pluotsorbet.git
add build configuration for RunWhatsApp and RunWeChat (preview) targets
This commit is contained in:
Родитель
6c23ef496f
Коммит
58594510d9
|
@ -0,0 +1,10 @@
|
|||
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
|
||||
|
||||
'use strict';
|
||||
|
||||
MIDlet.name = "WeChat";
|
||||
|
||||
config.downloadJAD = "http://dldir1.qq.com/foxmail/AshaWeChat.jad";
|
||||
config.midletClassName = "com.tencent.mm.ui.WeChat";
|
||||
config.platform = "Nokia311";
|
|
@ -0,0 +1,32 @@
|
|||
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
|
||||
|
||||
'use strict';
|
||||
|
||||
MIDlet.name = "WhatsApp";
|
||||
|
||||
MIDlet.SMSDialogVerificationText = "WhatsApp sent you an SMS, please enter the code you received:";
|
||||
MIDlet.SMSDialogReceiveFilter = function(message) {
|
||||
// Remove the leading 'WhatsApp code ' text, if present
|
||||
if (message.toLowerCase().startsWith("whatsapp code ")) {
|
||||
message = message.substring(14);
|
||||
}
|
||||
|
||||
// Remove the '-' character, if present
|
||||
message = message.replace(/-/g, "");
|
||||
|
||||
return 'WhatsApp code ' + message.substr(0, 3) + "-" + message.substr(3, 3);
|
||||
};
|
||||
MIDlet.SMSDialogInputType = "number";
|
||||
MIDlet.SMSDialogInputMaxLength = 6;
|
||||
|
||||
config.downloadJAD = "https://www.whatsapp.com/s40/WhatsApp.jad";
|
||||
config.midletClassName = "com.whatsapp.client.test.WhatsAppBG";
|
||||
|
||||
config.ignoredFiles.add("/MemoryCard/WhatsApp/BG-WhatsAppLog.txt");
|
||||
config.ignoredFiles.add("/MemoryCard/WhatsApp/FG-WhatsAppLog.txt");
|
||||
|
||||
config.chRegisteredID = "WhatsApp_Inc.-WhatsApp-com.whatsapp.client.test.ContactListMidlet";
|
||||
config.chRegisteredClassName = "com.whatsapp.client.test.ContactListMidlet";
|
||||
config.chRegisteredStorageID = 1;
|
||||
config.chRegisteredRegistrationMethod = 0;
|
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 5.0 KiB |
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 20 KiB |
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 12 KiB |
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 89 KiB |
|
@ -0,0 +1,16 @@
|
|||
RELEASE = 1
|
||||
PACKAGE_TESTS = 0
|
||||
CONSOLE = 0
|
||||
|
||||
CONFIG=config/runwechatpreview.js
|
||||
PACKAGE_DIR=runwechatpreview
|
||||
|
||||
NAME = RunWeChat (Preview)
|
||||
MIDLET_NAME = WeChat
|
||||
DESCRIPTION = an environment optimized for WeChat to run on Firefox OS
|
||||
ORIGIN = app://runwechatpreview.mozilla.org
|
||||
|
||||
ICON_128 = img/runwechatpreview-icon-128.png
|
||||
ICON_512 = img/runwechatpreview-icon-512.png
|
||||
|
||||
include Makefile
|
|
@ -0,0 +1,20 @@
|
|||
JSR_256 = 0
|
||||
JSR_082 = 0
|
||||
JSR_179 = 0
|
||||
|
||||
RELEASE = 1
|
||||
PACKAGE_TESTS = 0
|
||||
CONSOLE = 0
|
||||
|
||||
CONFIG=config/runwhatsapppreview.js
|
||||
PACKAGE_DIR=runwhatsapppreview
|
||||
|
||||
NAME = RunWhatsApp (Preview)
|
||||
MIDLET_NAME = WhatsApp
|
||||
DESCRIPTION = an environment optimized for WhatsApp to run on Firefox OS
|
||||
ORIGIN = app://runwhatsapppreview.mozilla.org
|
||||
|
||||
ICON_128 = img/runwhatsapppreview-icon-128.png
|
||||
ICON_512 = img/runwhatsapppreview-icon-512.png
|
||||
|
||||
include Makefile
|
Загрузка…
Ссылка в новой задаче