12 Commits

Author SHA1 Message Date
Tickbase
a6f21c34b1 Update README.md 2025-09-10 03:22:53 +02:00
Novattz
a2d5a38f68 bruh x2 2025-09-10 03:01:17 +02:00
Novattz
ec95d8e975 bruh 2025-09-10 02:41:58 +02:00
Novattz
cd80e81d0b plugin fix 2025-09-10 02:31:57 +02:00
Novattz
2324afaa50 key fix 2025-09-10 02:18:49 +02:00
Novattz
68a458e612 fix 2025-09-10 02:07:38 +02:00
Novattz
5a6ec9e6cf test 2025-09-10 01:59:59 +02:00
Novattz
2c0e67eaf3 im ret 2025-09-10 01:49:46 +02:00
Novattz
039d0702c7 workflows 2025-09-10 01:47:09 +02:00
Novattz
37f872c6bd workflows 2025-09-10 01:45:29 +02:00
Novattz
2ad81160ba workflows 2025-09-10 01:44:26 +02:00
Tickbase
caae074587 Update bug_report.md 2025-08-14 07:18:20 +02:00
7 changed files with 109 additions and 18 deletions

View File

@@ -31,6 +31,7 @@ If applicable, add screenshots to help explain your problem.
- Desktop Environment: [e.g. GNOME, KDE, etc.]
- CreamLinux Version: [e.g. 0.1.0]
- Steam Version: [e.g. latest]
- Graphics card: [e.g. 2060 rtx]
## Game Information

104
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,104 @@
name: 'Build CreamLinux'
on:
push:
branches: [main, master, develop]
pull_request:
branches: [main, master, develop]
workflow_dispatch: # Allows manual triggering
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- platform: 'ubuntu-22.04' # Stable Debian-based release
args: ''
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'npm'
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Rust cache
uses: swatinem/rust-cache@v2
with:
workspaces: './src-tauri -> target'
- name: Install system dependencies (Ubuntu)
run: |
sudo apt-get update
sudo apt-get install -y \
libwebkit2gtk-4.1-dev \
libayatana-appindicator3-dev \
librsvg2-dev \
patchelf \
build-essential \
curl \
wget \
file \
libssl-dev \
libgtk-3-dev
- name: Install frontend dependencies
run: npm ci
- name: Build Tauri app
uses: tauri-apps/tauri-action@v0
# env:
# No GITHUB_TOKEN since we're not creating releases
# TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
# TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
with:
# Build configuration
projectPath: '.'
includeDebug: false
includeRelease: true
includeUpdaterJson: false
tauriScript: 'npm run tauri'
args: ${{ matrix.args }}
# No release configuration - just build artifacts
# Omitting tagName, releaseName, and releaseId means no release creation
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: creamlinux-ubuntu-20.04-artifacts
path: |
src-tauri/target/release/bundle/
src-tauri/target/release/creamlinux
src-tauri/target/release/creamlinux.exe
retention-days: 30
if-no-files-found: warn
- name: Upload AppImage (if exists)
uses: actions/upload-artifact@v4
with:
name: creamlinux-appimage
path: |
src-tauri/target/release/bundle/appimage/*.AppImage
retention-days: 30
if-no-files-found: ignore
- name: Upload DEB package (if exists)
uses: actions/upload-artifact@v4
with:
name: creamlinux-deb
path: |
src-tauri/target/release/bundle/deb/*.deb
retention-days: 30
if-no-files-found: ignore

View File

@@ -52,7 +52,7 @@ While the core functionality is working, please be aware that this is an early r
- Rust 1.77.2 or later
- Node.js 18 or later
- webkit2gtk-4.1
- webkit2gtk-4.1 (libwebkit2gtk-4.1 for debian)
- npm or yarn
#### Steps

View File

@@ -36,4 +36,4 @@ tauri-plugin-process = "2"
custom-protocol = ["tauri/custom-protocol"]
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
tauri-plugin-updater = "2"
# tauri-plugin-updater = "2"

View File

@@ -9,6 +9,5 @@
"main"
],
"permissions": [
"updater:default"
]
}

View File

@@ -513,7 +513,7 @@ fn main() {
tauri::Builder::default()
.plugin(tauri_plugin_process::init())
.plugin(tauri_plugin_updater::Builder::new().build())
// .plugin(tauri_plugin_updater::Builder::new().build())
.plugin(tauri_plugin_shell::init())
.plugin(tauri_plugin_dialog::init())
.plugin(tauri_plugin_fs::init())

View File

@@ -10,25 +10,12 @@
"active": true,
"targets": "all",
"category": "Utility",
"createUpdaterArtifacts": true,
"icon": ["icons/128x128.png", "icons/128x128@2x.png", "icons/icon.png"],
"resources": ["resources/libs/*"]
"icon": ["icons/128x128.png", "icons/128x128@2x.png", "icons/icon.png"]
},
"productName": "Creamlinux",
"mainBinaryName": "creamlinux",
"version": "1.0.2",
"identifier": "com.creamlinux.dev",
"plugins": {
"updater": {
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDJDNEI1NzBBRDUxODQ3RjEKUldUeFJ4alZDbGRMTE5Vc241NG5yL080UklnaW1iUGdUWElPRXloRGtKZ3M2SWkzK0RGSDh3Q2kK",
"endpoints": [
"https://github.com/Novattz/creamlinux-installer/releases/latest/download/latest.json"
],
"windows": {
"installMode": "passive"
}
}
},
"app": {
"withGlobalTauri": false,
"windows": [