Compare commits

..

No commits in common. "144f7bb6444da41ca608305f75a4c896066eca2f" and "da2ec0b2a2f21dfee0e717253dbad186517471d2" have entirely different histories.

2 changed files with 8 additions and 9 deletions

1
.gitignore vendored
View File

@ -4,7 +4,6 @@
.vscode/
.DS_Store
build/
BUILD/
dist-dos/
*.obj
*.OBJ

16
make-dos-zip.sh Executable file → Normal file
View File

@ -20,7 +20,7 @@ set -euo pipefail
VERSION="${1:-$(date +%Y%m%d)}"
ZIP_NAME="cnotes-v${VERSION}-dos.zip"
BUILD_DIR="BUILD"
BUILD_DIR="build"
DIST_DIR="dist-dos"
# Colors
@ -32,12 +32,12 @@ echo -e "${GREEN}Packaging DOS release: ${ZIP_NAME}${NC}"
# 1. Check required files exist in build/
REQUIRED_FILES=(
"CNADD.EXE"
"CNDUMP.EXE"
"CNCOUNT.EXE"
"CNDEL.EXE"
"CNFIND.EXE"
"CNHELP.EXE"
"cnadd.exe"
"cndump.exe"
"cncount.exe"
"cndel.exe"
"cnfind.exe"
"cnhelp.exe"
"INSTALL.BAT"
"READ-DOS.TXT"
)
@ -63,7 +63,7 @@ mkdir -p "${DIST_DIR}"
# 3. Copy files to staging
echo "Staging files..."
cp "${BUILD_DIR}"/*.EXE "${DIST_DIR}"/
cp "${BUILD_DIR}"/*.exe "${DIST_DIR}"/
cp "${BUILD_DIR}/INSTALL.BAT" "${DIST_DIR}"/
cp "$$ {BUILD_DIR}/READ-DOS.TXT" " $${DIST_DIR}"/ 2>/dev/null || {
echo -e "$$ {RED}Warning: READ-DOS.TXT not found in build/ (optional but recommended) $${NC}"