mirror of https://github.com/Xhofe/alist
fix: put a placeholder file in dist [skip ci]
parent
046bbb3a48
commit
615e5dd118
|
@ -1,7 +1,7 @@
|
||||||
.idea/
|
.idea/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
output/
|
output/
|
||||||
dist/
|
/dist/
|
||||||
|
|
||||||
# Binaries for programs and plugins
|
# Binaries for programs and plugins
|
||||||
*.exe
|
*.exe
|
||||||
|
@ -25,4 +25,5 @@ bin/*
|
||||||
data/
|
data/
|
||||||
log/
|
log/
|
||||||
lang/
|
lang/
|
||||||
public/dist/
|
public/dist/*
|
||||||
|
!public/dist/README.md
|
3
build.sh
3
build.sh
|
@ -27,7 +27,8 @@ ldflags="\
|
||||||
FetchWebBuild() {
|
FetchWebBuild() {
|
||||||
curl -L https://codeload.github.com/alist-org/web-dist/tar.gz/refs/heads/main -o web-dist-main.tar.gz
|
curl -L https://codeload.github.com/alist-org/web-dist/tar.gz/refs/heads/main -o web-dist-main.tar.gz
|
||||||
tar -zxvf web-dist-main.tar.gz
|
tar -zxvf web-dist-main.tar.gz
|
||||||
mv web-dist-main/dist public
|
rm -rf public/dist
|
||||||
|
mv -f web-dist-main/dist public
|
||||||
rm -rf web-dist-main web-dist-main.tar.gz
|
rm -rf web-dist-main web-dist-main.tar.gz
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
## Put dist of frontend here.
|
Loading…
Reference in New Issue