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:
OverSu 2026-09-30 23:13:03 +02:00
commit b38dea0597
25901 changed files with 9982925 additions and 369 deletions

View file

@ -0,0 +1,51 @@
'use strict';
var fs = require('fs'),
profile = require('../index'),
remove = require('remove');
var PROFILE_DIR = __dirname + '/profile';
if (fs.existsSync(PROFILE_DIR))
remove.removeSync(PROFILE_DIR);
fs.mkdirSync(PROFILE_DIR);
fs.mkdirSync(PROFILE_DIR + '/webapps');
// launch about:config in firefox for more pref names.
var options = {
profile: PROFILE_DIR,
prefs: {
// turn on dump so it will output to stdout
'browser.dom.window.dump.enabled': true,
// bump up max workers
'dom.workers.maxPerDomain': 100
},
settings: {
'lockscreen.enabled': true
},
apps: {
'my-new-app.com': __dirname + '/../test/fixtures/test-app-a',
'other-app.com': __dirname + '/../test/fixtures/test-app-b'
}
};
// this will create a temp dir for a profile that will be
// removed when the process closes... keep: true can be passed
// to turn off the default behaviour
profile.create(options, function(err, instance) {
console.log('user.js');
console.log(fs.readFileSync(instance.path + '/user.js', 'utf8').trim());
console.log('\n----\n');
console.log('settings.json');
console.log(fs.readFileSync(instance.path + '/settings.json', 'utf8').trim());
console.log('\n see profile at: ', instance.path);
});