diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-10-26 01:41:16 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-10-26 01:41:16 +0200 |
| commit | 8dae6a5044f9c1b7a8497cc1c96155fd262b40cf (patch) | |
| tree | 6f546503efcb198a193f919efafb83977abb9535 /StoneIsland/plugins/phonegap-plugin-push/hooks/windows/setToastCapable.js | |
| parent | 531c60ee7ecbee516812d560b63a8317c3cf3590 (diff) | |
iphone x fixes
Diffstat (limited to 'StoneIsland/plugins/phonegap-plugin-push/hooks/windows/setToastCapable.js')
| -rw-r--r-- | StoneIsland/plugins/phonegap-plugin-push/hooks/windows/setToastCapable.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/StoneIsland/plugins/phonegap-plugin-push/hooks/windows/setToastCapable.js b/StoneIsland/plugins/phonegap-plugin-push/hooks/windows/setToastCapable.js index 5b784582..b8cbcbc0 100644 --- a/StoneIsland/plugins/phonegap-plugin-push/hooks/windows/setToastCapable.js +++ b/StoneIsland/plugins/phonegap-plugin-push/hooks/windows/setToastCapable.js @@ -1,13 +1,7 @@ module.exports = function(context) { - console.log('Updating appxmanifests with ToastCapable=true ...'); + console.log('Updating appxmanifests with ToastCapable=true...'); var path = require('path'); - var fs = require('fs'); - var platformProjPath = path.join(context.opts.projectRoot, 'platforms/windows'); - if (!fs.existsSync(platformProjPath)) { - platformProjPath = context.opts.projectRoot; - } - var AppxManifest = require(path.join(platformProjPath, 'cordova/lib/AppxManifest')); ['package.phone.appxmanifest', 'package.windows.appxmanifest'].forEach(function(manifestPath) { |
