opt(build): strip foreign platform ArgyllCMS binaries in CI packaging (v0.1.9) #53
@@ -80,6 +80,11 @@ jobs:
|
|||||||
echo "APP_VERSION=${VERSION}-dev" >> $GITHUB_ENV
|
echo "APP_VERSION=${VERSION}-dev" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Prepare platform-specific resources
|
||||||
|
run: |
|
||||||
|
echo "Removing Windows ArgyllCMS binaries to avoid bundling them in Linux packages..."
|
||||||
|
rm -rf src-tauri/argyll/windows-x86_64
|
||||||
|
|
||||||
- name: Build Tauri App
|
- name: Build Tauri App
|
||||||
env:
|
env:
|
||||||
APPIMAGE_EXTRACT_AND_RUN: 1
|
APPIMAGE_EXTRACT_AND_RUN: 1
|
||||||
|
|||||||
@@ -64,6 +64,14 @@ jobs:
|
|||||||
"APP_VERSION=$VERSION-dev" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
"APP_VERSION=$VERSION-dev" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- name: Prepare platform-specific resources
|
||||||
|
shell: powershell
|
||||||
|
run: |
|
||||||
|
if (Test-Path "src-tauri\argyll\linux-x86_64") {
|
||||||
|
Write-Host "Removing Linux ArgyllCMS binaries to avoid bundling them in Windows installer..."
|
||||||
|
Remove-Item -Recurse -Force "src-tauri\argyll\linux-x86_64"
|
||||||
|
}
|
||||||
|
|
||||||
- name: Build Tauri App
|
- name: Build Tauri App
|
||||||
run: npm run tauri build -- -v
|
run: npm run tauri build -- -v
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "iccery",
|
"name": "iccery",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.1.8",
|
"version": "0.1.9",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"tauri": "tauri"
|
"tauri": "tauri"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "iccery"
|
name = "iccery"
|
||||||
version = "0.1.8"
|
version = "0.1.9"
|
||||||
description = "A Tauri App"
|
description = "A Tauri App"
|
||||||
authors = ["you"]
|
authors = ["you"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://schema.tauri.app/config/2",
|
"$schema": "https://schema.tauri.app/config/2",
|
||||||
"productName": "ICCery",
|
"productName": "ICCery",
|
||||||
"version": "0.1.8",
|
"version": "0.1.9",
|
||||||
"identifier": "com.gronod.iccery",
|
"identifier": "com.gronod.iccery",
|
||||||
"build": {
|
"build": {
|
||||||
"frontendDist": "../src"
|
"frontendDist": "../src"
|
||||||
|
|||||||
Reference in New Issue
Block a user