Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
21
gaia/apps/homescreen/build/build.js
Executable file
21
gaia/apps/homescreen/build/build.js
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
'use strict';
|
||||
|
||||
/* jshint node: true */
|
||||
|
||||
var utils = require('utils');
|
||||
var manager = require('homescreen-manager');
|
||||
|
||||
var HomeScreenAppBuilder = function() {
|
||||
};
|
||||
|
||||
HomeScreenAppBuilder.prototype.execute = function(options) {
|
||||
var homescreen = manager.getHomescreen(options, 'homescreen');
|
||||
var stageDir = utils.getFile(options.STAGE_APP_DIR);
|
||||
var configFile = utils.getFile(stageDir.path, 'js', 'init.json');
|
||||
utils.writeContent(configFile, JSON.stringify(homescreen));
|
||||
};
|
||||
|
||||
exports.execute = function(options) {
|
||||
utils.copyToStage(options);
|
||||
(new HomeScreenAppBuilder()).execute(options);
|
||||
};
|
||||
33
gaia/apps/homescreen/build/default-homescreens.json
Executable file
33
gaia/apps/homescreen/build/default-homescreens.json
Executable file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"homescreens": [
|
||||
[
|
||||
["apps", "communications", "dialer"],
|
||||
["apps", "sms"],
|
||||
["apps", "communications", "contacts"],
|
||||
["apps", "email"],
|
||||
["apps", "search"]
|
||||
], [
|
||||
["apps", "camera"],
|
||||
["apps", "gallery"],
|
||||
["apps", "music"],
|
||||
["apps", "video"],
|
||||
["apps", "marketplace.firefox.com"]
|
||||
], [
|
||||
["apps", "calendar"],
|
||||
["apps", "clock"],
|
||||
["apps", "settings"],
|
||||
["apps", "fm"]
|
||||
], [
|
||||
["hosted_apps", "buddyup"],
|
||||
["hosted_apps", "bugzillalite"],
|
||||
["hosted_apps", "facebook"],
|
||||
["hosted_apps", "twitter"],
|
||||
["hosted_apps", "notes"],
|
||||
["hosted_apps", "calculator"],
|
||||
["apps", "costcontrol"]
|
||||
]
|
||||
],
|
||||
"preferences": {
|
||||
"grid.cols": 3
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue