fix: 업데이트된 타임스탬프 및 파일 경로 수정, Gokapi API 키 설정 변경

This commit is contained in:
9700X_PC 2026-05-18 21:01:28 +09:00
parent 4e90702747
commit f2eecdf5ae
4 changed files with 40 additions and 16 deletions

View File

@ -1,6 +1,6 @@
{
"version": "2.0",
"lastUpdated": "2026-05-18T11:21:21.956Z",
"lastUpdated": "2026-05-18T12:00:09.507Z",
"activeFeatures": [
"react",
"website-main",
@ -493,9 +493,9 @@
"documents": {},
"timestamps": {
"started": "2026-05-14T04:37:42.628Z",
"lastUpdated": "2026-05-18T11:21:21.956Z"
"lastUpdated": "2026-05-18T12:00:09.507Z"
},
"lastFile": "d:\\py\\AutoPercenty3_311\\signup_dialog.py"
"lastFile": "d:\\py\\AutoPercenty3_311\\generate_iss.py"
},
"img_module": {
"phase": "do",
@ -535,7 +535,7 @@
"session": {
"startedAt": "2026-03-23T08:00:00.000Z",
"onboardingCompleted": true,
"lastActivity": "2026-05-18T11:21:21.956Z"
"lastActivity": "2026-05-18T12:00:09.507Z"
},
"history": [
{
@ -1533,6 +1533,30 @@
"feature": "AutoPercenty3_311",
"phase": "do",
"action": "updated"
},
{
"timestamp": "2026-05-18T11:58:30.088Z",
"feature": "AutoPercenty3_311",
"phase": "do",
"action": "updated"
},
{
"timestamp": "2026-05-18T12:00:07.292Z",
"feature": "AutoPercenty3_311",
"phase": "do",
"action": "updated"
},
{
"timestamp": "2026-05-18T12:00:08.397Z",
"feature": "AutoPercenty3_311",
"phase": "do",
"action": "updated"
},
{
"timestamp": "2026-05-18T12:00:09.507Z",
"feature": "AutoPercenty3_311",
"phase": "do",
"action": "updated"
}
]
}

View File

@ -82,8 +82,8 @@ CloseApplications=yes
RestartApplications=no
; 보안 호환성 설정
ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode=x64
ArchitecturesAllowed=x64compatible
ArchitecturesInstallIn64BitMode=x64compatible
AllowNoIcons=yes
; 버전 정보
@ -181,7 +181,7 @@ begin
if FindRec.Attributes and FILE_ATTRIBUTE_DIRECTORY = 0 then
begin
if FileCopy(SourceFilePath, DestFilePath, False) then
if CopyFile(SourceFilePath, DestFilePath, False) then
Log('파일 복사 성공: ' + SourceFilePath + ' -> ' + DestFilePath)
else
Log('파일 복사 실패: ' + SourceFilePath);
@ -285,7 +285,6 @@ var
NewVersion: String;
OldAppPath: String;
UserDataSourcePath, UserDataBackupPath: String;
LibSrcPath: String;
ResultCode: Integer;
begin
Result := True;

View File

@ -29,7 +29,7 @@ from updateManager.__version__ import (
# [Configuration] 0. Gokapi 서버 설정 (업로드를 위해 필수)
# ============================================================================
GOKAPI_URL = "https://go.wrmc.cc" # 사용자님의 Gokapi 주소로 변경하세요
GOKAPI_APIKEY = "Pncy6s7pyi61rtUsV3kUwfPtOvU93I " # Gokapi 관리자 페이지에서 발급받은 API 키
GOKAPI_APIKEY = "Pncy6s7pyi61rtUsV3kUwfPtOvU93I" # Gokapi 관리자 페이지에서 발급받은 API 키
# ============================================================================
# [Configuration] 설정 및 상수 정의
@ -544,18 +544,18 @@ class CustomBuildExe(_build_exe):
return
try:
url = f"{GOKAPI_URL}/api/v1/upload"
url = f"{GOKAPI_URL}/api/files/add"
headers = {
"Authorization": f"Bearer {GOKAPI_APIKEY}"
"apikey": GOKAPI_APIKEY
}
with open(file_path, "rb") as f:
# 멀티파트 업로드
files = {"file": (os.path.basename(file_path), f)}
# 멀티파트 업로드 (Content-Type 명시 필요)
files = {"file": (os.path.basename(file_path), f, "application/octet-stream")}
data = {
"expire": 0 # ✅ 영구 저장
} # 만료일 설정 (예: 0=무제한, 7d=7일) - 필요시 data={'expiry': '7d'} 추가
"expiryDays": 0 # ✅ 영구 저장
}
response = requests.post(
url,

1
test_upload.txt Normal file
View File

@ -0,0 +1 @@
test