Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit37d7ef4

Browse files
authored
fix: configuration page build (#35)
1 parent1c894b8 commit37d7ef4

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

‎.github/workflows/static.yml‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ jobs:
4040
-name:build webinstaller
4141
run:|
4242
sh build-webinstaller.sh
43-
cd hardware-installer
44-
npm install
45-
npx vite build
4643
-name:Setup Pages
4744
uses:actions/configure-pages@v3
4845
-name:Upload artifact

‎INSTALLER.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This affordable off the shelf Nostr signing device is designed to work with LilyGo's <ahref="https://www.aliexpress.com/item/33048962331.html">T-Display</a>, but it will work with any ESP32 microcontroller with some work.
44

55
1.**Flash your device at[nsd.lnbits.com](https://nsd.lnbits.com)**
6-
2.**Configure your device at[nsd.lnbits.com/config.html](https://nsd.lnbits.com/config.html)**
6+
2.**Configure your device at[nsd.lnbits.com/config](https://nsd.lnbits.com/config)**
77

88
##How to use your NSD
99

‎build-webinstaller.sh‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ cp config.js ./hardware-installer/src/config.js
1515

1616
sed -i"s/%title%/$PROJECT_NAME/g" ./hardware-installer/index.html
1717

18-
cp ./configure/nsd_config.html ./hardware-installer/config.html
1918

2019
mkdir -p$INSTALLER_PATH
2120
fordevicein$(jq -r'.devices[]' ./hardware-installer/src/versions.json);do
@@ -29,3 +28,11 @@ for device in $(jq -r '.devices[]' ./hardware-installer/src/versions.json); do
2928
mv$PROJECT_NAME.ino.bootloader.bin$INSTALLER_PATH/$device/$version
3029
done
3130
done
31+
32+
cd ./hardware-installer
33+
npm install
34+
npx vite build
35+
cd ..
36+
37+
# add config page
38+
cp -r ./configure ./hardware-installer/dist/config

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp