1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-22 06:19:39 +08:00
github-action update-app-version 48efd374fb Update app version [skip ci]
2025-01-16 04:15:40 +00:00

21 lines
328 B
Bash

#!/bin/bash
if [ -f .env ]; then
source .env
if [ ! -d $SIYUAN_ROOT_PATH ]; then
mkdir -p $SIYUAN_ROOT_PATH
fi
if [ ! -d $SIYUAN_ROOT_PATH/workspace ]; then
mkdir -p $SIYUAN_ROOT_PATH/workspace
fi
chown -R 1000:1000 $SIYUAN_ROOT_PATH
echo "Check Finish."
else
echo "Error: .env file not found."
fi