Compare commits
2 Commits
9e190b45bd
...
37c8672e4a
| Author | SHA1 | Date | |
|---|---|---|---|
| 37c8672e4a | |||
| 4955e1a395 |
16
Custom Web Tools/build.sh
Executable file
16
Custom Web Tools/build.sh
Executable 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
|
||||
@ -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",
|
||||
|
||||
@ -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");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user