1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-12 12:16:18 +00:00

refactor: simplify pnpm environment variable handling in clean script

This commit is contained in:
Tw93
2026-01-02 19:10:20 +08:00
parent 910e79df4e
commit d701519310
6 changed files with 25 additions and 7 deletions

View File

@@ -0,0 +1 @@
dependency

View File

@@ -0,0 +1,19 @@
#!/bin/bash
if [[ "$1" == "status" ]]; then
cat << 'TMUTIL_OUTPUT'
Backup session status:
{
ClientID = "com.apple.backupd";
Running = 1;
}
TMUTIL_OUTPUT
elif [[ "$1" == "destinationinfo" ]]; then
cat << 'DEST_OUTPUT'
====================================================
Name : TestBackup
Kind : Local
Mount Point : /Volumes/TestBackup
ID : 12345678-1234-1234-1234-123456789012
====================================================
DEST_OUTPUT
fi

View File

@@ -1,2 +0,0 @@
#!/usr/bin/env bash
echo "Already on latest version"