Repository navigation
Local/pt br completo - #94
ySKELLETONX wants to merge 10 commits into
Conversation
The window's messages and the launcher's own, plus the style guide in docs/I18N.md. Any pt system language uses it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A fork can rename the `victory` package's program (SlaktarnVI builds `valhalla`). The launcher recorded some other program, then looked for victory.exe anyway, so Play and Fix and verify said it was not installed or that its program was missing. Build that program by name, record it as a VIctory build, and use the recorded program wherever one is looked up. Programs that are not VIctory builds get no game-file search or D3D12 files for it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A project can be marked as a favourite from the More menu or by right clicking its row. Favourites show in their own group at the top of the library and are kept in the settings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"Update all" shows when more than one installed project has an update. Ctrl+click or the row's menu selects installed projects; the bar under the list updates, warms up or uninstalls them after a dialog that lists them and lets each be taken off. They run one after another. One that fails or cannot be done is noted and the others go on; the ones still waiting can be stopped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Settings > Network takes a local HTTP proxy for the project list, Git downloads, Rust packages and updates. It applies at the next launch. ureq reads the proxy variables only with its proxy-from-env feature, so it is on: without it only Git and Cargo used the proxy. An address on port 80 is accepted. A test asks a local proxy for a list and a Git remote. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4dcd2a376a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| let handle = tauri_app.handle().clone(); | ||
| std::thread::spawn(move || loop { | ||
| std::thread::sleep(std::time::Duration::from_secs(2)); | ||
| handle.state::<Shared>().app.lock().unwrap().advance_bulk(); |
There was a problem hiding this comment.
Drain pending job results before advancing from the timer
When a minimized window stops requesting snapshots and a bulk uninstall contains multiple imported ZIP builds, this timer skips the apply_job_results work normally done by tick. The first uninstall sets job.removed_archive, but starting the next item resets the shared Job in App::start, erasing that pending removal. Earlier deleted builds therefore remain in saved.custom and the library; only the final pending removal survives until the next snapshot. Consume completed job results before advancing the queue here.
Useful? React with 👍 / 👎.
| fn bulk_outcome(&self, kind: BulkKind, repo: &str, generation: u64) -> Option<Outcome> { | ||
| let job = match kind { | ||
| BulkKind::Update => self.builds.get(repo)?, | ||
| BulkKind::Warm | BulkKind::Uninstall => &self.job, |
There was a problem hiding this comment.
Retain failed warm-up logs when advancing the bulk queue
If a bulk warm-up or uninstall fails before the last item, starting the next item resets this same self.job in App::start. The queue retains only the repository and a null failure reason, so project_job and project_log_from can no longer return the failed project's job or log. Its Activity view and normal log-export path are then empty, despite the bulk summary directing the player to that log. Preserve completed per-project jobs, or expose their persisted logs through the UI, before reusing the shared job.
Useful? React with 👍 / 👎.
| const [env, setEnv] = useDraft(s.extra_env, (v) => void run({ type: "set_settings", patch: { extra_env: v } })) | ||
| const [proxy, setProxy] = useState(s.proxy_url) | ||
| useEffect(() => setProxy(s.proxy_url), [s.proxy_url]) | ||
| const proxyValid = !proxy.trim() || /^http:\/\/[^\s/@:]+:\d{1,5}\/?$/.test(proxy.trim()) |
There was a problem hiding this comment.
Allow bracketed IPv6 hosts in the proxy validation
For an IPv6 proxy URL such as http://[::1]:80, this expression rejects the colons inside the bracketed host, making proxyValid false and permanently disabling Save. The backend validator has an explicit acceptance test for this address, but users cannot configure it through Settings. Validate the parsed host and port consistently with the backend so IPv6-only proxies can be saved.
Useful? React with 👍 / 👎.
What this changes
Why
How it was tested
pnpm ci:checkpassescargo fmt --checkandcargo clippy --all-targetsreport nothing (for Rust changes)Safety and data
Licence