v2.2.0: 완전 초기화 · Podman 크기 선택 · Mac Continue 자동 갱신 (Windows·Mac)

- 완전 초기화: 메인 메뉴 검색창에 0000000000 → 목록 → 모델 남김/삭제 선택 →
  0000000000 재입력 → 바탕화면 zip 백업(실패 시 중단) → 가상 머신·데이터·프로그램 삭제
  (Windows 16_factory_reset.ps1, Mac 16_factory_reset.sh, 메뉴 SecretWord/MENU_SECRET)
- Podman 가상 머신 크기: 추천(기본)·최소·최대·사용자 정의 (Windows 08, Mac 08)
- Mac v2.2.0 Continue 설정 자동 갱신(맥1 세션 37860f1)을 src/platform/mac/15_continue.sh로 옮김
- wiki: 지시 기록(맥 Continue), 07_변경_기록, PROJECT.md 소스 표, README

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HnDmXrFqktWwYa1cuJRAVZ
This commit is contained in:
2026-11-05 04:55:54 +00:00
parent 5c9072e814
commit 907a999f8b
16 changed files with 673 additions and 47 deletions

View File

@@ -29,7 +29,7 @@ BOLD=$'\033[1m'
RESET=$'\033[0m'
TAB=$'\t'
APP_VERSION="2.1.1" # JJ Ollama Manager 버전 (메이저.마이너.수정)
APP_VERSION="2.2.0" # JJ Ollama Manager 버전 (메이저.마이너.수정)
SCRIPT_PATH="$(cd "$(dirname "$0")" && pwd)/$(basename "$0")"
# --------------------------------------------------
@@ -189,7 +189,9 @@ for __src in \
11_comfy_models_link.sh \
12_comfy_stack_storage.sh \
13_storage_paths.sh \
14_setup.sh; do
14_setup.sh \
15_continue.sh \
16_factory_reset.sh; do
if [ ! -f "$SRC_DIR/$__src" ]; then
echo "${RED}❌ 소스 파일이 없습니다: $SRC_DIR/$__src (저장소를 다시 받아 주세요: git pull)${RESET}" >&2
exit 1
@@ -244,6 +246,7 @@ fi
# 메인 메뉴
# --------------------------------------------------
[ -s "$OLLAMA_MODELS_FILE" ] && ollama_models_apply_env # 재부팅 후에도 Ollama 앱이 바꾼 위치를 쓰도록
is_server_running && continue_config_update # VS Code Continue 설정을 지금 모델 목록에 맞춤 (바뀔 때만 씀)
STATUS_IN_MENUS=1
while true; do
menu_reset
@@ -273,8 +276,10 @@ while true; do
HEADER="$(status_block)"$'\n'"${MAIN_KEY_HELP}"
MENU_SECRET="$RESET_WORD" # 검색창에 0000000000 → 완전 초기화 (16_factory_reset.sh)
menu_select "$HEADER" "" "" main
RC=$?
MENU_SECRET=""
if [ $RC -eq 1 ]; then
# Esc(또는 번호 입력 취소) → 종료 확인
clear
@@ -284,6 +289,7 @@ while true; do
[ $RC -eq 2 ] && continue
case "$MENU_RESULT" in
__secret) factory_reset ;;
start) clear; start_server; pause_return ;;
stop) clear; stop_server; pause_return ;;
restart) clear; restart_server; pause_return ;;