diff --git a/PUSH_TO_GITEA.md b/PUSH_TO_GITEA.md index 080f719..3a135e2 100644 --- a/PUSH_TO_GITEA.md +++ b/PUSH_TO_GITEA.md @@ -1,8 +1,15 @@ # Push to your Gitea -1. **Create a new repository** on your Gitea instance (e.g. `bulk-renamer`, empty, no README). +1. **Set Git identity** (if not already set): + ```bash + git config --global user.email "you@example.com" + git config --global user.name "Your Name" + ``` + To fix the initial commit author: `git commit --amend --reset-author --no-edit` -2. **Add the remote and push** (replace with your Gitea URL and username): +2. **Create a new repository** on your Gitea instance (e.g. `bulk-renamer`, empty, no README). + +3. **Add the remote and push** (replace with your Gitea URL and username): ```bash cd "/home/jorg/Documents/Cursor Projects/Bulk Renamer" @@ -14,4 +21,4 @@ git branch -M main git push -u origin main ``` -3. If Gitea asks for auth, use your normal login (or a token for HTTPS). +4. If Gitea asks for auth, use your normal login (or a token for HTTPS). diff --git a/build_appimage.sh b/build_appimage.sh old mode 100644 new mode 100755 index 76fa9c4..2ae018a --- a/build_appimage.sh +++ b/build_appimage.sh @@ -48,9 +48,9 @@ EOF echo "=== Building AppImage (requires appimagetool) ===" if command -v appimagetool &>/dev/null; then - appimagetool "$APPDIR" "${APP_NAME}-${VERSION:-dev}.AppImage" 2>/dev/null || \ - appimagetool "$APPDIR" "${APP_NAME}.AppImage" - echo "Done: ${APP_NAME}.AppImage (or ${APP_NAME}-dev.AppImage)" + OUT="${APP_NAME}.AppImage" + appimagetool "$APPDIR" "$OUT" + echo "Done: $OUT" else echo "AppDir is ready at $APPDIR/" echo "To create the .AppImage, install appimagetool and run:"