Merge branch 'develop' into release

This commit is contained in:
2026-07-06 09:30:28 +09:00
6 changed files with 18 additions and 41 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "autonomy-studio-launcher",
"version": "1.0.0",
"version": "1.0.12",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "autonomy-studio-launcher",
"version": "1.0.0",
"version": "1.0.12",
"hasInstallScript": true,
"dependencies": {
"@electron-toolkit/preload": "^3.0.1",
+4 -2
View File
@@ -1,6 +1,6 @@
{
"name": "autonomy-studio-launcher",
"version": "1.0.10",
"version": "1.0.11",
"description": "Autonomy Studio v2 Frontend",
"main": "./out/main/index.js",
"author": {
@@ -31,7 +31,9 @@
"output": "dist"
},
"linux": {
"target": ["deb"],
"target": [
"deb"
],
"icon": "resources/icons",
"category": "Development"
},
+5
View File
@@ -32,6 +32,11 @@ function App(): React.JSX.Element {
}, [])
const handleLogout = useCallback((): void => {
void fetch(`${LAUNCHER_API_BASE_URL}/api/auth/logout`, {
method: 'POST',
credentials: 'include',
keepalive: true,
}).catch(() => undefined)
window.launcherTailscale?.logout().catch(() => undefined)
window.localStorage.removeItem(AUTH_SESSION_KEY)
window.sessionStorage.removeItem(AUTH_SESSION_KEY)
+1 -13
View File
@@ -619,16 +619,6 @@ body,
}
.login-version-wrap {
position: absolute;
right: 24px;
bottom: 16px;
z-index: 5;
display: flex;
align-items: center;
gap: 10px;
}
.launcher-version-wrap {
position: absolute;
left: 24px;
bottom: 16px;
@@ -645,7 +635,7 @@ body,
z-index: 5;
display: flex;
align-items: center;
max-width: min(360px, 42vw);
max-width: min(180px, 28vw);
}
.app-version-wrap .version-label {
@@ -657,8 +647,6 @@ body,
.launcher-update-text {
display: inline-flex;
align-items: center;
position: relative;
top: -2px;
height: 16px;
padding: 0;
border: 0;
+1 -2
View File
@@ -326,8 +326,7 @@ function Sidebar({ apps, userName, userEmail, userRole, userCreatedAt, userLastL
</span>
</>
)}
</div>
</div>
</div> </div>
{modal === 'profile' && (
<ProfileModal
+3 -20
View File
@@ -110,7 +110,6 @@ function Dashboard({ authSession, onSessionUpdate, onLogout }: DashboardProps):
const activeAppVersion = activeApp
? activeLocalVersion ?? appStatus?.localVersion ?? appStatus?.latestVersion ?? null
: null
const refreshSession = useCallback(async (): Promise<AuthSession | null> => {
const response = await fetch(`${LAUNCHER_API_BASE_URL}/api/auth/refresh`, {
method: 'POST',
@@ -739,28 +738,12 @@ function Dashboard({ authSession, onSessionUpdate, onLogout }: DashboardProps):
</div>
)}
{!showManual && (
<>
<div className="launcher-version-wrap">
{launcherUpdateAvailable && (
<button
type="button"
className="launcher-update-text"
onClick={() => handleUpdate('launcher', launcherStatus.latestVersion, launcherStatus.downloadUrl)}
disabled={hasAnyUpdatingApp}
>
업데이트
</button>
)}
<div className="version-label">Launcher v{localVersions.launcher ?? version}</div>
</div>
{activeAppVersion && (
{!showManual && activeAppVersion && (
<div className="app-version-wrap">
<div className="version-label">{appConfig?.displayName ?? activeApp} v{activeAppVersion}</div>
<div className="version-label">v{activeAppVersion}</div>
</div>
)}
</>
)}
</main>
</div>
</div>