Skip to content

Commit

Permalink
v1.0.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
steve02081504 committed May 5, 2022
1 parent 76d456b commit 282cc2f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CheckUpdate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ wstring LoadStringFromResource(

//check update at https://github.com/nikolat/tama/releases with windows api
//if has update,open https://github.com/nikolat/tama/releases/latest
#define VERSION_STRING u8"v1.0.3.2"
#define VERSION_STRING u8"v1.0.3.3"
void CheckUpdate() {
#ifndef _DEBUG
u8string tagname;
Expand Down
4 changes: 3 additions & 1 deletion tama.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,10 @@ int APIENTRY WinMain(
On_tamaOpen(hWnd, ghost_path);
if(tamamode == specified_ghost) {
bool has_log = GetWindowTextLength(hEdit);
if(!has_log)
if(!has_log) {
SetWindowTextW(hEdit, LoadStringFromResource(IDS_EVENT_DEF_REMINDER).c_str());
allow_file_drug = 1;
}

ghost_status_watcher = SetTimer(hWnd, IDT_CHOST_STATUS_WATCHER, 7000, (TIMERPROC)NULL); // 7-second interval & no timer callback
}
Expand Down
Binary file modified tama.rc
Binary file not shown.

0 comments on commit 282cc2f

Please sign in to comment.