Skip to content

Commit 5c7ff15

Browse files
committed
Fixed executable for Windows.
1 parent 67b25a5 commit 5c7ff15

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

bin/totaljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,12 +423,12 @@ function main() {
423423
var url = 'https://www.totaljs.com/packages/empty-project.package';
424424

425425
Utils.download(url, ['get'], function(err, response) {
426-
var filename = Utils.join(dir, 'total.package');
426+
var filename = path.join(dir, 'total.package');
427427
var stream = fs.createWriteStream(filename);
428428
response.pipe(stream);
429429
stream.on('finish', function() {
430430
console.log('Unpacking file.');
431-
exec('tpm unpack total.package', function() {
431+
exec('totalpackage unpack total.package', function() {
432432
fs.unlink(filename);
433433
console.log('Done.');
434434
console.log('');

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ function Framework() {
428428

429429
this.id = null;
430430
this.version = 1970;
431-
this.version_header = '1.9.7-2';
431+
this.version_header = '1.9.7-3';
432432

433433
var version = process.version.toString().replace('v', '').replace(/\./g, '');
434434
if (version[0] !== '0' || version[1] !== '0')

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"name": "Сковорода Никита Андреевич",
6464
"email": "chalkerx@gmail.com"
6565
}],
66-
"version": "1.9.7-2",
66+
"version": "1.9.7-3",
6767
"homepage": "http://www.totaljs.com",
6868
"bugs": {
6969
"url": "https://github.com/totaljs/framework/issues",

0 commit comments

Comments
 (0)