Skip to content

Commit

Permalink
* (bluefox) corrected the script export
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Jun 20, 2023
1 parent 61a1c39 commit 3af911e
Show file tree
Hide file tree
Showing 20 changed files with 39 additions and 34 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ Since v5.5.0 of the JavaScript adapter the following locations (relative to the
<!--
### **WORK IN PROGRESS**
-->
### **WORK IN PROGRESS**
* (bluefox) corrected the script export

### 7.1.0 (2023-06-13)
* (klein0r) Added new blocks: new line, random number, value between min and max, if empty
* (klein0r) Updated blockly core to v9.3.3
Expand Down
18 changes: 9 additions & 9 deletions admin/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"files": {
"main.js": "/static/js/main.26680e50.js",
"main.js": "/static/js/main.9d59d84e.js",
"static/css/98.cacc94fa.chunk.css": "/static/css/98.cacc94fa.chunk.css",
"static/js/98.bd6bc381.chunk.js": "/static/js/98.bd6bc381.chunk.js",
"static/js/98.faeee5d4.chunk.js": "/static/js/98.faeee5d4.chunk.js",
"static/js/90.30165444.chunk.js": "/static/js/90.30165444.chunk.js",
"static/js/305.6132eb16.chunk.js": "/static/js/305.6132eb16.chunk.js",
"static/js/281.6af18b40.chunk.js": "/static/js/281.6af18b40.chunk.js",
Expand All @@ -11,7 +11,7 @@
"static/js/164.d2d05c2a.chunk.js": "/static/js/164.d2d05c2a.chunk.js",
"static/js/365.e144d615.chunk.js": "/static/js/365.e144d615.chunk.js",
"static/js/815.5bc63a3b.chunk.js": "/static/js/815.5bc63a3b.chunk.js",
"static/js/565.ba418892.chunk.js": "/static/js/565.ba418892.chunk.js",
"static/js/569.3ae057be.chunk.js": "/static/js/569.3ae057be.chunk.js",
"static/js/910.e1389bdb.chunk.js": "/static/js/910.e1389bdb.chunk.js",
"static/js/223.8f122ff3.chunk.js": "/static/js/223.8f122ff3.chunk.js",
"static/js/27.2bc8024a.chunk.js": "/static/js/27.2bc8024a.chunk.js",
Expand All @@ -20,7 +20,7 @@
"static/js/52.9483565d.chunk.js": "/static/js/52.9483565d.chunk.js",
"static/js/838.77d3e6ac.chunk.js": "/static/js/838.77d3e6ac.chunk.js",
"static/js/4.697ef5ac.chunk.js": "/static/js/4.697ef5ac.chunk.js",
"static/js/277.01962033.chunk.js": "/static/js/277.01962033.chunk.js",
"static/js/277.ef8a89ff.chunk.js": "/static/js/277.ef8a89ff.chunk.js",
"static/media/back.jpg": "/static/media/back.bda2bbe51be338a0f657.jpg",
"static/media/hysteresis.png": "/static/media/hysteresis.04ebd02c6062432f891d.png",
"static/media/Ground Floor.svg": "/static/media/Ground Floor.2b7c5c91db7f070935a2.svg",
Expand Down Expand Up @@ -143,9 +143,9 @@
"static/media/Garage Doors.svg": "/static/media/Garage Doors.0c2a1cfca7ad1ea59625.svg",
"static/media/Outdoor Blinds.svg": "/static/media/Outdoor Blinds.37b85a9c060a4af48da9.svg",
"static/media/Upstairs.svg": "/static/media/Upstairs.441813e54e0daca0882d.svg",
"main.26680e50.js.map": "/static/js/main.26680e50.js.map",
"main.9d59d84e.js.map": "/static/js/main.9d59d84e.js.map",
"98.cacc94fa.chunk.css.map": "/static/css/98.cacc94fa.chunk.css.map",
"98.bd6bc381.chunk.js.map": "/static/js/98.bd6bc381.chunk.js.map",
"98.faeee5d4.chunk.js.map": "/static/js/98.faeee5d4.chunk.js.map",
"90.30165444.chunk.js.map": "/static/js/90.30165444.chunk.js.map",
"305.6132eb16.chunk.js.map": "/static/js/305.6132eb16.chunk.js.map",
"281.6af18b40.chunk.js.map": "/static/js/281.6af18b40.chunk.js.map",
Expand All @@ -154,7 +154,7 @@
"164.d2d05c2a.chunk.js.map": "/static/js/164.d2d05c2a.chunk.js.map",
"365.e144d615.chunk.js.map": "/static/js/365.e144d615.chunk.js.map",
"815.5bc63a3b.chunk.js.map": "/static/js/815.5bc63a3b.chunk.js.map",
"565.ba418892.chunk.js.map": "/static/js/565.ba418892.chunk.js.map",
"569.3ae057be.chunk.js.map": "/static/js/569.3ae057be.chunk.js.map",
"910.e1389bdb.chunk.js.map": "/static/js/910.e1389bdb.chunk.js.map",
"223.8f122ff3.chunk.js.map": "/static/js/223.8f122ff3.chunk.js.map",
"27.2bc8024a.chunk.js.map": "/static/js/27.2bc8024a.chunk.js.map",
Expand All @@ -163,9 +163,9 @@
"52.9483565d.chunk.js.map": "/static/js/52.9483565d.chunk.js.map",
"838.77d3e6ac.chunk.js.map": "/static/js/838.77d3e6ac.chunk.js.map",
"4.697ef5ac.chunk.js.map": "/static/js/4.697ef5ac.chunk.js.map",
"277.01962033.chunk.js.map": "/static/js/277.01962033.chunk.js.map"
"277.ef8a89ff.chunk.js.map": "/static/js/277.ef8a89ff.chunk.js.map"
},
"entrypoints": [
"static/js/main.26680e50.js"
"static/js/main.9d59d84e.js"
]
}
3 changes: 0 additions & 3 deletions admin/static/js/277.01962033.chunk.js

This file was deleted.

1 change: 0 additions & 1 deletion admin/static/js/277.01962033.chunk.js.map

This file was deleted.

3 changes: 3 additions & 0 deletions admin/static/js/277.ef8a89ff.chunk.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions admin/static/js/277.ef8a89ff.chunk.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion admin/static/js/565.ba418892.chunk.js.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions admin/static/js/569.3ae057be.chunk.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion admin/static/js/63.be0e0290.chunk.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion admin/static/js/98.bd6bc381.chunk.js.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions admin/static/js/98.faeee5d4.chunk.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion admin/tab.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"dependencies": {
"@iobroker/adapter-core": "^2.6.8",
"@types/node": "^20.3.0",
"@types/node": "^20.3.1",
"@types/request": "^2.48.8",
"axios": "^1.4.0",
"coffeescript": "^1.12.7",
Expand All @@ -40,7 +40,7 @@
"node-inspect": "^2.0.0",
"node-schedule": "2.1.1",
"request": "^2.88.2",
"semver": "^7.5.1",
"semver": "^7.5.2",
"suncalc2": "^1.8.1",
"typescript": "~5.1.3",
"virtual-tsc": "^0.6.2",
Expand All @@ -54,7 +54,7 @@
"@types/iobroker": "^4.0.5",
"alcalzone-shared": "^4.0.8",
"chai": "^4.3.7",
"eslint": "^8.42.0",
"eslint": "^8.43.0",
"gulp": "^4.0.2",
"gulp-rename": "^2.0.0",
"gulp-replace": "^1.1.4",
Expand Down
12 changes: 6 additions & 6 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"@icons/material": "^0.4.1",
"@iobroker/adapter-react-v5": "^4.1.0",
"@mui/icons-material": "^5.11.16",
"@mui/material": "^5.13.4",
"@mui/material": "^5.13.5",
"@mui/styles": "^5.13.2",
"@sentry/browser": "^7.54.0",
"@sentry/integrations": "^7.54.0",
"@sentry/browser": "^7.56.0",
"@sentry/integrations": "^7.56.0",
"craco-module-federation": "^1.1.0",
"eslint": "^8.42.0",
"eslint": "^8.43.0",
"eslint-config-react-app": "^7.0.1",
"lodash": "^4.17.21",
"monaco-editor": "~0.39.0",
Expand All @@ -26,7 +26,7 @@
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
"react-fullscreen": "^0.1.0",
"react-i18next": "^12.3.1",
"react-i18next": "^13.0.0",
"react-icons": "^4.9.0",
"react-inlinesvg": "^3.0.2",
"react-json-view": "^1.21.3",
Expand All @@ -36,7 +36,7 @@
"react-text-mask": "^5.5.0",
"react-treeview-mui": "^0.1.2",
"reactour": "^1.19.0",
"sass": "^1.63.3",
"sass": "^1.63.4",
"styled-components": "^5.3.11",
"suncalc2": "^1.8.1"
},
Expand Down
4 changes: 3 additions & 1 deletion src/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,9 @@ class App extends GenericApp {
const a = document.createElement('a');
if (data.startsWith('admin.')) {
// new controller
a.href = `./files/${data}`;
// actual position is http://IP:8081/adapter/javascript/index.html
// we need http://IP:8081/files/admin.0/zip/2023-06-20-scripts.zip
a.href = `../../files/${data}`;
} else {
// the data is "system.host.HOST.zip.2020-01-26-scripts.zip"
const parts = data.split('.zip.');
Expand Down

0 comments on commit 3af911e

Please sign in to comment.