mirror of
https://github.com/aclist/dztui.git
synced 2026-11-01 23:52:47 +01:00
Bump version
This commit is contained in:
1 parent
6860541f5b
commit
c9df7f86e8
2 files changed
+9
-5
No files matched your search
@@ -6,6 +6,10 @@
|
|||||||
- Standardize dialogs
|
- Standardize dialogs
|
||||||
- Validate BM API key
|
- Validate BM API key
|
||||||
|
|
||||||
|
## [3.1.1-2] 2022-12-03
|
||||||
|
### Fixed
|
||||||
|
- Fix lockfile path
|
||||||
|
|
||||||
## [3.1.0] 2022-12-03
|
## [3.1.0] 2022-12-03
|
||||||
### Added
|
### Added
|
||||||
- Recent connect history
|
- Recent connect history
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
version=3.1.1
|
version=3.1.2
|
||||||
|
|
||||||
aid=221100
|
aid=221100
|
||||||
game="dayz"
|
game="dayz"
|
||||||
@@ -1712,10 +1712,10 @@ while true; do
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
lock(){
|
lock(){
|
||||||
if [[ ! -f $config_path/.lockfile ]]; then
|
if [[ ! -f ${config_path}.lockfile ]]; then
|
||||||
touch $config_path/.lockfile
|
touch ${config_path}.lockfile
|
||||||
fi
|
fi
|
||||||
pid=$(cat $config_path/.lockfile)
|
pid=$(cat ${config_path}.lockfile)
|
||||||
ps -p $pid -o pid= >/dev/null 2>&1
|
ps -p $pid -o pid= >/dev/null 2>&1
|
||||||
res=$?
|
res=$?
|
||||||
if [[ $res -eq 0 ]]; then
|
if [[ $res -eq 0 ]]; then
|
||||||
@@ -1725,7 +1725,7 @@ lock(){
|
|||||||
elif [[ $pid == $$ ]]; then
|
elif [[ $pid == $$ ]]; then
|
||||||
:
|
:
|
||||||
else
|
else
|
||||||
echo $$ > $config_path/.lockfile
|
echo $$ > ${config_path}.lockfile
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
fetch_helpers(){
|
fetch_helpers(){
|
||||||
|
|||||||
Reference in new issue
Block a user