Skip to content

Portable для Windows — обычная папка вместо самораспаковывающегося exe - #3

Merged
bboyJohnn merged 1 commit into
mainfrom
claude/festive-ptolemy-2hrfx1
Oct 19, 2026
Merged

bboyJohnn merged 1 commit into
mainfrom
claude/festive-ptolemy-2hrfx1

Conversation

@bboyJohnn

Copy link
Copy Markdown
Owner

Зачем

При запуске на Windows программу назвали подозрительной. В CineConvert-portable.zip лежал exe из одного файла: он при каждом запуске распаковывает себя во временную папку. Антивирусы часто считают такие exe угрозой; это известное ложное срабатывание у программ на PyInstaller.

Что изменено

  • CineConvert-portable.zip: внутри теперь обычная папка — CineConvert.exe и _internal, рядом ffmpeg/bin и locales. Ничего не распаковывается при запуске, поэтому антивирусы срабатывают реже, а программа запускается быстрее.
  • CineConvert.exe в релизе остаётся одним файлом. Это лёгкий вариант, который сам докачивает FFmpeg.
  • Самопроверка на Windows теперь запускает обе сборки: portable-папку и одиночный exe (рядом с ним кладётся FFmpeg).
  • README и текст релиза: описание portable обновлено. Добавлено, что делать, если антивирус поместил программу в карантин.

Проверка

  • Тот же порядок сборки прогнан на Linux, PyInstaller там работает так же:
    • собраны одиночный файл и папка;
    • самопроверка ok у обеих, и каждая использует FFmpeg из своей папки;
    • в zip лежат CineConvert, _internal, ffmpeg, locales и файлы с лицензиями.
  • Сборка на Windows будет проверена CI этого PR.
  • Не проверено: срабатывает ли конкретный антивирус на новую сборку. Это можно проверить только на Windows.

Generated by Claude Code

The portable zip carried the one-file exe, which unpacks itself to a temp
folder on every launch; antiviruses often flag such exes. The portable
build is now a PyInstaller folder (CineConvert.exe + _internal) with
FFmpeg and locales next to it: flagged far less often and starts faster.

- CineConvert.exe in the release stays a single file
- the self-test now runs both the portable folder and the single exe

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BAXRzRGWDemk9sYyF2v18g
@bboyJohnn
bboyJohnn marked this pull request as ready for review October 19, 2026 17:31
@bboyJohnn
bboyJohnn merged commit 057e2ab into main Oct 19, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants