mirror of
https://github.com/Axorax/awesome-free-apps.git
synced 2025-12-18 10:15:24 +00:00
test
This commit is contained in:
parent
d3dad39670
commit
80b172f62a
@ -597,6 +597,7 @@
|
|||||||
- [Lantern](https://getlantern.org/) - Free internet freedom tool that bypasses network restrictions. 🪟 🍎 🐧
|
- [Lantern](https://getlantern.org/) - Free internet freedom tool that bypasses network restrictions. 🪟 🍎 🐧
|
||||||
- [OpenVPN](https://openvpn.net/community-downloads/) - VPN solution for secure internet connections. 🪟 🟢
|
- [OpenVPN](https://openvpn.net/community-downloads/) - VPN solution for secure internet connections. 🪟 🟢
|
||||||
- [SoftEther VPN](https://www.softether.org/) - VPN software with multiple protocol support. 🪟 🟢
|
- [SoftEther VPN](https://www.softether.org/) - VPN software with multiple protocol support. 🪟 🟢
|
||||||
|
- [Sing-box](https://github.com/SagerNet/sing-box) - Powerful Universal proxy platform. 🪟 🍎 🐧 🟢
|
||||||
|
|
||||||
## Utility
|
## Utility
|
||||||
|
|
||||||
@ -614,7 +615,7 @@
|
|||||||
- [Rocket](https://matthewpalmer.net/rocket/) - Type emojis using colon (:) anywhere. 🍎
|
- [Rocket](https://matthewpalmer.net/rocket/) - Type emojis using colon (:) anywhere. 🍎
|
||||||
- [Keylock](https://github.com/Axorax/keylock) - Lock your keyboard. 🪟 🟢
|
- [Keylock](https://github.com/Axorax/keylock) - Lock your keyboard. 🪟 🟢
|
||||||
- [Winpower](https://github.com/Axorax/winpower) - Improved power settings for Windows. 🪟 🟢
|
- [Winpower](https://github.com/Axorax/winpower) - Improved power settings for Windows. 🪟 🟢
|
||||||
- [Locale Emulator](https://github.com/xupefei/Locale-Emulator) - System Region and Language Simulator. 🪟 🟢
|
- [Locale Emulator](https://github.com/xupefei/Locale-Emulator) - System region and language simulator. 🪟 🟢
|
||||||
|
|
||||||
### Clipboard Management
|
### Clipboard Management
|
||||||
|
|
||||||
|
|||||||
20
index.js
20
index.js
@ -1,4 +1,5 @@
|
|||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
|
const { execSync } = require('child_process');
|
||||||
|
|
||||||
function create(fileName, emoji) {
|
function create(fileName, emoji) {
|
||||||
const startTime = Date.now();
|
const startTime = Date.now();
|
||||||
@ -65,6 +66,17 @@ function countLinks() {
|
|||||||
console.log(`Total links in README.md: \x1b[32m${linkCount}\x1b[0m`);
|
console.log(`Total links in README.md: \x1b[32m${linkCount}\x1b[0m`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function fastGit(message = "update") {
|
||||||
|
try {
|
||||||
|
execSync('git add -A', { stdio: 'inherit' });
|
||||||
|
execSync(`git commit -m "${message}"`, { stdio: 'inherit' });
|
||||||
|
execSync('git push', { stdio: 'inherit' });
|
||||||
|
console.log('Changes have been committed and pushed.');
|
||||||
|
} catch (error) {
|
||||||
|
console.error('Error running git commands:', error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const args = process.argv.slice(2);
|
const args = process.argv.slice(2);
|
||||||
|
|
||||||
if (args.includes('--categorize')) {
|
if (args.includes('--categorize')) {
|
||||||
@ -73,9 +85,17 @@ if (args.includes('--categorize')) {
|
|||||||
format();
|
format();
|
||||||
} else if (args.includes('--links')) {
|
} else if (args.includes('--links')) {
|
||||||
countLinks();
|
countLinks();
|
||||||
|
} else if (args.includes('--fastgit')) {
|
||||||
|
const commitMessage = args.slice(1).join(' ');
|
||||||
|
if (commitMessage) {
|
||||||
|
fastGit(commitMessage);
|
||||||
|
} else {
|
||||||
|
console.log('Please provide a commit message after --fastgit');
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
console.log("Usage:");
|
console.log("Usage:");
|
||||||
console.log(" node index.js --categorize Run the categorize function");
|
console.log(" node index.js --categorize Run the categorize function");
|
||||||
console.log(" node index.js --format Format the README.md file");
|
console.log(" node index.js --format Format the README.md file");
|
||||||
console.log(" node index.js --links Count and display total links in README.md");
|
console.log(" node index.js --links Count and display total links in README.md");
|
||||||
|
console.log(" node index.js --fastgit <msg> Run git commands with the specified commit message");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user