v1.8.0 #429
22
.github/workflows/electron.yml
vendored
22
.github/workflows/electron.yml
vendored
@@ -152,6 +152,11 @@ jobs:
|
|||||||
node-version: "20"
|
node-version: "20"
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
|
|
||||||
|
- name: Install system dependencies for AppImage
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y libfuse2
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
for i in 1 2 3;
|
for i in 1 2 3;
|
||||||
@@ -169,10 +174,16 @@ jobs:
|
|||||||
npm install --force @rollup/rollup-linux-arm64-gnu
|
npm install --force @rollup/rollup-linux-arm64-gnu
|
||||||
npm install --force @rollup/rollup-linux-arm-gnueabihf
|
npm install --force @rollup/rollup-linux-arm-gnueabihf
|
||||||
|
|
||||||
- name: Build Linux (All Architectures)
|
- name: Build Linux x64
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: npm run build && npx electron-builder --linux --x64 --arm64 --armv7l
|
DEBUG: electron-builder
|
||||||
|
run: npm run build && npx electron-builder --linux --x64
|
||||||
|
|
||||||
|
- name: Build Linux arm64 and armv7l
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: npx electron-builder --linux --arm64 --armv7l
|
||||||
|
|
||||||
- name: Rename Linux artifacts for consistency
|
- name: Rename Linux artifacts for consistency
|
||||||
run: |
|
run: |
|
||||||
@@ -201,6 +212,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
ls -la release/
|
ls -la release/
|
||||||
|
|
||||||
|
- name: Debug electron-builder output
|
||||||
|
if: always()
|
||||||
|
run: |
|
||||||
|
if [ -f "release/builder-debug.yml" ]; then
|
||||||
|
cat release/builder-debug.yml
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Upload Linux x64 AppImage
|
- name: Upload Linux x64 AppImage
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
if: hashFiles('release/termix_linux_x64_appimage.AppImage') != '' && github.event.inputs.artifact_destination != 'none'
|
if: hashFiles('release/termix_linux_x64_appimage.AppImage') != '' && github.event.inputs.artifact_destination != 'none'
|
||||||
|
|||||||
@@ -617,7 +617,7 @@ export function Auth({
|
|||||||
checkServerConfig();
|
checkServerConfig();
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
if (showServerConfig === null) {
|
if (showServerConfig === null && !isInElectronWebView()) {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={`w-[420px] max-w-full p-6 flex flex-col bg-dark-bg border-2 border-dark-border rounded-md overflow-y-auto my-2 ${className || ""}`}
|
className={`w-[420px] max-w-full p-6 flex flex-col bg-dark-bg border-2 border-dark-border rounded-md overflow-y-auto my-2 ${className || ""}`}
|
||||||
@@ -631,7 +631,7 @@ export function Auth({
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (showServerConfig) {
|
if (showServerConfig && !isInElectronWebView()) {
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={`w-[420px] max-w-full p-6 flex flex-col bg-dark-bg border-2 border-dark-border rounded-md overflow-y-auto my-2 ${className || ""}`}
|
className={`w-[420px] max-w-full p-6 flex flex-col bg-dark-bg border-2 border-dark-border rounded-md overflow-y-auto my-2 ${className || ""}`}
|
||||||
|
|||||||
Reference in New Issue
Block a user