From dfe0ea187a361894f0e57977c7947f3f95d1ec71 Mon Sep 17 00:00:00 2001 From: Gkiokan Sali Date: Mon, 2 May 2022 22:26:01 +0200 Subject: [PATCH] fix image path creating on unix and disable manual edit basePath --- package.json | 2 +- src-electron/src/hb.js | 4 ++-- src/components/Config.vue | 2 +- src/css/app.scss | 4 ++++ 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 4d6c6df..ce01a4b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hb-store-cdn-server", - "version": "1.7.1", + "version": "1.7.2", "description": "HB-Store CDN Server", "productName": "HB-Store CDN Server", "homepage": "https://gkiokan.net", diff --git a/src-electron/src/hb.js b/src-electron/src/hb.js index cdbfbc2..984f356 100644 --- a/src-electron/src/hb.js +++ b/src-electron/src/hb.js @@ -45,7 +45,7 @@ export default { if(item.patchedFilename.charAt(0) == '/') item.patchedFilename = item.patchedFilename.substr(1) - + return item }, @@ -56,7 +56,7 @@ export default { addImages(data=null, base){ let id = data.id let patched - let image = base + this.getImagePathURI(data) + let image = base + '/' + this.getImagePathURI(data) data.image = image data.main_icon_path = image diff --git a/src/components/Config.vue b/src/components/Config.vue index 322b7a7..b182dde 100644 --- a/src/components/Config.vue +++ b/src/components/Config.vue @@ -26,7 +26,7 @@ - + diff --git a/src/css/app.scss b/src/css/app.scss index 86e6bea..99e642e 100644 --- a/src/css/app.scss +++ b/src/css/app.scss @@ -40,3 +40,7 @@ html, body { .cursor-pointer { cursor: pointer !important; } + +.q-field--outlined.q-field--readonly .q-field__control:before { + border-style: solid !important; +}