mixio 1.10.1

This commit is contained in:
Eason010212
2023-03-11 11:42:26 +08:00
parent c9c4c2e71e
commit 9fa55ba442
24 changed files with 561 additions and 311 deletions

View File

@@ -1,18 +0,0 @@
service="
[Unit]
Description=MixIO Service
After=network.target
StartLimitIntervalSec=0
[Service]
Type=forking
Restart=always
RestartSec=1
WorkingDirectory="$(pwd)"
ExecStart="$(pwd)"/mixio start
ExecStop="$(pwd)"/mixio stop
[Install]
WantedBy=multi-user.target
"
echo "${service}" > /etc/systemd/system/mixio.service

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,2 +0,0 @@
{
}

View File

@@ -5,31 +5,13 @@ version="{
\"platform\":\"win-x64\",
\"node-version\":\"16\"
}"
gitignore="config/*
logs/*
storage/*
"
cd ../../
rm -rf mixio_win_x64
mkdir mixio_win_x64
cd mixio_win_x64
echo "${version}" > version.json
echo "${gitignore}" > .gitignore
mkdir logs
mkdir storage
mkdir config
cd ../
chmod -R 777 mixio
cd mixio
npm install
pkg -t node16-win-x64 package.json
mv -f mixio ../mixio_win_x64/
cp -r config ../mixio_win_x64/
cd pkg_tools
cp win/autoStart.bat ../../mixio_win_x64/
cp win/removeAutoStart.bat ../../mixio_win_x64/
cp win/start.bat ../../mixio_win_x64/
cp mixio.empty.db ../../mixio_win_x64/storage/mixio.db
cp -r reserve ../../mixio_win_x64/storage/
cd ../../
cd ../
chmod -R 777 mixio_win_x64

View File

@@ -1,4 +0,0 @@
@echo off
cd /d %~dp0
reg add hklm\software\microsoft\windows\currentversion\run /v MixIO /t reg_sz /d "%cd%\start.bat"
pause

View File

@@ -1,4 +0,0 @@
@echo off
cd /d %~dp0
reg delete hklm\software\microsoft\windows\currentversion\run /v MixIO
pause

View File

@@ -1,4 +0,0 @@
@echo off
cd /d %~dp0
mixio.exe start
pause