mixio 1.10.1
This commit is contained in:
@@ -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.
@@ -1,2 +0,0 @@
|
||||
{
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -1,4 +0,0 @@
|
||||
@echo off
|
||||
cd /d %~dp0
|
||||
reg delete hklm\software\microsoft\windows\currentversion\run /v MixIO
|
||||
pause
|
||||
@@ -1,4 +0,0 @@
|
||||
@echo off
|
||||
cd /d %~dp0
|
||||
mixio.exe start
|
||||
pause
|
||||
Reference in New Issue
Block a user