Skip to content

Commit

Permalink
added process tile
Browse files Browse the repository at this point in the history
  • Loading branch information
Phara0h committed Sep 15, 2020
1 parent 359a825 commit f6f9a56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
package-lock.json
node_modules
.DS_Store
1 change: 1 addition & 0 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ var path = require('path');
class Config {
constructor(config) {
this.version = require(path.dirname(require.main.filename)+'/../package.json').version;
process.title = "Sky Puppy v"+this.version;
try {
this.path = path.resolve(process.env.SKY_PUPPY_CONFIG_PATH || './') + '/sky-puppy-config.json';
this.settings = JSON.parse(fs.readFileSync(this.path));
Expand Down

0 comments on commit f6f9a56

Please sign in to comment.