diff options
author | Sebastian <sebasjm@gmail.com> | 2024-02-15 17:18:59 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-02-15 17:18:59 -0300 |
commit | 2c17e98c336d96f955ec82ad0a1b164e3da90103 (patch) | |
tree | a2263112863352a576b23fddb5171225f0dccdcf /packages/challenger-ui | |
parent | 53497d03bb329b05caf3a64fdd47ca3c5bc298f7 (diff) | |
download | wallet-core-2c17e98c336d96f955ec82ad0a1b164e3da90103.tar.xz |
fix last commit
Diffstat (limited to 'packages/challenger-ui')
-rw-r--r-- | packages/challenger-ui/README.md | 4 | ||||
-rwxr-xr-x | packages/challenger-ui/create_must.sh | 16 |
2 files changed, 13 insertions, 7 deletions
diff --git a/packages/challenger-ui/README.md b/packages/challenger-ui/README.md index 855addd74..ac589ace6 100644 --- a/packages/challenger-ui/README.md +++ b/packages/challenger-ui/README.md @@ -1,4 +1,4 @@ -# Taler Exchange Backoffice UI +# Challenger Backoffice UI -Web-based user interface for the GNU Taler exchange. +Web-based user interface for the GNU Challenger. diff --git a/packages/challenger-ui/create_must.sh b/packages/challenger-ui/create_must.sh index 1a92dd302..a4d78b2cc 100755 --- a/packages/challenger-ui/create_must.sh +++ b/packages/challenger-ui/create_must.sh @@ -1,19 +1,25 @@ #!/bin/bash +# This file is in the public domain. + +# After the compilation succeeded +# some changes needs to be made +# in the html/js files to match the +# what the service expects cd dist/prod for file in *.html; do - #remove the js reference used for dev + # 1. remove the js reference used for dev sed /main.js/d -i $file - #change the location of css since challenger backend - #wants them in the root path + # 2. change the location of css since + #challenger backend wants them in the root path sed 's/="main.css"/="..\/main.css"/' -i $file - #rename the extension to must template + # 3. rename the extension to must template mv $file ${file:0:-5}.en.must done #delete unused files -rm main.js main.js.map main.css.map +rm *.js *.map |