Compare commits

...

2 Commits

3 changed files with 18 additions and 2 deletions

16
Custom Web Tools/build.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
mkdir -p "build/Custom Web Tools"
cp plugin.js "build/Custom Web Tools/plugin.js"
cp package.json "build/Custom Web Tools/package.json"
rm CustomWebTools*.zip
cd build
zip -r ../CustomWebTools.v1.1.0.zip "Custom Web Tools"
cd ..
rm -r build

View File

@ -1,6 +1,6 @@
{
"name": "postalpoint_custom_web_tools",
"version": "1.0.0",
"version": "1.1.0",
"main": "plugin.js",
"author": "PostalPortal LLC",
"license": "BSD-3-Clause",

View File

@ -16,7 +16,7 @@ exports.init = function () {
}
global.apis.ui.addToolsPage(function () {
global.apis.ui.openInternalWebBrowser(urls[i]);
}, titles[i], "", (titles[i] == urls[i] ? "" : urls[i]), titles[i], "fa-duotone fa-globe-pointer", "function");
}, titles[i], "customwebtools_" + encodeURIComponent(urls[i]), (titles[i] == urls[i] ? "" : urls[i]), titles[i], "fa-duotone fa-globe-pointer", "function");
}
};