From cacf8ee9586de8844f501dab8229da0a1611fcb8 Mon Sep 17 00:00:00 2001 From: guillermo Date: Fri, 23 Feb 2024 12:33:58 +0100 Subject: [PATCH] refactor refs #5308 Folders name --- img/{apiSources => api-sources}/apiSource.bmp | Bin img/{apiSources => api-sources}/development.bmp | Bin img/{apiSources => api-sources}/production.bmp | Bin img/{apiSources => api-sources}/test.bmp | Bin img/{appIcons => app-icons}/com.ico | Bin img/{appIcons => app-icons}/enc.ico | Bin img/{appIcons => app-icons}/ent.ico | Bin img/{appIcons => app-icons}/eti.ico | Bin img/{appIcons => app-icons}/lab.ico | Bin img/{appIcons => app-icons}/tpv.ico | Bin img/{appIcons => app-icons}/vn.ico | Bin setup.iss | 6 +++--- src/main.js | 2 +- 13 files changed, 4 insertions(+), 4 deletions(-) rename img/{apiSources => api-sources}/apiSource.bmp (100%) rename img/{apiSources => api-sources}/development.bmp (100%) rename img/{apiSources => api-sources}/production.bmp (100%) rename img/{apiSources => api-sources}/test.bmp (100%) rename img/{appIcons => app-icons}/com.ico (100%) rename img/{appIcons => app-icons}/enc.ico (100%) rename img/{appIcons => app-icons}/ent.ico (100%) rename img/{appIcons => app-icons}/eti.ico (100%) rename img/{appIcons => app-icons}/lab.ico (100%) rename img/{appIcons => app-icons}/tpv.ico (100%) rename img/{appIcons => app-icons}/vn.ico (100%) diff --git a/img/apiSources/apiSource.bmp b/img/api-sources/apiSource.bmp similarity index 100% rename from img/apiSources/apiSource.bmp rename to img/api-sources/apiSource.bmp diff --git a/img/apiSources/development.bmp b/img/api-sources/development.bmp similarity index 100% rename from img/apiSources/development.bmp rename to img/api-sources/development.bmp diff --git a/img/apiSources/production.bmp b/img/api-sources/production.bmp similarity index 100% rename from img/apiSources/production.bmp rename to img/api-sources/production.bmp diff --git a/img/apiSources/test.bmp b/img/api-sources/test.bmp similarity index 100% rename from img/apiSources/test.bmp rename to img/api-sources/test.bmp diff --git a/img/appIcons/com.ico b/img/app-icons/com.ico similarity index 100% rename from img/appIcons/com.ico rename to img/app-icons/com.ico diff --git a/img/appIcons/enc.ico b/img/app-icons/enc.ico similarity index 100% rename from img/appIcons/enc.ico rename to img/app-icons/enc.ico diff --git a/img/appIcons/ent.ico b/img/app-icons/ent.ico similarity index 100% rename from img/appIcons/ent.ico rename to img/app-icons/ent.ico diff --git a/img/appIcons/eti.ico b/img/app-icons/eti.ico similarity index 100% rename from img/appIcons/eti.ico rename to img/app-icons/eti.ico diff --git a/img/appIcons/lab.ico b/img/app-icons/lab.ico similarity index 100% rename from img/appIcons/lab.ico rename to img/app-icons/lab.ico diff --git a/img/appIcons/tpv.ico b/img/app-icons/tpv.ico similarity index 100% rename from img/appIcons/tpv.ico rename to img/app-icons/tpv.ico diff --git a/img/appIcons/vn.ico b/img/app-icons/vn.ico similarity index 100% rename from img/appIcons/vn.ico rename to img/app-icons/vn.ico diff --git a/setup.iss b/setup.iss index d938e9a..21f8ee6 100644 --- a/setup.iss +++ b/setup.iss @@ -52,9 +52,9 @@ Source: "img\branches\*"; \ DestDir: "{app}branches"; Flags: ignoreversion Source: "img\datasources\*"; \ DestDir: "{app}datasources"; Flags: ignoreversion -Source: "img\apiSources\*"; \ - DestDir: "{app}apiSources"; Flags: ignoreversion -Source: "img\appIcons\*"; \ +Source: "img\api-sources\*"; \ + DestDir: "{app}api-sources"; Flags: ignoreversion +Source: "img\app-icons\*"; \ DestDir: "{app}\icons"; Flags: ignoreversion Source: "ocx\*"; \ DestDir: {sys}; Flags: onlyifdoesntexist regserver 32bit diff --git a/src/main.js b/src/main.js index f5dd1a4..9fa0caf 100755 --- a/src/main.js +++ b/src/main.js @@ -112,7 +112,7 @@ var App = { this.regWrite(Conf.regPath, 'remoteURL', Conf.defaultRemoteURL); this.regWrite(Conf.regPath, 'lastExecutedVersion', Conf.version); this.regWrite(Conf.regPath, 'selectedApiSource', Conf.defaultApiSource); - this.regWrite(Conf.regPath + '\\apiSources', Conf.defaultApiSource, Conf.defaultRemoteURL); + this.regWrite(Conf.regPath + '\\api-sources', Conf.defaultApiSource, Conf.defaultRemoteURL); this.createODBC( Conf.odbcPath, Conf.productionDatasource,