Compare commits
19 Commits
profilarr-
...
5278685dff
| Author | SHA1 | Date | |
|---|---|---|---|
| 5278685dff | |||
| 3a2d253bcc | |||
| 2f835e0f74 | |||
| b2f703d985 | |||
| 8c90128f9a | |||
| 9bb805cb99 | |||
| 90e4726a61 | |||
| 60e56e41bf | |||
| f15ac48b12 | |||
| aa6bf06cd7 | |||
| 0c58e5628e | |||
| 9ddda8dcf8 | |||
| 964f99400a | |||
| e1bbb3121f | |||
| d9da2ca01d | |||
| 1f07de9ebe | |||
| f18b9086f2 | |||
| 1c3593230c | |||
| 78d16dd0cf |
@ -107,8 +107,6 @@ function update_script() {
|
||||
cd /opt/${APP}/frontend || exit
|
||||
npm install
|
||||
npm run build
|
||||
# Ensure the static directory exists before copying
|
||||
mkdir -p /opt/${APP}/backend/app/static/
|
||||
cp -r dist/* /opt/${APP}/backend/app/static/
|
||||
msg_ok "Built Frontend"
|
||||
|
||||
|
||||
@ -39,13 +39,13 @@ NODE_VERSION="20" install_node_and_modules
|
||||
msg_ok "Installed Node.js"
|
||||
|
||||
msg_info "Setup ${APPLICATION}"
|
||||
RELEASE=$(curl -fsSL https://api.github.com/repos/BiluliB/profilarr/releases/latest | grep "tag_name" | cut -d'"' -f4)
|
||||
RELEASE=$(curl -fsSL https://api.github.com/repos/Dictionarry-Hub/profilarr/releases/latest | grep "tag_name" | cut -d'"' -f4)
|
||||
if [[ -z "$RELEASE" ]]; then
|
||||
msg_error "Failed to fetch latest release version"
|
||||
exit 1
|
||||
fi
|
||||
temp_file=$(mktemp)
|
||||
$STD curl -fsSL -o "$temp_file" "https://github.com/BiluliB/profilarr/archive/refs/tags/${RELEASE}.zip"
|
||||
$STD curl -fsSL -o "$temp_file" "https://github.com/Dictionarry-Hub/profilarr/archive/refs/tags/${RELEASE}.zip"
|
||||
$STD unzip -q "$temp_file" -d /tmp
|
||||
$STD mkdir -p /opt/${APPLICATION}
|
||||
$STD mkdir -p /opt/${APPLICATION}_config
|
||||
|
||||
Reference in New Issue
Block a user