mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 22:47:03 +03:00
Add cmd interface
This commit is contained in:
parent
17669b7be0
commit
e6e1a19477
22 changed files with 540 additions and 111 deletions
|
|
@ -491,10 +491,9 @@ gulp.task('rainloop:setup', ['rainloop:copy'], function() {
|
|||
fs.writeFileSync(dist + 'data/EMPTY', versionFull);
|
||||
|
||||
fs.writeFileSync(dist + 'index.php', fs.readFileSync('index.php', 'utf8')
|
||||
.replace('\'APP_VERSION\', \'0.0.0\'', '\'APP_VERSION\', \'' + versionFull + '\''));
|
||||
|
||||
fs.writeFileSync(dist + 'index.php', fs.readFileSync('index.php', 'utf8')
|
||||
.replace('\'APP_VERSION_TYPE\', \'source\'', '\'APP_VERSION\', \'' + (cfg.community ? 'community' : 'standard') + '\''));
|
||||
.replace('\'APP_VERSION\', \'0.0.0\'', '\'APP_VERSION\', \'' + versionFull + '\'')
|
||||
.replace('\'APP_VERSION_TYPE\', \'source\'', '\'APP_VERSION_TYPE\', \'' + (cfg.community ? 'community' : 'standard') + '\'')
|
||||
);
|
||||
|
||||
fs.writeFileSync(dist + 'rainloop/v/' + versionFull + '/index.php.root', fs.readFileSync(dist + 'index.php'));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue