Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e24f1f0802 | |||
| fcc9df0d34 |
@@ -395,13 +395,20 @@ jobs:
|
|||||||
if: needs.resolve.outputs.build_win == 'true'
|
if: needs.resolve.outputs.build_win == 'true'
|
||||||
run: |
|
run: |
|
||||||
set -eu
|
set -eu
|
||||||
if command -v wine >/dev/null 2>&1; then
|
if command -v wine >/dev/null 2>&1 && command -v xvfb-run >/dev/null 2>&1; then
|
||||||
wine --version
|
wine --version
|
||||||
exit 0
|
if dpkg --print-foreign-architectures | grep -qx i386 && dpkg -s wine32:i386 >/dev/null 2>&1; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dpkg --add-architecture i386
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y --no-install-recommends wine64 wine
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||||
|
wine \
|
||||||
|
wine64 \
|
||||||
|
wine32:i386 \
|
||||||
|
xvfb
|
||||||
wine --version
|
wine --version
|
||||||
|
|
||||||
- name: Build unsigned desktop packages
|
- name: Build unsigned desktop packages
|
||||||
@@ -421,7 +428,8 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${BUILD_WIN}" = "true" ]; then
|
if [ "${BUILD_WIN}" = "true" ]; then
|
||||||
pnpm exec electron-builder --win zip ${WIN_ARCH_FLAGS} --publish never -c.win.target=zip -c.extraMetadata.version="${CLIENT_VERSION}"
|
xvfb-run -a --server-args="-screen 0 1024x768x24" \
|
||||||
|
pnpm exec electron-builder --win zip ${WIN_ARCH_FLAGS} --publish never -c.win.target=zip -c.extraMetadata.version="${CLIENT_VERSION}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Collect desktop artifacts
|
- name: Collect desktop artifacts
|
||||||
|
|||||||
@@ -756,7 +756,9 @@ const tableColumns = [
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 32px;
|
gap: 32px;
|
||||||
padding-bottom: 40px;
|
padding-bottom: 40px;
|
||||||
max-width: 1400px;
|
width: 100%;
|
||||||
|
max-width: none;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 顶部信息区 */
|
/* 顶部信息区 */
|
||||||
|
|||||||
@@ -545,7 +545,9 @@ async function unbindPlatform(account: AccountRow) {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 32px;
|
gap: 32px;
|
||||||
padding-bottom: 40px;
|
padding-bottom: 40px;
|
||||||
max-width: 1400px;
|
width: 100%;
|
||||||
|
max-width: none;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hero Section */
|
/* Hero Section */
|
||||||
|
|||||||
@@ -270,7 +270,9 @@ const issueItems = computed<RuntimeIssueItem[]>(() => {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 24px;
|
gap: 24px;
|
||||||
padding-bottom: 40px;
|
padding-bottom: 40px;
|
||||||
max-width: 1400px;
|
width: 100%;
|
||||||
|
max-width: none;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Metrics Top Grid */
|
/* Metrics Top Grid */
|
||||||
|
|||||||
@@ -894,7 +894,9 @@ const tableScroll = { x: 1080 } as const
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 32px;
|
gap: 32px;
|
||||||
padding-bottom: 40px;
|
padding-bottom: 40px;
|
||||||
max-width: 1400px;
|
width: 100%;
|
||||||
|
max-width: none;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hero Section (aligned with AccountsView) */
|
/* Hero Section (aligned with AccountsView) */
|
||||||
|
|||||||
@@ -53,7 +53,6 @@ const subsystemEntries = computed(() =>
|
|||||||
})),
|
})),
|
||||||
)
|
)
|
||||||
|
|
||||||
const clientCount = computed(() => snapshot.value?.summary.onlineClients ?? 0)
|
|
||||||
const appVersion = computed(() => snapshot.value?.app.version ?? '0.1.0')
|
const appVersion = computed(() => snapshot.value?.app.version ?? '0.1.0')
|
||||||
const hasServerSettingChanged = computed(
|
const hasServerSettingChanged = computed(
|
||||||
() => normalizeServerURLInput(serverBaseURL.value) !== apiBaseURL.value,
|
() => normalizeServerURLInput(serverBaseURL.value) !== apiBaseURL.value,
|
||||||
@@ -177,9 +176,6 @@ watch(apiBaseURL, (next) => {
|
|||||||
>
|
>
|
||||||
<component :is="item.icon" class="settings-nav__icon" />
|
<component :is="item.icon" class="settings-nav__icon" />
|
||||||
<span>{{ item.title }}</span>
|
<span>{{ item.title }}</span>
|
||||||
<span v-if="item.key === 'diagnostics' && clientCount > 0" class="settings-nav__badge">
|
|
||||||
{{ clientCount }}
|
|
||||||
</span>
|
|
||||||
</button>
|
</button>
|
||||||
</nav>
|
</nav>
|
||||||
</aside>
|
</aside>
|
||||||
@@ -379,21 +375,6 @@ watch(apiBaseURL, (next) => {
|
|||||||
color: #080808;
|
color: #080808;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-nav__badge {
|
|
||||||
margin-left: auto;
|
|
||||||
display: inline-flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
min-width: 22px;
|
|
||||||
height: 22px;
|
|
||||||
padding: 0 7px;
|
|
||||||
border-radius: 11px;
|
|
||||||
background: #c4c4ca;
|
|
||||||
color: #111111;
|
|
||||||
font-size: 12px;
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
|
|
||||||
.settings-main {
|
.settings-main {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user