Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 95be6fc899 | |||
| ab9347a52e | |||
| 0813838ce9 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@
|
|||||||
/*.zip
|
/*.zip
|
||||||
/pkg/
|
/pkg/
|
||||||
/src/
|
/src/
|
||||||
|
IFLOW.md
|
||||||
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"idf.pythonInstallPath": "/opt/homebrew/bin/python3"
|
||||||
|
}
|
||||||
36
1-get-all-alci-gits-v1.sh
Executable file
36
1-get-all-alci-gits-v1.sh
Executable file
@@ -0,0 +1,36 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
##################################################################################################################
|
||||||
|
# Written to be used on 64 bits computers
|
||||||
|
# Author : Erik Dubois
|
||||||
|
# Website : http://www.erikdubois.be
|
||||||
|
##################################################################################################################
|
||||||
|
##################################################################################################################
|
||||||
|
#
|
||||||
|
# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK.
|
||||||
|
#
|
||||||
|
##################################################################################################################
|
||||||
|
|
||||||
|
echo "This gets all the existing githubs at once"
|
||||||
|
echo "Fill the array with the original folders first"
|
||||||
|
|
||||||
|
# use ls -d */ > list to get the list of the created githubs and copy/paste in
|
||||||
|
|
||||||
|
directories=(
|
||||||
|
tms-calamares-config/
|
||||||
|
tms-grub-theme/
|
||||||
|
tms-arch-linux-calamares-installer/
|
||||||
|
tms-calamares/
|
||||||
|
)
|
||||||
|
|
||||||
|
count=0
|
||||||
|
|
||||||
|
for name in "${directories[@]}"; do
|
||||||
|
count=$[count+1]
|
||||||
|
tput setaf 1;echo "Github "$count;tput sgr0;
|
||||||
|
# if there is no folder then make one
|
||||||
|
git clone http://192.168.10.207:3000/zj/$name
|
||||||
|
echo "#################################################"
|
||||||
|
echo "################ "$(basename `pwd`)" done"
|
||||||
|
echo "#################################################"
|
||||||
|
done
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
# 保存为 add_empty_folders.sh
|
|
||||||
|
|
||||||
echo "正在查找并处理空文件夹..."
|
|
||||||
|
|
||||||
# 查找所有空文件夹并创建 .gitkeep
|
|
||||||
find . -type d -empty | while read dir; do
|
|
||||||
if [ ! -f "$dir/.gitkeep" ]; then
|
|
||||||
touch "$dir/.gitkeep"
|
|
||||||
echo "✅ 已创建: $dir/.gitkeep"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "处理完成!"
|
|
||||||
@@ -124,10 +124,11 @@ GeneralRequirements::checkRequirements()
|
|||||||
hasPower = checkHasPower();
|
hasPower = checkHasPower();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( m_entriesToCheck.contains( "internet" ) )
|
// if ( m_entriesToCheck.contains( "internet" ) )
|
||||||
{
|
// {
|
||||||
hasInternet = checkHasInternet();
|
// hasInternet = checkHasInternet();
|
||||||
}
|
// }
|
||||||
|
hasInternet = true;
|
||||||
|
|
||||||
if ( m_entriesToCheck.contains( "root" ) )
|
if ( m_entriesToCheck.contains( "root" ) )
|
||||||
{
|
{
|
||||||
@@ -186,14 +187,14 @@ GeneralRequirements::checkRequirements()
|
|||||||
hasPower,
|
hasPower,
|
||||||
required } );
|
required } );
|
||||||
}
|
}
|
||||||
else if ( entry == "internet" )
|
// else if ( entry == "internet" )
|
||||||
{
|
// {
|
||||||
checkEntries.append( { entry,
|
// checkEntries.append( { entry,
|
||||||
[] { return tr( "is connected to the Internet" ); },
|
// [] { return tr( "is connected to the Internet" ); },
|
||||||
[] { return tr( "The system is not connected to the Internet." ); },
|
// [] { return tr( "The system is not connected to the Internet." ); },
|
||||||
hasInternet,
|
// hasInternet,
|
||||||
required } );
|
// required } );
|
||||||
}
|
// }
|
||||||
else if ( entry == "root" )
|
else if ( entry == "root" )
|
||||||
{
|
{
|
||||||
checkEntries.append( { entry,
|
checkEntries.append( { entry,
|
||||||
|
|||||||
Reference in New Issue
Block a user