Skip to content

Commit

Permalink
osx fixpath
Browse files Browse the repository at this point in the history
  • Loading branch information
whitewhidow committed Dec 4, 2020
1 parent 154c5ca commit 62b9908
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ var commandExists = require('command-exists');
var util = require('util')
var ApkReader = require('node-apk-parser')

const fixPath = require('fix-path');
fixPath();



Expand Down Expand Up @@ -471,6 +473,8 @@ async function getPackageInfo(apkPath) {
console.log(util.inspect(manifest.versionName, { depth: null }))
console.log(util.inspect(manifest.package, { depth: null }))

console.log(manifest)

info = {
packageName : util.inspect(manifest.package, { depth: null }).replace(/\'/g,""),
versionCode : util.inspect(manifest.versionCode, { depth: null }).replace(/\'/g,""),
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"command-exists": "^1.2.9",
"electron-squirrel-startup": "^1.0.0",
"electron-twig": "^1.1.1",
"fix-path": "^3.0.0",
"jquery": "^3.5.1",
"node-apk-parser": "^0.2.3",
"node-fetch": "^2.6.1"
Expand Down

0 comments on commit 62b9908

Please sign in to comment.