跪拜 Guibai
← All articles
AI Coding

Qoder CN's Daily 100 Credits Were Missing; app.asar Shows a Server Flag Was the Real Gate

By 隐形蓝海 ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

Users chasing Qoder CN's daily 100 Credits can waste a day on reinstalls when the actual gate is a server-side campaign flag that no local action can flip. The sensible response is to file feedback with logs or, for new accounts, wait for the next daily refresh; the docs conflict about QoderWork CN only adds to the confusion.

Summary

Qoder CN's daily 100 Credits are supposed to be claimable from the desktop client through a 'gift icon' in the usage panel. In stable build 0.4.11, that entry is actually labeled 'Benefits Center' (权益中心), and it is grayed out unless the server returns `hasClaimableCampaign: true`. The flag is not a local preference; it is fetched from an authenticated endpoint, which is why reinstalling or editing the client cannot bring back the claim button. The same app.asar strings show the client knows whether a campaign exists: the usage icon swaps between 'view my usage' and 'view my usage, there is a benefits campaign to claim'.

The campaign rules add their own constraints: the window is 10:00 Beijing time to 10:00 the next day, missed claims don't roll over, and each 100 Credits is separately valid for 30 days. Free, trial, and paid individual plans are eligible; enterprise subscriptions are not. Claiming is desktop-only, and the activity page lists eight products that accept the Credits while leaving out QoderWork CN, even though QoderWork CN's own documentation says Credits and plan benefits are shared across all Qoder products.

In the reported case, the gray cleared on its own the next day, and the only timeline variable was account creation the day before. The practical takeaway: fully restart the client, sign in with a personal account, or file feedback with logs, and for a brand-new account, wait for the next daily cycle before assuming something is broken.

Takeaways
— Qoder CN version 0.4.11, built Oct 23, 2026, labels the documented 'gift icon' as 'Benefits Center' (权益中心) in the desktop UI.
— The Benefits Center menu is disabled when the server returns hasClaimableCampaign: false.
— hasClaimableCampaign is fetched from an authenticated server endpoint and cannot be changed by modifying local files.
— The usage panel icon switches between two tooltips: 'view my usage' normally, and 'view my usage, there is a benefits campaign to claim' when something is available.
— Daily claims open at 10:00 Beijing time and close at 10:00 the next day; missed credits do not roll over.
— Each 100 Credits claim is valid for 30 days independently; a later claim does not extend an earlier one.
— Eligible accounts include Experience, Pro, Advanced, Flagship, membership card, Free, and Trial; enterprise subscriptions are excluded.
— Claiming runs only in the desktop client; web, mobile, IDE, and CLI have no entry.
— The activity page says claimed Credits work in eight Qoder products, but not QoderWork CN; QoderWork CN's own docs say Credits are shared across all Qoder products.
— For a newly registered account, the grayed-out state may clear on the next day; reinstalling will not help.
— Feedback can be filed from the ? button in the main window, which attaches logs from %APPDATA%\com.qodercn.app.stable\logs\.
Conclusions

Searching app.asar shows the client already knows whether a campaign is claimable; a user seeing only 'view my usage' isn't missing a hidden icon, the server simply hasn't enabled it for that account.

A brand-new account can go from grayed out on registration day to claimable the next day, which points to campaign eligibility lagging account creation, even for accounts that match the published rules.

Two official Qoder pages contradict each other on whether activity Credits work in QoderWork CN; doc drift like this turns a simple claim flow into a support ticket.

Electron's app.asar can be searched as plaintext, so UI labels and state flags are auditable without decompiling; that's a useful trick for diagnosing any client-side promotion UI.

Concepts & terms
app.asar
Electron's archive format for packaged application files. Because its contents are stored as plaintext, strings can be searched directly with grep, which is how the Qoder CN UI labels and campaign state fields were found without unpacking.
hasClaimableCampaign
A Boolean field returned by Qoder CN's server for an authenticated account. When it is false, the Benefits Center menu stays disabled, no campaign popup is shown, and local client edits cannot change it.
build-manifest.json
A JSON file inside an Electron app's resources directory that records productVersion, releaseChannel, and buildTime, used to check whether an installed build matches the expected stable release.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗