Skip to content

Commit

Permalink
version 0.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Ertaba committed Sep 27, 2017
1 parent 1d3dd47 commit 4db0dc5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
'use strict';

exports.id = 'com.add0n.native_client';
exports.version = '0.2.8';
exports.version = '0.2.9';

exports.ids = {
chrome: [
Expand Down
3 changes: 2 additions & 1 deletion linux/app/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
var fs = require('fs');
var path = require('path');

var share = process.argv.filter(a => a.startsWith('--custom-dir=')).map(a => a.split('=')[1])[0] || process.env.HOME;
var share = process.argv.filter(a => a.startsWith('--custom-dir=')).map(a => a.split('=')[1])[0] ||
path.resolve(process.env.HOME, '.config');
if (share[0] === '~') {
share = path.join(process.env.HOME, share.slice(1));
}
Expand Down
2 changes: 1 addition & 1 deletion linux/uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rm ~/.config/chromium/NativeMessagingHosts/${id}.json
echo " .. Removing manifest file for Mozilla Firefox"
rm ~/.mozilla/native-messaging-hosts/${id}.json
echo " .. Removing executable"
rm -r ~/${id}
rm -r ~/.config/${id}

echo
echo ">>> Native Client is removed <<<".
3 changes: 2 additions & 1 deletion mac/app/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
var fs = require('fs');
var path = require('path');

var share = process.argv.filter(a => a.startsWith('--custom-dir=')).map(a => a.split('=')[1])[0] || process.env.HOME;
var share = process.argv.filter(a => a.startsWith('--custom-dir=')).map(a => a.split('=')[1])[0] ||
path.resolve(process.env.HOME, '.config');
if (share[0] === '~') {
share = path.join(process.env.HOME, share.slice(1));
}
Expand Down
2 changes: 1 addition & 1 deletion mac/uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rm ~/Library/Application\ Support/Chromium/NativeMessagingHosts/${id}.json
echo " .. Removing manifest file for Mozilla Firefox"
rm ~/Library/Application\ Support/Mozilla/NativeMessagingHosts/${id}.json
echo " .. Removing executable"
rm -r ~/${id}
rm -r ~/.config/${id}

echo
echo ">>> Native Client is removed <<<".

0 comments on commit 4db0dc5

Please sign in to comment.