build: Added explicit bun version and fixed package script name casing
This commit is contained in:
parent
3e5881300f
commit
43afd6256e
3 changed files with 8 additions and 6 deletions
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: 'true' # Optional; should be the default
|
||||
persist-credentials: "true" # Optional; should be the default
|
||||
|
||||
- name: Checkout lfs
|
||||
run: |
|
||||
|
|
@ -53,7 +53,7 @@ jobs:
|
|||
run: sudo apt-get update && sudo apt-get install -y p7zip-full
|
||||
|
||||
- name: Build Canary
|
||||
run: bun run package:linux
|
||||
run: bun run package:Linux
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
"type": "git",
|
||||
"url": "https://github.com/simeonradivoev/gameflow-deck"
|
||||
},
|
||||
"packageManager": "bun@1.3.9",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "NODE_ENV=development bun run build:vite && WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS='--remote-debugging-port=9222' bun run ./scripts/dev.ts",
|
||||
|
|
@ -35,8 +36,8 @@
|
|||
"build:prod:appimage": "bun run build:prod && bun run ./scripts/build-appimage.ts",
|
||||
"build:dev:appimage": "bun run build && bun run ./scripts/build-appimage.ts",
|
||||
"version:generate": "standard-version --sign",
|
||||
"package:linux": "bun run build:prod:appimage",
|
||||
"package:windows": "bun run build:prod"
|
||||
"package:Linux": "bun run build:prod:appimage",
|
||||
"package:Windows": "bun run build:prod"
|
||||
},
|
||||
"dependencies": {
|
||||
"@auth/core": "^0.34.3",
|
||||
|
|
@ -110,4 +111,4 @@
|
|||
"vite-static-assets-plugin": "^1.2.2",
|
||||
"vite-tsconfig-paths": "^6.1.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -9,7 +9,8 @@ import { rmdir } from "node:fs";
|
|||
// ─────────────────────────────────────────────
|
||||
// CONFIGURE THESE FOR YOUR APP
|
||||
// ─────────────────────────────────────────────
|
||||
const APP_DIR = "./build/linux";
|
||||
const BUILD_DIR = process.env.BUILD_DIR ?? process.platform;
|
||||
const APP_DIR = `./build/${BUILD_DIR}`;
|
||||
const BINARY_NAME = pkg.bin;
|
||||
const ICON = "./src/mainview/assets/256x256.png";
|
||||
const DESKTOP = "./flatpak/com.simeonradivoev.gameflow-deck.desktop";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue