Merge QYG2297248353/appstore-1panel into pooneyy/1Panel-Appstore
This commit is contained in:
2
apps/siyuan/3.1.32/envs/default.env
Normal file
2
apps/siyuan/3.1.32/envs/default.env
Normal file
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
2
apps/siyuan/3.1.32/envs/global.env
Normal file
2
apps/siyuan/3.1.32/envs/global.env
Normal file
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
20
apps/siyuan/3.1.32/scripts/init.sh
Normal file
20
apps/siyuan/3.1.32/scripts/init.sh
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/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
|
||||
10
apps/siyuan/3.1.32/scripts/uninstall.sh
Normal file
10
apps/siyuan/3.1.32/scripts/uninstall.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
10
apps/siyuan/3.1.32/scripts/upgrade.sh
Normal file
10
apps/siyuan/3.1.32/scripts/upgrade.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
Reference in New Issue
Block a user